|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FileDefinition
Base interface of all classes that map a deployable Business Process Archive. It was created to facilitate the support of other archive types in the Bonita Service implementation. For instance, it is possible to create an archive that stores the process definition as a single executable java class. Created by Bull R&D
| Method Summary | |
|---|---|
void |
deploy()
Deploys the process contained by this file definition |
java.lang.String |
getCustomizedView(java.lang.String stateName)
Retrieves the Customized View name of a Form corresponding to a State name |
java.util.Hashtable<java.lang.String,byte[]> |
getEntries()
Retrieves all entries as a hastable |
byte[] |
getEntry(java.lang.String path)
Retrieve the contents of an entry contained by this file definition |
java.lang.String |
getProcessModelName()
Retrieves the name of the Process model defined by the XPDL definition |
java.util.ResourceBundle |
getResourceBundle(java.lang.String stateName,
java.util.Locale locale)
Retrieves the Resource Bundle corresponding to a Form and a Locale. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getVariables(java.lang.String stateName)
Retrieves the variables definition of a Form corresponding to a State name. |
boolean |
isDelegatedView(java.lang.String stateName)
Determines if the Form corresponding to a State name is a delegated view |
boolean |
isFormDefined(java.lang.String stateName)
Indicates if a Form is explicitly defined in forms.xml |
| Method Detail |
|---|
void deploy()
throws java.lang.Exception
java.lang.Exception - if a problem occuredjava.lang.String getCustomizedView(java.lang.String stateName)
stateName - identifies the Form
java.util.Hashtable<java.lang.String,byte[]> getEntries()
byte[] getEntry(java.lang.String path)
throws java.lang.Exception
path - location of the entry in the file definition
java.lang.Exception - if the specified entry is not foundjava.lang.String getProcessModelName()
java.util.ResourceBundle getResourceBundle(java.lang.String stateName,
java.util.Locale locale)
stateName - identifies the Form
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getVariables(java.lang.String stateName)
stateName - identifies the Form
boolean isDelegatedView(java.lang.String stateName)
stateName - identifies the Form
boolean isFormDefined(java.lang.String stateName)
stateName - identifies the Form
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||