biz.onixs.fix.fastnew
Interface TemplateLibrary


public interface TemplateLibrary

Template library.


Method Summary
 void add(Template template)
          Adds template to library.
 TemplateLibrary copy()
           
 Template getById(int id)
          Returns template from the library by its id.
 Template getByMsgType(String msgType)
          Returns template with the specified message type and max id.
 int getTemplateNumber()
           
 

Method Detail

add

void add(Template template)
Adds template to library.

Parameters:
template - template to add

getById

Template getById(int id)
Returns template from the library by its id.

Parameters:
id - template id
Returns:
template with the id specified, null if not found

copy

TemplateLibrary copy()

getTemplateNumber

int getTemplateNumber()

getByMsgType

Template getByMsgType(String msgType)
Returns template with the specified message type and max id.

Parameters:
msgType - message type
Returns:
template with the specified message type and max id, null if not found


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.