com.liferay.portal.service
Class WorkflowInstanceLinkLocalServiceUtil
java.lang.Object
com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil
public class WorkflowInstanceLinkLocalServiceUtil
- extends Object
This class provides static methods for the
WorkflowInstanceLinkLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
WorkflowInstanceLinkLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static WorkflowInstanceLink |
addWorkflowInstanceLink(long userId,
long companyId,
long groupId,
String className,
long classPK,
long workflowInstanceId)
|
static WorkflowInstanceLink |
addWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
|
static WorkflowInstanceLink |
createWorkflowInstanceLink(long workflowInstanceLinkId)
|
static void |
deleteWorkflowInstanceLink(long workflowInstanceLinkId)
|
static void |
deleteWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
static void |
deleteWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
|
static void |
deleteWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static WorkflowInstanceLinkLocalService |
getService()
|
static String |
getState(long companyId,
long groupId,
String className,
long classPK)
|
static WorkflowInstanceLink |
getWorkflowInstanceLink(long workflowInstanceLinkId)
|
static WorkflowInstanceLink |
getWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
static List<WorkflowInstanceLink> |
getWorkflowInstanceLinks(int start,
int end)
|
static List<WorkflowInstanceLink> |
getWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
|
static int |
getWorkflowInstanceLinksCount()
|
static boolean |
hasWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
static boolean |
isEnded(long companyId,
long groupId,
String className,
long classPK)
|
void |
setService(WorkflowInstanceLinkLocalService service)
|
static void |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Map<String,Serializable> workflowContext)
|
static void |
updateClassPK(long companyId,
long groupId,
String className,
long oldClassPK,
long newClassPK)
|
static WorkflowInstanceLink |
updateWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
|
static WorkflowInstanceLink |
updateWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowInstanceLinkLocalServiceUtil
public WorkflowInstanceLinkLocalServiceUtil()
addWorkflowInstanceLink
public static WorkflowInstanceLink addWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
throws SystemException
- Throws:
SystemException
createWorkflowInstanceLink
public static WorkflowInstanceLink createWorkflowInstanceLink(long workflowInstanceLinkId)
deleteWorkflowInstanceLink
public static void deleteWorkflowInstanceLink(long workflowInstanceLinkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWorkflowInstanceLink
public static void deleteWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getWorkflowInstanceLink
public static WorkflowInstanceLink getWorkflowInstanceLink(long workflowInstanceLinkId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWorkflowInstanceLinks
public static List<WorkflowInstanceLink> getWorkflowInstanceLinks(int start,
int end)
throws SystemException
- Throws:
SystemException
getWorkflowInstanceLinksCount
public static int getWorkflowInstanceLinksCount()
throws SystemException
- Throws:
SystemException
updateWorkflowInstanceLink
public static WorkflowInstanceLink updateWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
throws SystemException
- Throws:
SystemException
updateWorkflowInstanceLink
public static WorkflowInstanceLink updateWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink,
boolean merge)
throws SystemException
- Throws:
SystemException
addWorkflowInstanceLink
public static WorkflowInstanceLink addWorkflowInstanceLink(long userId,
long companyId,
long groupId,
String className,
long classPK,
long workflowInstanceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWorkflowInstanceLink
public static void deleteWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWorkflowInstanceLinks
public static void deleteWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getState
public static String getState(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWorkflowInstanceLink
public static WorkflowInstanceLink getWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWorkflowInstanceLinks
public static List<WorkflowInstanceLink> getWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
throws SystemException
- Throws:
SystemException
hasWorkflowInstanceLink
public static boolean hasWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isEnded
public static boolean isEnded(long companyId,
long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
startWorkflowInstance
public static void startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Map<String,Serializable> workflowContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateClassPK
public static void updateClassPK(long companyId,
long groupId,
String className,
long oldClassPK,
long newClassPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WorkflowInstanceLinkLocalService getService()
setService
public void setService(WorkflowInstanceLinkLocalService service)