@Name(value="documentContentViewActions") @Scope(value=CONVERSATION) public class DocumentContentViewActions extends Object implements Serializable
Constructor and Description |
---|
DocumentContentViewActions() |
public boolean hasContentViewSupport(DocumentModel doc, String category) throws ClientException
Also fetches content view headers defined on a document type
ClientException
public Map<String,List<ContentViewHeader>> getAvailableContentViewsForDocument(DocumentModel doc) throws ClientException
ClientException
public List<ContentViewHeader> getAvailableContentViewsForDocument(DocumentModel doc, String category) throws ClientException
ClientException
public Map<String,List<ContentViewHeader>> getAvailableContentViewsForCurrentDocument() throws ClientException
ClientException
public List<ContentViewHeader> getAvailableContentViewsForCurrentDocument(String category) throws ClientException
ClientException
public List<ContentViewHeader> getLocalConfiguredContentViews(DocumentModel doc)
public Map<String,List<ContentViewHeader>> getExportContentViewsForDocument(DocumentModel doc) throws ClientException
ClientException
public Map<String,List<ContentViewHeader>> getExportContentViewsForCurrentDocument() throws ClientException
ClientException
public List<ContentViewHeader> getExportContentViewsForCurrentDocument(String category) throws ClientException
ClientException
@Observer(value="userAllDocumentTypesSelectionChanged", create=false) @BypassInterceptors public void documentChanged()
@Observer(value="flush") public void onHotReloadFlush()
EventNames.FLUSH_EVENT
,
triggered by hot reload when dev mode is set.Copyright © 2013 Nuxeo SA. All Rights Reserved.