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:
java.io.Serializable, java.util.EventListener, SelectDataModelListener

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

Seam bean used for Orderable documents.

Author:
Thomas Roger
See Also:
Serialized Form

Field Summary
static java.lang.String CHILDREN_DOCUMENT_LIST
           
static java.lang.String CURRENT_DOC_ORDERED_CHILDREN_QM
           
static java.lang.String SECTION_TYPE
           
 
Constructor Summary
OrderableDocumentActions()
           
 
Method Summary
 boolean getCanMoveDown()
           
 boolean getCanMoveToBottom()
           
 boolean getCanMoveToTop()
           
 boolean getCanMoveUp()
           
 SelectDataModel getCurrentOrderedChildrenSelectModel()
           
 SelectDataModel getSectionOrderedChildrenSelectModel()
           
 void invalidateProviderOnDocumentChanged()
           
 java.lang.String moveDown()
           
 java.lang.String moveToBottom()
           
 java.lang.String moveToTop()
           
 java.lang.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 java.lang.String CURRENT_DOC_ORDERED_CHILDREN_QM
See Also:
Constant Field Values

CHILDREN_DOCUMENT_LIST

public static final java.lang.String CHILDREN_DOCUMENT_LIST
See Also:
Constant Field Values

SECTION_TYPE

public static final java.lang.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 java.lang.String moveDown()
                          throws ClientException
Throws:
ClientException

getCanMoveUp

public boolean getCanMoveUp()
                     throws ClientException
Throws:
ClientException

moveUp

public java.lang.String moveUp()
                        throws ClientException
Throws:
ClientException

getCanMoveToTop

public boolean getCanMoveToTop()
                        throws ClientException
Throws:
ClientException

moveToTop

public java.lang.String moveToTop()
                           throws ClientException
Throws:
ClientException

getCanMoveToBottom

public boolean getCanMoveToBottom()
                           throws ClientException
Throws:
ClientException

moveToBottom

public java.lang.String moveToBottom()
                              throws ClientException
Throws:
ClientException

invalidateProviderOnDocumentChanged

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.