Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Class OrderableDocumentActions

java.lang.Object
  extended by org.nuxeo.ecm.webapp.contentbrowser.OrderableDocumentActions
All Implemented Interfaces:
Serializable, EventListener, SelectDataModelListener

@Name(value="orderableDocumentActions")
@Scope(value=CONVERSATION)
public class OrderableDocumentActions
extends Object
implements SelectDataModelListener, Serializable

Seam bean used for Orderable documents.

Author:
Thomas Roger
See Also:
Serialized Form

Field Summary
static String CHILDREN_DOCUMENT_LIST
           
static String CURRENT_DOC_ORDERED_CHILDREN_QM
           
static String SECTION_TYPE
           
 
Constructor Summary
OrderableDocumentActions()
           
 
Method Summary
 boolean getCanMoveDown()
           
 boolean getCanMoveToBottom()
           
 boolean getCanMoveToTop()
           
 boolean getCanMoveUp()
           
 SelectDataModel getCurrentOrderedChildrenSelectModel()
           
 SelectDataModel getSectionOrderedChildrenSelectModel()
           
 void invalidateProviderOnDocumentChanged()
           
 String moveDown()
           
 String moveToBottom()
           
 String moveToTop()
           
 String moveUp()
           
 void processSelectRowEvent(SelectDataModelRowEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_DOC_ORDERED_CHILDREN_QM

public static final String CURRENT_DOC_ORDERED_CHILDREN_QM
See Also:
Constant Field Values

CHILDREN_DOCUMENT_LIST

public static final String CHILDREN_DOCUMENT_LIST
See Also:
Constant Field Values

SECTION_TYPE

public static final String SECTION_TYPE
See Also:
Constant Field Values
Constructor Detail

OrderableDocumentActions

public OrderableDocumentActions()
Method Detail

getCurrentOrderedChildrenSelectModel

@Factory(value="currentOrderedChildrenSelectModel",
         scope=EVENT)
public SelectDataModel getCurrentOrderedChildrenSelectModel()
                                                     throws ClientException
Throws:
ClientException

getSectionOrderedChildrenSelectModel

@Factory(value="sectionOrderedChildrenSelectModel",
         scope=EVENT)
public SelectDataModel getSectionOrderedChildrenSelectModel()
                                                     throws ClientException
Throws:
ClientException

processSelectRowEvent

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

getCanMoveDown

public boolean getCanMoveDown()
                       throws ClientException
Throws:
ClientException

moveDown

public String moveDown()
                throws ClientException
Throws:
ClientException

getCanMoveUp

public boolean getCanMoveUp()
                     throws ClientException
Throws:
ClientException

moveUp

public String moveUp()
              throws ClientException
Throws:
ClientException

getCanMoveToTop

public boolean getCanMoveToTop()
                        throws ClientException
Throws:
ClientException

moveToTop

public String moveToTop()
                 throws ClientException
Throws:
ClientException

getCanMoveToBottom

public boolean getCanMoveToBottom()
                           throws ClientException
Throws:
ClientException

moveToBottom

public String moveToBottom()
                    throws ClientException
Throws:
ClientException

invalidateProviderOnDocumentChanged

@Observer(value={"documentSelectionChanged","domainSelectionChanged","contentRootSelectionChanged","documentChildrenChanged"},
          create=false)
public void invalidateProviderOnDocumentChanged()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.