@Name(value="documentListingActions") @Scope(value=CONVERSATION) public class DocumentListingActionsBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LISTING_LAYOUT |
Constructor and Description |
---|
DocumentListingActionsBean() |
Modifier and Type | Method and Description |
---|---|
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 |
checkCurrentDocAndProcessVersionSelectRow(PageSelection<VersionModel> versionModelSelection,
String requestedCurrentDocRef)
Handle version 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
|
public static String DEFAULT_LISTING_LAYOUT
@Deprecated public String getLayoutForDocument(DocumentModel doc)
@Deprecated public void setLayoutForDocument(DocumentModel doc, String layoutName)
@Deprecated @Factory(value="currentListingLayoutName", scope=EVENT) public String getLayoutForCurrentDocument()
@Deprecated public void setLayoutForCurrentDocument(String layoutName)
@Deprecated public List<String> getAvailableLayoutsForDocument(DocumentModel doc)
@Deprecated @Factory(value="currentAvailableListingLayoutNames", scope=EVENT) public List<String> getAvailableLayoutsForCurrentDocument()
@Observer(value="userAllDocumentTypesSelectionChanged", create=false) @BypassInterceptors @Deprecated public void documentChanged()
public void processSelectPage(String contentViewName, String listName, Boolean selection) throws ClientException
ClientException
public void checkCurrentDocAndProcessSelectPage(String contentViewName, String listName, Boolean selection, String currentDocRef) throws ClientException
ClientException
- if currentDocRef is not a valid documentpublic void processSelectRow(String docRef, String contentViewName, String listName, Boolean selection) throws ClientException
ClientException
public void checkCurrentDocAndProcessSelectRow(String docRef, String providerName, String listName, Boolean selection, String requestedCurrentDocRef) throws ClientException
ClientException
- if currentDocRef is not a valid documentpublic void checkCurrentDocAndProcessVersionSelectRow(PageSelection<VersionModel> versionModelSelection, String requestedCurrentDocRef) throws ClientException
versionModelSelection
- the version model selectionrequestedCurrentDocRef
- the requested current doc refClientException
- if currentDocRef is not a valid documentCopyright © 2015 Nuxeo SA. All rights reserved.