|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PublishActions
Interface for publishing documents page action listener. Exposes methods for handling user actions related to the publish button(s).
| Field Summary | |
|---|---|
static String |
CHILDREN_DOCUMENT_LIST
|
static String |
SECTIONS_DOCUMENT_TREE
|
| Method Summary | |
|---|---|
void |
cancelTheSections()
Nullifies the sectionSelectModel when the document is changed. |
void |
destroy()
|
List<Action> |
getActionsForPublishDocument()
Returns the list of available web actions for the currently selected DocumentList - list of sections. |
List<Action> |
getActionsForSectionSelection()
Returns the list of available web actions for the currently selected Documents inside a section. |
boolean |
getCanUnpublish()
This method is used to test wheter the looged user has enough rights for the unpublish support. |
String |
getComment()
|
DocumentModelList |
getProxies(DocumentModel docModel)
Retrieves all visible proxies for this document. |
List<PublishingInformation> |
getPublishingInformation(DocumentModel docModel)
Retrieves all visible proxies for this document, and associated visible sections. |
String |
getRootName()
|
String |
getSectionName()
|
SelectDataModel |
getSectionsModel()
Retrieves all the sections in the domain. |
void |
notifyEvent(String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm)
|
String |
processRemoteSelectRowEvent(String docRef,
Boolean selection)
|
String |
publishDocument()
Method that executes when a document is published. |
DocumentModel |
publishDocument(DocumentModel docToPublish,
DocumentModel section)
|
String |
publishDocumentList(String listName)
|
String |
publishWorkList()
|
void |
setComment(String comment)
|
String |
unPublishDocument()
This method is used to unpublish a proxy of the current document, having as a request parameter with the name 'unPublishSectionRef,' the name of the section from which to unpublish the current document. |
void |
unPublishDocument(DocumentModel proxy)
This method is used to unpublish the given proxy. |
void |
unPublishDocuments(List<DocumentModel> documentsList)
This method is used to unpublish the given list of document models. |
void |
unPublishDocumentsFromCurrentSelection()
This method is used to unpublish the current document list selection. |
| Methods inherited from interface org.nuxeo.ecm.platform.ui.web.model.SelectDataModelListener |
|---|
processSelectRowEvent |
| Field Detail |
|---|
static final String SECTIONS_DOCUMENT_TREE
static final String CHILDREN_DOCUMENT_LIST
| Method Detail |
|---|
List<Action> getActionsForPublishDocument()
SelectDataModel getSectionsModel()
throws ClientException
ClientException
DocumentModelList getProxies(DocumentModel docModel)
throws ClientException
ClientException
List<PublishingInformation> getPublishingInformation(DocumentModel docModel)
throws ClientException
ClientException
String publishDocument()
throws ClientException
ClientException
DocumentModel publishDocument(DocumentModel docToPublish,
DocumentModel section)
throws ClientException
ClientException
String publishDocumentList(String listName)
throws ClientException
ClientException
String publishWorkList()
throws ClientException
ClientExceptionvoid cancelTheSections()
String getComment()
void setComment(String comment)
String unPublishDocument()
throws ClientException
ClientException
void unPublishDocument(DocumentModel proxy)
throws ClientException
proxy - - the proxy to unpublish.
ClientException
void unPublishDocuments(List<DocumentModel> documentsList)
throws ClientException
documentsList - - the list of the document models which are going to
be unpublish.
ClientException
void unPublishDocumentsFromCurrentSelection()
throws ClientException
ClientException
boolean getCanUnpublish()
throws ClientException
- false otherwise
ClientExceptionString getRootName()
String getSectionName()
void notifyEvent(String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm)
throws ClientException
ClientException
@WebRemote
String processRemoteSelectRowEvent(String docRef,
Boolean selection)
throws ClientException
ClientExceptionList<Action> getActionsForSectionSelection()
@Destroy void destroy()
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||