|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentRootsActions
Provides contentRoot specific actions.
Method Summary | |
---|---|
java.lang.String |
cancel()
|
void |
destroy()
|
java.lang.String |
display()
|
java.lang.String |
editWorkspace()
Called when user wants to edit a selected document. |
boolean |
getAdministrator()
|
java.lang.Boolean |
getCanAddWorkspaces()
Indicates if the current user can create a workspace. |
java.util.List<DocumentModel> |
getContentRootDocuments()
|
void |
getSections()
Gets the sections contained in the selected domain. |
DocModelTableModel |
getSectionsTableModel()
|
void |
getWorkspaces()
Gets the workspaces contained in the selected domain. |
DocModelTableModel |
getWorkspacesTableModel()
|
void |
initialize()
|
DocModelTableModel |
reconstructSectionsTableModel()
|
DocModelTableModel |
reconstructWorkspacesTableModel()
|
void |
resetContentRootDocuments()
When the user selects other domains then we nullify the list of content root documents so that the factory method gets called when the list is used. |
void |
resetTableModel()
When the user selects other content root documents/domains then we nullify the list of workspace type documents so that the factory method gets called when the list is used. |
void |
selectAllRows(boolean checked)
|
java.lang.String |
selectSection()
Called when a section DocumentModel is selected. |
java.lang.String |
selectWorkspace()
Called when a workspace DocumentModel is selected. |
java.lang.String |
updateWorkspace()
Called when the user finishes editing. |
Methods inherited from interface org.nuxeo.ecm.webapp.base.StatefulBaseLifeCycle |
---|
readState, saveState |
Method Detail |
---|
void initialize()
@Destroy void destroy()
java.lang.String display()
java.lang.String selectWorkspace() throws ClientException
DocumentModel
is selected. It saves the
selected info on the context.
ClientException
java.lang.String selectSection() throws ClientException
DocumentModel
is selected. It saves the
selected info on the context.
ClientException
java.lang.String editWorkspace() throws ClientException
ClientException
java.lang.String updateWorkspace() throws ClientException
ClientException
void getWorkspaces() throws ClientException
ClientException
void getSections() throws ClientException
ClientException
java.util.List<DocumentModel> getContentRootDocuments() throws ClientException
ClientException
java.lang.Boolean getCanAddWorkspaces() throws ClientException
ClientException
void resetTableModel()
This way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.
void resetContentRootDocuments()
This way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.
java.lang.String cancel()
DocModelTableModel getWorkspacesTableModel() throws ClientException
ClientException
DocModelTableModel getSectionsTableModel() throws ClientException
ClientException
DocModelTableModel reconstructWorkspacesTableModel() throws ClientException
ClientException
DocModelTableModel reconstructSectionsTableModel() throws ClientException
ClientException
boolean getAdministrator()
@WebRemote void selectAllRows(boolean checked) throws ClientException
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |