@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
ClientException
public 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
ClientException
public String downloadBlob() throws ClientException
ClientException
public 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
ClientException
public 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
AuditException
Copyright © 2011 Nuxeo SA. All Rights Reserved.