|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.model.PresentationImpl
public class PresentationImpl
Class implementing the representation of the <presentation> element of a Process Model.
Constructor Summary | |
---|---|
PresentationImpl()
Constructor |
Method Summary | |
---|---|
void |
addColumns(Columns columns)
Add an column to the collection |
void |
addTitle(ContextualDesignation title)
Add a title Method needed primarily by Castor |
Columns |
createColumns()
Create an Column |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
void |
deleteColumns(String strRoleName)
Delete the Columns object with the given name |
Column[] |
getColumns(String strRoleName)
Get the contents of the Columns object with the given role name, or of the 'Columns' for the default role if nothing for the specified role can be found. |
Columns |
getColumnsByRole(String strRoleName)
Get the Columns object referenced by the given role name |
String |
getTitle(String role,
String language)
Get title in specific language for the given role |
ContextualDesignations |
getTitles()
Get all the titles |
Iterator<Columns> |
iterateColumns()
Iterate through the Column objects |
Iterator<ContextualDesignation> |
iterateTitle()
Iterate through the titles |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresentationImpl()
Method Detail |
---|
public ContextualDesignations getTitles()
Presentation
getTitles
in interface Presentation
public String getTitle(String role, String language)
Presentation
getTitle
in interface Presentation
role
- role for which the title is
public void addTitle(ContextualDesignation title)
Presentation
addTitle
in interface Presentation
public Iterator<ContextualDesignation> iterateTitle()
Presentation
iterateTitle
in interface Presentation
public ContextualDesignation createDesignation()
Presentation
createDesignation
in interface Presentation
public Column[] getColumns(String strRoleName)
getColumns
in interface Presentation
the
- name of the role
public Columns getColumnsByRole(String strRoleName)
Presentation
getColumnsByRole
in interface Presentation
strRoleName
- the name of the Columns object
public Columns createColumns()
Presentation
createColumns
in interface Presentation
public void addColumns(Columns columns)
Presentation
addColumns
in interface Presentation
public Iterator<Columns> iterateColumns()
Presentation
iterateColumns
in interface Presentation
public void deleteColumns(String strRoleName) throws WorkflowException
Presentation
deleteColumns
in interface Presentation
strRoleName
- the name of the Columns object (a role name)
WorkflowException
- when the Columns for the given name have not been found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |