Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Class ContentRootsActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.contentbrowser.ContentRootsActionsBean
All Implemented Interfaces:
java.io.Serializable, StatefulBaseLifeCycle, ContentRootsActions

Deprecated.

@Name(value="contentRootsActions")
@Scope(value=SESSION)
@Deprecated
public class ContentRootsActionsBean
extends InputController
implements ContentRootsActions, java.io.Serializable

Action listener that deals with operations with the content roots of a domain.

Author:
Narcis Paslaru
See Also:
Serialized Form

Constructor Summary
ContentRootsActionsBean()
          Deprecated.  
 
Method Summary
 java.lang.String cancel()
          Deprecated.  
 java.util.List<DocumentModel> copy()
          Deprecated.  
 void destroy()
          Deprecated.  
 java.lang.String display()
          Deprecated.  
 java.lang.String editWorkspace()
          Deprecated. Called when user wants to edit a selected document.
 java.lang.Boolean getCanAddWorkspaces()
          Deprecated. 
 boolean getCanCopy()
          Deprecated.  
 java.util.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.  
 java.lang.String selectSection()
          Deprecated. Called when a section DocumentModel is selected.
 java.lang.String selectWorkspace()
          Deprecated. Called when a workspace DocumentModel is selected.
 java.lang.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

ContentRootsActionsBean

public ContentRootsActionsBean()
Deprecated. 
Method Detail

initialize

@Create
public void initialize()
Deprecated. 
Specified by:
initialize in interface ContentRootsActions

destroy

@Destroy
public void destroy()
Deprecated. 
Specified by:
destroy in interface ContentRootsActions

display

public java.lang.String display()
Deprecated. 
Specified by:
display in interface ContentRootsActions

selectWorkspace

public java.lang.String selectWorkspace()
                                 throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Called when a workspace DocumentModel is selected. It saves the selected info on the context.

Specified by:
selectWorkspace in interface ContentRootsActions
Returns:
the page that is going to be displayed next
Throws:
ClientException

selectSection

public java.lang.String selectSection()
                               throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Called when a section DocumentModel is selected. It saves the selected info on the context.

Specified by:
selectSection in interface ContentRootsActions
Returns:
the page that is going to be displayed next
Throws:
ClientException

editWorkspace

public java.lang.String editWorkspace()
                               throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Called when user wants to edit a selected document.

Specified by:
editWorkspace in interface ContentRootsActions
Returns:
the edit page
Throws:
ClientException

updateWorkspace

public java.lang.String updateWorkspace()
                                 throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Called when the user finishes editing.

Specified by:
updateWorkspace in interface ContentRootsActions
Returns:
the page after edit
Throws:
ClientException

resetTableModel

public void resetTableModel()
Deprecated. 
Description copied from interface: ContentRootsActions
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.

This way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.

Specified by:
resetTableModel in interface ContentRootsActions

getWorkspaces

public void getWorkspaces()
                   throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Gets the workspaces contained in the selected domain.

Specified by:
getWorkspaces in interface ContentRootsActions
Throws:
ClientException

getSections

public void getSections()
                 throws ClientException
Deprecated. 
Description copied from interface: ContentRootsActions
Gets the sections contained in the selected domain.

Specified by:
getSections in interface ContentRootsActions
Throws:
ClientException

resetContentRootDocuments

public void resetContentRootDocuments()
Deprecated. 
Description copied from interface: ContentRootsActions
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.

This way we achieve lazy loading of data from backend - only when its needed and not loading it when the event is fired.

Specified by:
resetContentRootDocuments in interface ContentRootsActions

getContentRootDocuments

public java.util.List<DocumentModel> getContentRootDocuments()
                                                      throws ClientException
Deprecated. 
Specified by:
getContentRootDocuments in interface ContentRootsActions
Throws:
ClientException

getCanAddWorkspaces

@Deprecated
public java.lang.Boolean getCanAddWorkspaces()
                                      throws ClientException
Deprecated. 

Description copied from interface: ContentRootsActions
Indicates if the current user can create a workspace.

Specified by:
getCanAddWorkspaces in interface ContentRootsActions
Throws:
ClientException

cancel

public java.lang.String cancel()
Deprecated. 
Specified by:
cancel in interface ContentRootsActions

saveState

public void saveState()
Deprecated. 
Description copied from interface: StatefulBaseLifeCycle
Passivate method.

Specified by:
saveState in interface StatefulBaseLifeCycle

readState

public void readState()
Deprecated. 
Description copied from interface: StatefulBaseLifeCycle
Activate method.

Specified by:
readState in interface StatefulBaseLifeCycle

getCanCopy

public boolean getCanCopy()
                   throws ClientException
Deprecated. 
Throws:
ClientException

copy

public java.util.List<DocumentModel> copy()
                                   throws ClientException
Deprecated. 
Throws:
ClientException

removeDocumentFromList

public void removeDocumentFromList(DocumentModel doc)
Deprecated. 

reconstructWorkspacesTableModel

public DocModelTableModel reconstructWorkspacesTableModel()
                                                   throws ClientException
Deprecated. 
Specified by:
reconstructWorkspacesTableModel in interface ContentRootsActions
Throws:
ClientException

reconstructSectionsTableModel

public DocModelTableModel reconstructSectionsTableModel()
                                                 throws ClientException
Deprecated. 
Specified by:
reconstructSectionsTableModel in interface ContentRootsActions
Throws:
ClientException

getWorkspacesTableModel

public DocModelTableModel getWorkspacesTableModel()
                                           throws ClientException
Deprecated. 
Specified by:
getWorkspacesTableModel in interface ContentRootsActions
Throws:
ClientException

getSectionsTableModel

public DocModelTableModel getSectionsTableModel()
                                         throws ClientException
Deprecated. 
Specified by:
getSectionsTableModel in interface ContentRootsActions
Throws:
ClientException

selectAllRows

public void selectAllRows(boolean checked)
                   throws ClientException
Deprecated. 
Specified by:
selectAllRows in interface ContentRootsActions
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.