@Name(value="damActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class DamActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
MAIN_TABS_DAM |
static String |
MAIN_TABS_DOCUMENT_MANAGEMENT |
Constructor and Description |
---|
DamActions() |
Modifier and Type | Method and Description |
---|---|
AssetLibrary |
getAssetLibrary() |
boolean |
getCanCreateInAssetLibrary() |
String |
getDamMainTab() |
String |
getSelectedDocumentId() |
boolean |
isOnAssetsView() |
boolean |
isOnDamView()
Returns true if the user is viewing DAM.
|
void |
selectDocument(DocumentModel doc) |
void |
setDamMainTab(String tabs) |
void |
setSelectedDocumentId(String selectedDocumentId) |
String |
updateCurrentDocument() |
String |
viewInDAM() |
String |
viewInDM() |
public static final String MAIN_TABS_DAM
public static final String MAIN_TABS_DOCUMENT_MANAGEMENT
public String getSelectedDocumentId()
public void setSelectedDocumentId(String selectedDocumentId) throws ClientException
ClientException
public void selectDocument(DocumentModel doc) throws ClientException
ClientException
public String getDamMainTab()
public void setDamMainTab(String tabs)
public String viewInDM() throws ClientException
ClientException
public String viewInDAM() throws ClientException
ClientException
public String updateCurrentDocument() throws ClientException
ClientException
public boolean getCanCreateInAssetLibrary() throws ClientException
ClientException
public AssetLibrary getAssetLibrary()
public boolean isOnDamView()
public boolean isOnAssetsView()
Copyright © 2013 Nuxeo SA. All Rights Reserved.