Package com.liferay.portal.service.impl
Class WorkflowInstanceLinkLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl
com.liferay.portal.service.impl.WorkflowInstanceLinkLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.WorkflowInstanceLink>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService
- Author:
- Brian Wing Shun Chan, Bruno Farache, Marcellus Tavares
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl
counterLocalService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.WorkflowInstanceLink
addWorkflowInstanceLink
(long userId, long companyId, long groupId, String className, long classPK, long workflowInstanceId) com.liferay.portal.kernel.model.WorkflowInstanceLink
deleteWorkflowInstanceLink
(long workflowInstanceLinkId) Deletes the workflow instance link with the primary key from the database.com.liferay.portal.kernel.model.WorkflowInstanceLink
deleteWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) com.liferay.portal.kernel.model.WorkflowInstanceLink
deleteWorkflowInstanceLink
(com.liferay.portal.kernel.model.WorkflowInstanceLink workflowInstanceLink) Deletes the workflow instance link from the database.void
deleteWorkflowInstanceLinks
(long companyId, long groupId, String className, long classPK) com.liferay.portal.kernel.model.WorkflowInstanceLink
fetchWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) com.liferay.portal.kernel.model.WorkflowInstanceLink
getWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) List<com.liferay.portal.kernel.model.WorkflowInstanceLink>
getWorkflowInstanceLinks
(long companyId, long groupId, String className, long classPK) boolean
hasWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) boolean
void
startWorkflowInstance
(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext) void
startWorkflowInstance
(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext, boolean waitForCompletion) void
updateClassPK
(long companyId, long groupId, String className, long oldClassPK, long newClassPK) Methods inherited from class com.liferay.portal.service.base.WorkflowInstanceLinkLocalServiceBaseImpl
addWorkflowInstanceLink, afterPropertiesSet, createPersistedModel, createWorkflowInstanceLink, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchWorkflowInstanceLink, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getWorkflowInstanceLink, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, getWorkflowInstanceLinks, getWorkflowInstanceLinksCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateWithUnsafeFunction, updateWorkflowInstanceLink
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
WorkflowInstanceLinkLocalServiceImpl
public WorkflowInstanceLinkLocalServiceImpl()
-
-
Method Details
-
addWorkflowInstanceLink
public com.liferay.portal.kernel.model.WorkflowInstanceLink addWorkflowInstanceLink(long userId, long companyId, long groupId, String className, long classPK, long workflowInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteWorkflowInstanceLink
public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(long workflowInstanceLinkId) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:WorkflowInstanceLinkLocalServiceBaseImpl
Deletes the workflow instance link with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowInstanceLinkLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteWorkflowInstanceLink
in interfacecom.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService
- Overrides:
deleteWorkflowInstanceLink
in classWorkflowInstanceLinkLocalServiceBaseImpl
- Parameters:
workflowInstanceLinkId
- the primary key of the workflow instance link- Returns:
- the workflow instance link that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a workflow instance link with the primary key could not be found
-
deleteWorkflowInstanceLink
public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteWorkflowInstanceLink
@SystemEvent(type=1) public com.liferay.portal.kernel.model.WorkflowInstanceLink deleteWorkflowInstanceLink(com.liferay.portal.kernel.model.WorkflowInstanceLink workflowInstanceLink) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:WorkflowInstanceLinkLocalServiceBaseImpl
Deletes the workflow instance link from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowInstanceLinkLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteWorkflowInstanceLink
in interfacecom.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService
- Overrides:
deleteWorkflowInstanceLink
in classWorkflowInstanceLinkLocalServiceBaseImpl
- Parameters:
workflowInstanceLink
- the workflow instance link- Returns:
- the workflow instance link that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteWorkflowInstanceLinks
public void deleteWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchWorkflowInstanceLink
public com.liferay.portal.kernel.model.WorkflowInstanceLink fetchWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) -
getState
public String getState(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWorkflowInstanceLink
public com.liferay.portal.kernel.model.WorkflowInstanceLink getWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWorkflowInstanceLinks
-
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 com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext, boolean waitForCompletion) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateClassPK
public void updateClassPK(long companyId, long groupId, String className, long oldClassPK, long newClassPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-