Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.contentbrowser
Class DocumentListingActionsBean

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

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

Manages document listings rendering.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Field Summary
static String DEFAULT_LISTING_LAYOUT
           
 
Constructor Summary
DocumentListingActionsBean()
           
 
Method Summary
 void checkCurrentDocAndProcessSelectPage(String contentViewName, String listName, Boolean selection, 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(String docRef, String providerName, String listName, Boolean selection, 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
 List<String> getAvailableLayoutsForCurrentDocument()
          Deprecated. this information is now held by content views
 List<String> getAvailableLayoutsForDocument(DocumentModel doc)
          Deprecated. this information is now held by content views
 String getLayoutForCurrentDocument()
          Deprecated. this information is now held by content views
 String getLayoutForDocument(DocumentModel doc)
          Deprecated. this information is now held by content views
 void processSelectPage(String contentViewName, String listName, Boolean selection)
           
 void processSelectRow(String docRef, String contentViewName, String listName, Boolean selection)
           
 void setLayoutForCurrentDocument(String layoutName)
          Deprecated. this information is now held by content views
 void setLayoutForDocument(DocumentModel doc, 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 String DEFAULT_LISTING_LAYOUT
Constructor Detail

DocumentListingActionsBean

public DocumentListingActionsBean()
Method Detail

getLayoutForDocument

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


setLayoutForDocument

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


getLayoutForCurrentDocument

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


setLayoutForCurrentDocument

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


getAvailableLayoutsForDocument

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


getAvailableLayoutsForCurrentDocument

@Deprecated
@Factory(value="currentAvailableListingLayoutNames",
         scope=EVENT)
public List<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(String contentViewName,
                              String listName,
                              Boolean selection)
                       throws ClientException
Throws:
ClientException

checkCurrentDocAndProcessSelectPage

public void checkCurrentDocAndProcessSelectPage(String contentViewName,
                                                String listName,
                                                Boolean selection,
                                                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(String docRef,
                             String contentViewName,
                             String listName,
                             Boolean selection)
                      throws ClientException
Throws:
ClientException

checkCurrentDocAndProcessSelectRow

public void checkCurrentDocAndProcessSelectRow(String docRef,
                                               String providerName,
                                               String listName,
                                               Boolean selection,
                                               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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.