com.liferay.portal.kernel.workflow
Class WorkflowHandlerRegistryUtil
java.lang.Object
com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil
public class WorkflowHandlerRegistryUtil
- extends Object
Method Summary |
static List<WorkflowHandler> |
getScopeableWorkflowHandlers()
|
static WorkflowHandler |
getWorkflowHandler(String className)
|
static WorkflowHandlerRegistry |
getWorkflowHandlerRegistry()
|
static List<WorkflowHandler> |
getWorkflowHandlers()
|
static void |
register(List<WorkflowHandler> workflowHandlers)
|
static void |
register(WorkflowHandler workflowHandler)
|
void |
setWorkflowHandlerRegistry(WorkflowHandlerRegistry workflowHandlerRegistry)
|
static void |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext)
|
static void |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
static void |
startWorkflowInstance(long companyId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext)
|
static void |
startWorkflowInstance(long companyId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
static void |
unregister(List<WorkflowHandler> workflowHandlers)
|
static void |
unregister(WorkflowHandler workflowHandler)
|
static Object |
updateStatus(int status,
Map<String,Serializable> workflowContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowHandlerRegistryUtil
public WorkflowHandlerRegistryUtil()
getScopeableWorkflowHandlers
public static List<WorkflowHandler> getScopeableWorkflowHandlers()
getWorkflowHandler
public static WorkflowHandler getWorkflowHandler(String className)
getWorkflowHandlerRegistry
public static WorkflowHandlerRegistry getWorkflowHandlerRegistry()
getWorkflowHandlers
public static List<WorkflowHandler> getWorkflowHandlers()
register
public static void register(List<WorkflowHandler> workflowHandlers)
register
public static void register(WorkflowHandler workflowHandler)
startWorkflowInstance
public static void startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
startWorkflowInstance
public static void startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
startWorkflowInstance
public static void startWorkflowInstance(long companyId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
startWorkflowInstance
public static void startWorkflowInstance(long companyId,
long userId,
String className,
long classPK,
Object model,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unregister
public static void unregister(List<WorkflowHandler> workflowHandlers)
unregister
public static void unregister(WorkflowHandler workflowHandler)
updateStatus
public static Object updateStatus(int status,
Map<String,Serializable> workflowContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setWorkflowHandlerRegistry
public void setWorkflowHandlerRegistry(WorkflowHandlerRegistry workflowHandlerRegistry)