Class WorkflowDefinitionLinkServiceUtil
Object
com.liferay.portal.kernel.service.WorkflowDefinitionLinkServiceUtil
Provides the remote service utility for WorkflowDefinitionLink. This utility wraps
com.liferay.portal.service.impl.WorkflowDefinitionLinkServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowDefinitionLink
addWorkflowDefinitionLink
(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) static WorkflowDefinitionLink
fetchWorkflowDefinitionLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) static String
Returns the OSGi service identifier.static List<WorkflowDefinitionLink>
getWorkflowDefinitionLinks
(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) static void
setService
(WorkflowDefinitionLinkService service) static WorkflowDefinitionLink
updateWorkflowDefinitionLink
(String externalReferenceCode, long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion)
-
Constructor Details
-
WorkflowDefinitionLinkServiceUtil
public WorkflowDefinitionLinkServiceUtil()
-
-
Method Details
-
addWorkflowDefinitionLink
public static WorkflowDefinitionLink addWorkflowDefinitionLink(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Throws:
PortalException
-
fetchWorkflowDefinitionLinkByExternalReferenceCode
public static WorkflowDefinitionLink fetchWorkflowDefinitionLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWorkflowDefinitionLinks
public static List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Throws:
PortalException
-
updateWorkflowDefinitionLink
public static WorkflowDefinitionLink updateWorkflowDefinitionLink(String externalReferenceCode, long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Throws:
PortalException
-
getService
-
setService
-