|
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 ContentRootsActions
public String display()
display
in interface ContentRootsActions
public String selectWorkspace() throws ClientException
ContentRootsActions
DocumentModel
is selected. It saves the
selected info on the context.
selectWorkspace
in interface ContentRootsActions
ClientException
public String selectSection() throws ClientException
ContentRootsActions
DocumentModel
is selected. It saves the
selected info on the context.
selectSection
in interface ContentRootsActions
ClientException
public String editWorkspace() throws ClientException
ContentRootsActions
editWorkspace
in interface ContentRootsActions
ClientException
public String updateWorkspace() throws ClientException
ContentRootsActions
updateWorkspace
in interface ContentRootsActions
ClientException
public void resetTableModel()
ContentRootsActions
This 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 ContentRootsActions
ClientException
public void getSections() throws ClientException
ContentRootsActions
getSections
in interface ContentRootsActions
ClientException
public void resetContentRootDocuments()
ContentRootsActions
This 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 ContentRootsActions
ClientException
@Deprecated public Boolean getCanAddWorkspaces() throws ClientException
ContentRootsActions
getCanAddWorkspaces
in interface ContentRootsActions
ClientException
public String cancel()
cancel
in interface ContentRootsActions
public void saveState()
StatefulBaseLifeCycle
saveState
in interface StatefulBaseLifeCycle
public void readState()
StatefulBaseLifeCycle
readState
in interface StatefulBaseLifeCycle
public boolean getCanCopy() throws ClientException
ClientException
public List<DocumentModel> copy() throws ClientException
ClientException
public void removeDocumentFromList(DocumentModel doc)
public DocModelTableModel reconstructWorkspacesTableModel() throws ClientException
reconstructWorkspacesTableModel
in interface ContentRootsActions
ClientException
public DocModelTableModel reconstructSectionsTableModel() throws ClientException
reconstructSectionsTableModel
in interface ContentRootsActions
ClientException
public DocModelTableModel getWorkspacesTableModel() throws ClientException
getWorkspacesTableModel
in interface ContentRootsActions
ClientException
public DocModelTableModel getSectionsTableModel() throws ClientException
getSectionsTableModel
in interface ContentRootsActions
ClientException
public void selectAllRows(boolean checked) throws ClientException
selectAllRows
in interface ContentRootsActions
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |