com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest
Class AlfrescoRESTFulFactory

java.lang.Object
  extended by 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

Constructor Summary
AlfrescoRESTFulFactory(String baseURL, com.wewebu.ow.server.ecm.OwNetwork network)
           
 
Method Summary
 StartWorkflowResource startWorkflowResource(String definitionId)
           
 TaskInstanceEndResource taskInstanceEndResource(String taskInstanceId)
           
 TaskInstanceResource taskInstanceResource(String taskInstanceId)
           
 TaskInstancesResource taskInstancesForWorkflowResource(String workflowId)
           
 TaskInstancesResource taskInstancesResource(String owner, WorkflowStatus status, com.wewebu.ow.server.field.OwSearchNode filterCriteria_p, int iMaxSize_p)
           
 WorkflowDefinitionDetailsResource workflowDefinitionDetailsResource(String wfDefinitionId)
           
 WorkflowDefinitionsResource workflowDefinitionsResource()
           
 WorkflowInstanceResource workflowInstance(String workflowInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.