Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Class DomainActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.contentbrowser.DomainActionsBean
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, SelectDataModelListener, StatefulBaseLifeCycle, DomainActions

@Name(value="domainActions")
@Scope(value=CONVERSATION)
public class DomainActionsBean
extends InputController
implements DomainActions, java.io.Serializable

Action listener that deals with operations with the domains.

Author:
Razvan Caraghin
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webapp.contentbrowser.DomainActions
DOMAINS_WORKING_LIST
 
Constructor Summary
DomainActionsBean()
           
 
Method Summary
 void destroy()
           
 java.lang.Boolean getCanAddDomains()
          Indicates if the current user can create a domain.
 DocumentModelList getDomains()
          Gets the available domains for the selected contentRoot.
 SelectDataModel getDomainsSelectModel()
          Gets the domains select list to be displayed in a table.
 void initialize()
           
 void invalidateDomainList()
          Invalidate cached domain list (Seam event listener)
 void processSelectRowEvent(SelectDataModelRowEvent event)
           
 void readState()
          Activate method.
 void saveState()
          Passivate method.
 
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
 

Constructor Detail

DomainActionsBean

public DomainActionsBean()
Method Detail

getDomains

public DocumentModelList getDomains()
                             throws ClientException
Description copied from interface: DomainActions
Gets the available domains for the selected contentRoot.

Specified by:
getDomains in interface DomainActions
Throws:
ClientException

invalidateDomainList

@Observer(value={"locationSelectionChanged","changeableDocumentCreated","documentChanged"},
          create=false)
@BypassInterceptors
public void invalidateDomainList()
Description copied from interface: DomainActions
Invalidate cached domain list (Seam event listener)

Specified by:
invalidateDomainList in interface DomainActions

getCanAddDomains

public java.lang.Boolean getCanAddDomains()
                                   throws ClientException
Description copied from interface: DomainActions
Indicates if the current user can create a domain.

Specified by:
getCanAddDomains in interface DomainActions
Throws:
ClientException

getDomainsSelectModel

public SelectDataModel getDomainsSelectModel()
                                      throws ClientException
Description copied from interface: DomainActions
Gets the domains select list to be displayed in a table.

Specified by:
getDomainsSelectModel in interface DomainActions
Throws:
ClientException

processSelectRowEvent

public void processSelectRowEvent(SelectDataModelRowEvent event)
Specified by:
processSelectRowEvent in interface SelectDataModelListener

initialize

public void initialize()
Specified by:
initialize in interface DomainActions

destroy

@Destroy
public void destroy()
Specified by:
destroy in interface DomainActions

saveState

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

Specified by:
saveState in interface StatefulBaseLifeCycle

readState

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

Specified by:
readState in interface StatefulBaseLifeCycle

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.