Nuxeo ECM Projects 5.4.3-SNAPSHOT

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:
Serializable, EventListener, SelectDataModelListener, DomainActions

@Name(value="domainActions")
@Scope(value=CONVERSATION)
public class DomainActionsBean
extends InputController
implements DomainActions, 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
 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 invalidateDomainList()
          Invalidate cached domain list (Seam event listener)
 void processSelectRowEvent(SelectDataModelRowEvent event)
           
 
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 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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.