com.liferay.portal.service.impl
Class WorkflowInstanceLinkLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl
com.liferay.portal.service.impl.WorkflowInstanceLinkLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, WorkflowInstanceLinkLocalService
public class WorkflowInstanceLinkLocalServiceImpl
- extends WorkflowInstanceLinkLocalServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, counterLocalService, persistedModelLocalServiceRegistry, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
|
Method Summary |
WorkflowInstanceLink |
addWorkflowInstanceLink(long userId,
long companyId,
long groupId,
String className,
long classPK,
long workflowInstanceId)
|
WorkflowInstanceLink |
deleteWorkflowInstanceLink(long workflowInstanceLinkId)
Deletes the workflow instance link with the primary key from the database. |
WorkflowInstanceLink |
deleteWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
WorkflowInstanceLink |
deleteWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
Deletes the workflow instance link from the database. |
void |
deleteWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
|
WorkflowInstanceLink |
fetchWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
String |
getState(long companyId,
long groupId,
String className,
long classPK)
|
WorkflowInstanceLink |
getWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
List<WorkflowInstanceLink> |
getWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
|
boolean |
hasWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
|
boolean |
isEnded(long companyId,
long groupId,
String className,
long classPK)
|
void |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Map<String,Serializable> workflowContext)
|
void |
updateClassPK(long companyId,
long groupId,
String className,
long oldClassPK,
long newClassPK)
|
| Methods inherited from class com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl |
addWorkflowInstanceLink, afterPropertiesSet, createWorkflowInstanceLink, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchWorkflowInstanceLink, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getWorkflowInstanceLink, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, getWorkflowInstanceLinks, getWorkflowInstanceLinksCount, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateWorkflowInstanceLink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowInstanceLinkLocalServiceImpl
public WorkflowInstanceLinkLocalServiceImpl()
addWorkflowInstanceLink
public WorkflowInstanceLink addWorkflowInstanceLink(long userId,
long companyId,
long groupId,
String className,
long classPK,
long workflowInstanceId)
throws PortalException
- Throws:
PortalException
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(long workflowInstanceLinkId)
throws PortalException
- Description copied from class:
WorkflowInstanceLinkLocalServiceBaseImpl
- Deletes the workflow instance link with the primary key from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteWorkflowInstanceLink in interface WorkflowInstanceLinkLocalService- Overrides:
deleteWorkflowInstanceLink in class WorkflowInstanceLinkLocalServiceBaseImpl
- Parameters:
workflowInstanceLinkId - the primary key of the workflow instance link
- Returns:
- the workflow instance link that was removed
- Throws:
PortalException - if a workflow instance link with the primary key could not be found
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink)
throws PortalException
- Description copied from class:
WorkflowInstanceLinkLocalServiceBaseImpl
- Deletes the workflow instance link from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteWorkflowInstanceLink in interface WorkflowInstanceLinkLocalService- Overrides:
deleteWorkflowInstanceLink in class WorkflowInstanceLinkLocalServiceBaseImpl
- Parameters:
workflowInstanceLink - the workflow instance link
- Returns:
- the workflow instance link that was removed
- Throws:
PortalException
deleteWorkflowInstanceLinks
public void deleteWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
fetchWorkflowInstanceLink
public WorkflowInstanceLink fetchWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
getState
public String getState(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
getWorkflowInstanceLink
public WorkflowInstanceLink getWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
getWorkflowInstanceLinks
public List<WorkflowInstanceLink> getWorkflowInstanceLinks(long companyId,
long groupId,
String className,
long classPK)
hasWorkflowInstanceLink
public boolean hasWorkflowInstanceLink(long companyId,
long groupId,
String className,
long classPK)
isEnded
public boolean isEnded(long companyId,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
startWorkflowInstance
public void startWorkflowInstance(long companyId,
long groupId,
long userId,
String className,
long classPK,
Map<String,Serializable> workflowContext)
throws PortalException
- Throws:
PortalException
updateClassPK
public void updateClassPK(long companyId,
long groupId,
String className,
long oldClassPK,
long newClassPK)
throws PortalException
- Throws:
PortalException