|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentActions
Field Summary | |
---|---|
static java.lang.String |
CHILDREN_DOCUMENT_LIST
|
Method Summary | |
---|---|
java.lang.String |
checkCurrentDocAndProcessSelectPage(java.lang.String providerName,
java.lang.String listName,
java.lang.Boolean selection,
java.lang.String currentDocRef)
Handle complete table selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors |
java.lang.String |
checkCurrentDocAndProcessSelectRow(java.lang.String docRef,
java.lang.String providerName,
java.lang.String listName,
java.lang.Boolean selection,
java.lang.String currentDocRef)
Handle complete row selection event after having ensured that the navigation context stills points to currentDocumentRef to protect against browsers' back button errors |
java.lang.String |
createDocument()
|
java.lang.String |
createDocument(java.lang.String typeName)
|
void |
destroy()
|
java.lang.String |
download()
Deprecated. |
void |
download(DocumentView docView)
Downloads file as described by given document view. |
java.lang.String |
downloadFromList()
Deprecated. |
java.lang.String |
editDocument()
|
boolean |
getCanUnpublish()
This method is used to test wheter the looged user has enough rights for the unpublish support. |
Type |
getChangeableDocumentType()
|
SelectDataModel |
getChildrenSelectModel()
|
java.lang.String |
getComment()
|
Type |
getCurrentType()
|
SelectDataModel |
getSectionChildrenSelectModel()
|
boolean |
getWriteRight()
Checks the current document write permission. |
void |
initialize()
|
java.lang.String |
processSelectPage(java.lang.String providerName,
java.lang.String listName,
java.lang.Boolean selection)
|
java.lang.String |
processSelectRow(java.lang.String docRef,
java.lang.String providerName,
java.lang.String listName,
java.lang.Boolean selection)
|
java.lang.String |
saveDocument()
|
java.lang.String |
saveDocument(DocumentModel newDocument)
|
void |
setComment(java.lang.String comment)
|
java.lang.String |
updateCurrentDocument()
|
java.lang.String |
updateDocument()
|
java.lang.String |
updateDocumentAsNewVersion()
|
Methods inherited from interface org.nuxeo.ecm.webapp.base.StatefulBaseLifeCycle |
---|
readState, saveState |
Methods inherited from interface org.nuxeo.ecm.platform.ui.web.model.SelectDataModelListener |
---|
processSelectRowEvent |
Field Detail |
---|
static final java.lang.String CHILDREN_DOCUMENT_LIST
Method Detail |
---|
void initialize()
@Destroy void destroy()
java.lang.String editDocument() throws ClientException
ClientException
java.lang.String updateDocument() throws ClientException
ClientException
java.lang.String updateDocumentAsNewVersion() throws ClientException
ClientException
java.lang.String updateCurrentDocument() throws ClientException
ClientException
java.lang.String createDocument() throws ClientException
ClientException
java.lang.String createDocument(java.lang.String typeName) throws ClientException
ClientException
java.lang.String saveDocument() throws ClientException
ClientException
java.lang.String saveDocument(DocumentModel newDocument) throws ClientException
ClientException
@Deprecated java.lang.String download() throws ClientException
ClientException
void download(DocumentView docView) throws ClientException
To be used by url pattern descriptors performing a download.
docView
- the document view as generated through the url service
ClientException
- when document is not found or file is not
retrieved correctly.@Deprecated java.lang.String downloadFromList() throws ClientException
ClientException
Type getCurrentType()
null
if current doc
is null.Type getChangeableDocumentType()
SelectDataModel getChildrenSelectModel() throws ClientException
ClientException
SelectDataModel getSectionChildrenSelectModel() throws ClientException
ClientException
boolean getWriteRight() throws ClientException
true
if the user has WRITE permission on current
document
ClientException
@WebRemote java.lang.String checkCurrentDocAndProcessSelectRow(java.lang.String docRef, java.lang.String providerName, java.lang.String listName, java.lang.Boolean selection, java.lang.String currentDocRef) throws ClientException
ClientException
- if currentDocRef is not a valid document@WebRemote java.lang.String processSelectRow(java.lang.String docRef, java.lang.String providerName, java.lang.String listName, java.lang.Boolean selection)
@WebRemote java.lang.String checkCurrentDocAndProcessSelectPage(java.lang.String providerName, java.lang.String listName, java.lang.Boolean selection, java.lang.String currentDocRef) throws ClientException
ClientException
- if currentDocRef is not a valid document@WebRemote java.lang.String processSelectPage(java.lang.String providerName, java.lang.String listName, java.lang.Boolean selection)
java.lang.String getComment()
void setComment(java.lang.String comment)
boolean getCanUnpublish()
- false otherwise
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |