|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.webapp.contentbrowser.ContentRootsActionsBean
@Name(value="contentRootsActions") @Scope(value=SESSION) @Deprecated public class ContentRootsActionsBean
Action listener that deals with operations with the content roots of a domain.
| Constructor Summary | |
|---|---|
ContentRootsActionsBean()
Deprecated. |
|
| Method Summary | |
|---|---|
String |
cancel()
Deprecated. |
List<DocumentModel> |
copy()
Deprecated. |
void |
destroy()
Deprecated. |
String |
display()
Deprecated. |
String |
editWorkspace()
Deprecated. Called when user wants to edit a selected document. |
Boolean |
getCanAddWorkspaces()
Deprecated. |
boolean |
getCanCopy()
Deprecated. |
List<DocumentModel> |
getContentRootDocuments()
Deprecated. |
void |
getSections()
Deprecated. Gets the sections contained in the selected domain. |
DocModelTableModel |
getSectionsTableModel()
Deprecated. |
void |
getWorkspaces()
Deprecated. Gets the workspaces contained in the selected domain. |
DocModelTableModel |
getWorkspacesTableModel()
Deprecated. |
void |
initialize()
Deprecated. |
void |
readState()
Deprecated. Activate method. |
DocModelTableModel |
reconstructSectionsTableModel()
Deprecated. |
DocModelTableModel |
reconstructWorkspacesTableModel()
Deprecated. |
void |
removeDocumentFromList(DocumentModel doc)
Deprecated. |
void |
resetContentRootDocuments()
Deprecated. 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()
Deprecated. 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 |
saveState()
Deprecated. Passivate method. |
void |
selectAllRows(boolean checked)
Deprecated. |
String |
selectSection()
Deprecated. Called when a section DocumentModel is selected. |
String |
selectWorkspace()
Deprecated. Called when a workspace DocumentModel is selected. |
String |
updateWorkspace()
Deprecated. Called when the user finishes editing. |
| Methods inherited from class org.nuxeo.ecm.webapp.base.InputController |
|---|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuxeo.ecm.webapp.contentbrowser.ContentRootsActions |
|---|
getAdministrator |
| Constructor Detail |
|---|
public ContentRootsActionsBean()
| Method Detail |
|---|
@Create public void initialize()
initialize in interface ContentRootsActions@Destroy public void destroy()
destroy in interface ContentRootsActionspublic String display()
display in interface ContentRootsActions
public String selectWorkspace()
throws ClientException
ContentRootsActionsDocumentModel is selected. It saves the
selected info on the context.
selectWorkspace in interface ContentRootsActionsClientException
public String selectSection()
throws ClientException
ContentRootsActionsDocumentModel is selected. It saves the
selected info on the context.
selectSection in interface ContentRootsActionsClientException
public String editWorkspace()
throws ClientException
ContentRootsActions
editWorkspace in interface ContentRootsActionsClientException
public String updateWorkspace()
throws ClientException
ContentRootsActions
updateWorkspace in interface ContentRootsActionsClientExceptionpublic void resetTableModel()
ContentRootsActionsThis way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.
resetTableModel in interface ContentRootsActions
public void getWorkspaces()
throws ClientException
ContentRootsActions
getWorkspaces in interface ContentRootsActionsClientException
public void getSections()
throws ClientException
ContentRootsActions
getSections in interface ContentRootsActionsClientExceptionpublic void resetContentRootDocuments()
ContentRootsActionsThis way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.
resetContentRootDocuments in interface ContentRootsActions
public List<DocumentModel> getContentRootDocuments()
throws ClientException
getContentRootDocuments in interface ContentRootsActionsClientException
@Deprecated
public Boolean getCanAddWorkspaces()
throws ClientException
ContentRootsActions
getCanAddWorkspaces in interface ContentRootsActionsClientExceptionpublic String cancel()
cancel in interface ContentRootsActionspublic void saveState()
StatefulBaseLifeCycle
saveState in interface StatefulBaseLifeCyclepublic void readState()
StatefulBaseLifeCycle
readState in interface StatefulBaseLifeCycle
public boolean getCanCopy()
throws ClientException
ClientException
public List<DocumentModel> copy()
throws ClientException
ClientExceptionpublic void removeDocumentFromList(DocumentModel doc)
public DocModelTableModel reconstructWorkspacesTableModel()
throws ClientException
reconstructWorkspacesTableModel in interface ContentRootsActionsClientException
public DocModelTableModel reconstructSectionsTableModel()
throws ClientException
reconstructSectionsTableModel in interface ContentRootsActionsClientException
public DocModelTableModel getWorkspacesTableModel()
throws ClientException
getWorkspacesTableModel in interface ContentRootsActionsClientException
public DocModelTableModel getSectionsTableModel()
throws ClientException
getSectionsTableModel in interface ContentRootsActionsClientException
public void selectAllRows(boolean checked)
throws ClientException
selectAllRows in interface ContentRootsActionsClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||