@Name(value="damDocumentActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class DamDocumentActions extends Object implements Serializable
| Constructor and Description |
|---|
DamDocumentActions() |
public DocumentModel getCurrentSelection()
public void setCurrentSelection(DocumentModel selection)
public String getCurrentSelectionLink()
public void setCurrentTabAction(Action currentTabAction)
public String getDisplayMode()
public void toggleDisplayMode()
public void updateCurrentSelection()
throws ClientException
ClientExceptionpublic String getTitleCropped(DocumentModel document, int maxLength)
A minimum of 6 characters is needed before cropping takes effect. If you specify a maxLength of less than 5, it is ignored - in this case maxLength will be set to begin at 5.
document - to extract the title frommaxLength - the maximum length of the title before cropping will
occurpublic void download(DocumentView docView) throws ClientException
ClientExceptionpublic String downloadBlob() throws ClientException
ClientExceptionpublic String getDownloadSize()
public void setDownloadSize(String downloadSize)
public void rewind(PagedDocumentsProvider provider)
public void previous(PagedDocumentsProvider provider)
public void next(PagedDocumentsProvider provider)
public void last(PagedDocumentsProvider provider)
public static void raiseEvents(DocumentModel document)
public String getFullUserName()
public boolean canEditAsset()
throws ClientException
ClientExceptionpublic boolean isShowExifArea()
public void setShowExifArea(boolean showExifArea)
public void toggleExifArea(ActionEvent event)
public boolean isShowIptcArea()
public void setShowIptcArea(boolean showIptcArea)
public void toggleIptcArea(ActionEvent event)
public List<LogEntry> getSelectedAssetLogEntries() throws AuditException
AuditExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.