public class WfDocumentsLibraryServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements WfDocumentsLibraryService
Modifier and Type | Field and Description |
---|---|
static String |
LIFERAY_COMPANY_WEB_ID |
static int |
ORGANIZATION_ROLE_TYPE |
Constructor and Description |
---|
WfDocumentsLibraryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Boolean |
addUserComment(String workflowdocid,
String comment) |
Boolean |
forward(WorkflowDocument wfDoc,
String stepForwardedTo)
thie method performs the forward of a user,
then checks if the status has to be advanced (all users belonging to a role have forwarded)
|
ArrayList<org.gcube.portlets.admin.wfdocslibrary.shared.UserComment> |
getUserComments(String workflowid) |
ArrayList<WorkflowDocument> |
getUserWfDocuments() |
org.gcube.portlets.admin.wfdocslibrary.shared.WfTemplate |
getWorkflowById(String workflowid)
get the Workflow By Id
|
void |
init()
init method
|
LockInfo |
setWorkflowInSession(String documentName,
String workflowid,
boolean readonly)
Sets the workflow in session to open it lately and tries to acquire a lock if readonly is false
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static int ORGANIZATION_ROLE_TYPE
public static final String LIFERAY_COMPANY_WEB_ID
public void init()
init
in class javax.servlet.GenericServlet
public ArrayList<WorkflowDocument> getUserWfDocuments()
getUserWfDocuments
in interface WfDocumentsLibraryService
public org.gcube.portlets.admin.wfdocslibrary.shared.WfTemplate getWorkflowById(String workflowid)
getWorkflowById
in interface WfDocumentsLibraryService
public Boolean addUserComment(String workflowdocid, String comment)
addUserComment
in interface WfDocumentsLibraryService
public ArrayList<org.gcube.portlets.admin.wfdocslibrary.shared.UserComment> getUserComments(String workflowid)
getUserComments
in interface WfDocumentsLibraryService
public Boolean forward(WorkflowDocument wfDoc, String stepForwardedTo)
forward
in interface WfDocumentsLibraryService
workflowid
- workflowidpublic LockInfo setWorkflowInSession(String documentName, String workflowid, boolean readonly)
setWorkflowInSession
in interface WfDocumentsLibraryService
documentName
- .workflowid
- workflow identifier for this documentreadonly
- specifies if it has to be open readonly or write modeCopyright © 2015. All Rights Reserved.