|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArchiveManagerActions
Archive manager actions business interface.
| Method Summary | |
|---|---|
String |
addArchiveRecord()
Adds a new archive record. |
String |
cancel()
Cancels the process of adding or editing an archive record. |
void |
computeArchiveRecords()
Computes all archive records. |
String |
deleteArchiveRecord()
Deletes an archive record. |
void |
destroy()
|
String |
editArchiveRecord()
Edits an archive record. |
String |
getCommandName1()
Sets the first button command name from the page used to add/edit an archive record. |
String |
getCommandName2()
Sets the second button command name from the page used to add/edit an archive record. |
List<SelectItem> |
getDocumentVersions()
Returns a list of SelectItems with the versions of the current document. |
boolean |
getEditable()
Checks if the page used to add/edit an archive record is editable. |
boolean |
getRequired()
This method is used to mark the fields that are required to be given a value when an archive record is created.This method is mostly used in the xhtml for an archive record. |
ArchiveRecord |
getSelectedArchiveRecord()
Returns the archive record to add/edit. |
boolean |
getShowCreateForm()
Tells if the "add new archive" record button should appear or not. |
String |
getStyle()
Returns the style of the components that appear in the add/edit archive record page. |
void |
invalidateArchiveRecords()
Invalidates archive records. |
void |
setCommandName1(String commandName)
Sets the first command button name. |
void |
setCommandName2(String commandName)
Sets the second command button name. |
void |
setEditable(boolean editable)
Sets the page for add/edit archive record as editable or not. |
void |
setRequired(ActionEvent event)
This method is used when the cancel button on the page that is used to add an archive recod, is clicked.This way the user is not asked to give values for the fields that needs to have a value.The 'event' parameter is introduced in the signature of the method in order to be use this method as an 'actionListener' for the 'h:commandButton' tag |
void |
setSelectedArchiveRecord(ArchiveRecord selectedArchiveRecord)
Sets the archive record to add/edit. |
void |
setStyle(String style)
Sets the style of the components that appear in the add/edit archive record page. |
void |
toggleCreateForm(ActionEvent event)
Used to decide if the add new archive record button should appear or not. |
String |
viewArchiveRecord()
Views an archive record. |
| Method Detail |
|---|
void invalidateArchiveRecords()
throws Exception
Exception
void computeArchiveRecords()
throws Exception
Exception
String addArchiveRecord()
throws Exception
Exception
String editArchiveRecord()
throws Exception
Exception
String viewArchiveRecord()
throws Exception
Exception
String deleteArchiveRecord()
throws Exception
Exceptionvoid toggleCreateForm(ActionEvent event)
boolean getShowCreateForm()
boolean getRequired()
void setRequired(ActionEvent event)
event - @Destroy void destroy()
List<SelectItem> getDocumentVersions()
throws Exception
ExceptionArchiveRecord getSelectedArchiveRecord()
void setSelectedArchiveRecord(ArchiveRecord selectedArchiveRecord)
selectedArchiveRecord -
String cancel()
throws Exception
ExceptionString getCommandName1()
void setCommandName1(String commandName)
commandName - - the name of the command buttonString getCommandName2()
void setCommandName2(String commandName)
commandName - - the name of the command buttonboolean getEditable()
- false otherwise
void setEditable(boolean editable)
editable - - if true then the page is editableString getStyle()
void setStyle(String style)
style - - the style used for the components of the page
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||