Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.contentbrowser
Class DocumentListingActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.contentbrowser.DocumentListingActionsBean
All Implemented Interfaces:
java.io.Serializable

@Name(value="documentListingActions")
@Scope(value=CONVERSATION)
public class DocumentListingActionsBean
extends java.lang.Object
implements java.io.Serializable

Manages document listings rendering.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_LISTING_LAYOUT
           
 
Constructor Summary
DocumentListingActionsBean()
           
 
Method Summary
 void checkCurrentDocAndProcessSelectPage(java.lang.String contentViewName, java.lang.String listName, java.lang.Boolean selection, java.lang.String currentDocRef)
          Handle complete table selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors
 void checkCurrentDocAndProcessSelectRow(java.lang.String docRef, java.lang.String providerName, java.lang.String listName, java.lang.Boolean selection, java.lang.String requestedCurrentDocRef)
          Handle row selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors
 void documentChanged()
          Deprecated. this information is now held by content views
 java.util.List<java.lang.String> getAvailableLayoutsForCurrentDocument()
          Deprecated. this information is now held by content views
 java.util.List<java.lang.String> getAvailableLayoutsForDocument(DocumentModel doc)
          Deprecated. this information is now held by content views
 java.lang.String getLayoutForCurrentDocument()
          Deprecated. this information is now held by content views
 java.lang.String getLayoutForDocument(DocumentModel doc)
          Deprecated. this information is now held by content views
 void processSelectPage(java.lang.String contentViewName, java.lang.String listName, java.lang.Boolean selection)
           
 void processSelectRow(java.lang.String docRef, java.lang.String contentViewName, java.lang.String listName, java.lang.Boolean selection)
           
 void setLayoutForCurrentDocument(java.lang.String layoutName)
          Deprecated. this information is now held by content views
 void setLayoutForDocument(DocumentModel doc, java.lang.String layoutName)
          Deprecated. this information is now held by content views
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LISTING_LAYOUT

public static java.lang.String DEFAULT_LISTING_LAYOUT
Constructor Detail

DocumentListingActionsBean

public DocumentListingActionsBean()
Method Detail

getLayoutForDocument

@Deprecated
public java.lang.String getLayoutForDocument(DocumentModel doc)
Deprecated. this information is now held by content views


setLayoutForDocument

@Deprecated
public void setLayoutForDocument(DocumentModel doc,
                                            java.lang.String layoutName)
Deprecated. this information is now held by content views


getLayoutForCurrentDocument

@Deprecated
@Factory(value="currentListingLayoutName",
         scope=EVENT)
public java.lang.String getLayoutForCurrentDocument()
Deprecated. this information is now held by content views


setLayoutForCurrentDocument

@Deprecated
public void setLayoutForCurrentDocument(java.lang.String layoutName)
Deprecated. this information is now held by content views


getAvailableLayoutsForDocument

@Deprecated
public java.util.List<java.lang.String> getAvailableLayoutsForDocument(DocumentModel doc)
Deprecated. this information is now held by content views


getAvailableLayoutsForCurrentDocument

@Deprecated
@Factory(value="currentAvailableListingLayoutNames",
         scope=EVENT)
public java.util.List<java.lang.String> getAvailableLayoutsForCurrentDocument()
Deprecated. this information is now held by content views


documentChanged

@Observer(value="userAllDocumentTypesSelectionChanged",
          create=false)
@BypassInterceptors
@Deprecated
public void documentChanged()
Deprecated. this information is now held by content views


processSelectPage

public void processSelectPage(java.lang.String contentViewName,
                              java.lang.String listName,
                              java.lang.Boolean selection)
                       throws ClientException
Throws:
ClientException

checkCurrentDocAndProcessSelectPage

public void checkCurrentDocAndProcessSelectPage(java.lang.String contentViewName,
                                                java.lang.String listName,
                                                java.lang.Boolean selection,
                                                java.lang.String currentDocRef)
                                         throws ClientException
Handle complete table selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors

Throws:
ClientException - if currentDocRef is not a valid document

processSelectRow

public void processSelectRow(java.lang.String docRef,
                             java.lang.String contentViewName,
                             java.lang.String listName,
                             java.lang.Boolean selection)
                      throws ClientException
Throws:
ClientException

checkCurrentDocAndProcessSelectRow

public void checkCurrentDocAndProcessSelectRow(java.lang.String docRef,
                                               java.lang.String providerName,
                                               java.lang.String listName,
                                               java.lang.Boolean selection,
                                               java.lang.String requestedCurrentDocRef)
                                        throws ClientException
Handle row selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors

Throws:
ClientException - if currentDocRef is not a valid document

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.