com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest
Class AlfrescoRESTFulFactory
java.lang.Object
com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest.AlfrescoRESTFulFactory
public class AlfrescoRESTFulFactory
- extends Object
Factory to create RESTful resources.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- Since:
- 4.0.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlfrescoRESTFulFactory
public AlfrescoRESTFulFactory(String baseURL,
com.wewebu.ow.server.ecm.OwNetwork network)
- Parameters:
baseURL
- baseURL to use for accessing Alfresco RESTful services.network
- the current OwNetwork
.
workflowDefinitionsResource
public WorkflowDefinitionsResource workflowDefinitionsResource()
throws OwRestException
- Returns:
- a REST resource for accessing the workflow-definitions service.
- Throws:
OwRestException
- thrown if something goes wrong with the creation of the REST resource.
workflowDefinitionDetailsResource
public WorkflowDefinitionDetailsResource workflowDefinitionDetailsResource(String wfDefinitionId)
throws OwRestException
- Returns:
- a REST resource for accessing the workflow-definitions service.
- Throws:
OwRestException
- thrown if something goes wrong with the creation of the REST resource.
startWorkflowResource
public StartWorkflowResource startWorkflowResource(String definitionId)
throws OwRestException
- Throws:
OwRestException
taskInstancesResource
public TaskInstancesResource taskInstancesResource(String owner,
WorkflowStatus status,
com.wewebu.ow.server.field.OwSearchNode filterCriteria_p,
int iMaxSize_p)
throws OwRestException
- Throws:
OwRestException
taskInstancesForWorkflowResource
public TaskInstancesResource taskInstancesForWorkflowResource(String workflowId)
throws OwRestException
- Throws:
OwRestException
workflowInstance
public WorkflowInstanceResource workflowInstance(String workflowInstanceId)
throws OwRestException
- Throws:
OwRestException
taskInstanceResource
public TaskInstanceResource taskInstanceResource(String taskInstanceId)
throws OwRestException
- Throws:
OwRestException
taskInstanceEndResource
public TaskInstanceEndResource taskInstanceEndResource(String taskInstanceId)
throws OwRestException
- Throws:
OwRestException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.