Class WorkflowDefinitionLinkLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService
,CTService<WorkflowDefinitionLink>
,PersistedModelLocalService
,ServiceWrapper<WorkflowDefinitionLinkLocalService>
,WorkflowDefinitionLinkLocalService
WorkflowDefinitionLinkLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowDefinitionLinkLocalServiceWrapper
(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowDefinitionLink
(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) addWorkflowDefinitionLink
(WorkflowDefinitionLink workflowDefinitionLink) Adds the workflow definition link to the database.createPersistedModel
(Serializable primaryKeyObj) createWorkflowDefinitionLink
(long workflowDefinitionLinkId) Creates a new workflow definition link with the primary key.deletePersistedModel
(PersistedModel persistedModel) deleteWorkflowDefinitionLink
(long workflowDefinitionLinkId) Deletes the workflow definition link with the primary key from the database.void
deleteWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK) deleteWorkflowDefinitionLink
(WorkflowDefinitionLink workflowDefinitionLink) Deletes the workflow definition link from the database.<T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchDefaultWorkflowDefinitionLink
(long companyId, String className, long classPK, long typePK) fetchWorkflowDefinitionLink
(long workflowDefinitionLinkId) fetchWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK) fetchWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK, boolean strict) fetchWorkflowDefinitionLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchWorkflowDefinitionLinkByUuidAndGroupId
(String uuid, long groupId) Returns the workflow definition link matching the UUID and group.fetchWorkflowDefinitionLinks
(long companyId, long groupId, String className, long classPK) getDefaultWorkflowDefinitionLink
(long companyId, String className, long classPK, long typePK) getExportActionableDynamicQuery
(PortletDataContext portletDataContext) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) getWorkflowDefinitionLink
(long workflowDefinitionLinkId) Returns the workflow definition link with the primary key.getWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK) getWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK, boolean strict) getWorkflowDefinitionLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) getWorkflowDefinitionLinkByUuidAndGroupId
(String uuid, long groupId) Returns the workflow definition link matching the UUID and group.getWorkflowDefinitionLinks
(int start, int end) Returns a range of all the workflow definition links.getWorkflowDefinitionLinks
(long companyId, long groupId, long classPK) getWorkflowDefinitionLinks
(long companyId, long groupId, String className, long classPK) getWorkflowDefinitionLinks
(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) getWorkflowDefinitionLinksByUuidAndCompanyId
(String uuid, long companyId) Returns all the workflow definition links matching the UUID and company.getWorkflowDefinitionLinksByUuidAndCompanyId
(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns a range of workflow definition links matching the UUID and company.int
Returns the number of workflow definition links.int
getWorkflowDefinitionLinksCount
(long companyId, long groupId, String className) int
getWorkflowDefinitionLinksCount
(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) boolean
hasWorkflowDefinitionLink
(long companyId, long groupId, String className) boolean
hasWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK) boolean
hasWorkflowDefinitionLink
(long companyId, long groupId, String className, long classPK, long typePK) void
setWrappedService
(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<CTPersistence<WorkflowDefinitionLink>, R, E> updateUnsafeFunction) void
updateWorkflowDefinitionLink
(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinition) updateWorkflowDefinitionLink
(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) updateWorkflowDefinitionLink
(WorkflowDefinitionLink workflowDefinitionLink) Updates the workflow definition link in the database or adds it if it does not yet exist.updateWorkflowDefinitionLink
(String externalReferenceCode, long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) void
updateWorkflowDefinitionLinks
(long userId, long companyId, long groupId, String className, long classPK, List<ObjectValuePair<Long, String>> workflowDefinitionOVPs) 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
-
WorkflowDefinitionLinkLocalServiceWrapper
public WorkflowDefinitionLinkLocalServiceWrapper() -
WorkflowDefinitionLinkLocalServiceWrapper
public WorkflowDefinitionLinkLocalServiceWrapper(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService)
-
-
Method Details
-
addWorkflowDefinitionLink
public WorkflowDefinitionLink addWorkflowDefinitionLink(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Specified by:
addWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
addWorkflowDefinitionLink
public WorkflowDefinitionLink addWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink) Adds the workflow definition link to the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowDefinitionLinkLocalServiceImpl 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:
addWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLink
- the workflow definition link- Returns:
- the workflow definition link that was added
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Specified by:
createPersistedModel
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
PortalException
-
createWorkflowDefinitionLink
Creates a new workflow definition link with the primary key. Does not add the workflow definition link to the database.- Specified by:
createWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLinkId
- the primary key for the new workflow definition link- Returns:
- the new workflow definition link
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Specified by:
deletePersistedModel
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
PortalException
-
deleteWorkflowDefinitionLink
public WorkflowDefinitionLink deleteWorkflowDefinitionLink(long workflowDefinitionLinkId) throws PortalException Deletes the workflow definition link with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowDefinitionLinkLocalServiceImpl 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:
deleteWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLinkId
- the primary key of the workflow definition link- Returns:
- the workflow definition link that was removed
- Throws:
PortalException
- if a workflow definition link with the primary key could not be foundPortalException
-
deleteWorkflowDefinitionLink
public void deleteWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK) - Specified by:
deleteWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
deleteWorkflowDefinitionLink
public WorkflowDefinitionLink deleteWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink) Deletes the workflow definition link from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowDefinitionLinkLocalServiceImpl 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:
deleteWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLink
- the workflow definition link- Returns:
- the workflow definition link that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacePersistedModelLocalService
- Specified by:
dslQuery
in interfaceWorkflowDefinitionLinkLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceWorkflowDefinitionLinkLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultWorkflowDefinitionLink
public WorkflowDefinitionLink fetchDefaultWorkflowDefinitionLink(long companyId, String className, long classPK, long typePK) - Specified by:
fetchDefaultWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
fetchWorkflowDefinitionLink
- Specified by:
fetchWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
fetchWorkflowDefinitionLink
public WorkflowDefinitionLink fetchWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK) - Specified by:
fetchWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
fetchWorkflowDefinitionLink
public WorkflowDefinitionLink fetchWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK, boolean strict) - Specified by:
fetchWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
fetchWorkflowDefinitionLinkByExternalReferenceCode
public WorkflowDefinitionLink fetchWorkflowDefinitionLinkByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchWorkflowDefinitionLinkByExternalReferenceCode
in interfaceWorkflowDefinitionLinkLocalService
-
fetchWorkflowDefinitionLinkByUuidAndGroupId
public WorkflowDefinitionLink fetchWorkflowDefinitionLinkByUuidAndGroupId(String uuid, long groupId) Returns the workflow definition link matching the UUID and group.- Specified by:
fetchWorkflowDefinitionLinkByUuidAndGroupId
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
uuid
- the workflow definition link's UUIDgroupId
- the primary key of the group- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
fetchWorkflowDefinitionLinks
public List<WorkflowDefinitionLink> fetchWorkflowDefinitionLinks(long companyId, long groupId, String className, long classPK) - Specified by:
fetchWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
-
getDefaultWorkflowDefinitionLink
public WorkflowDefinitionLink getDefaultWorkflowDefinitionLink(long companyId, String className, long classPK, long typePK) throws PortalException - Specified by:
getDefaultWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceWorkflowDefinitionLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceWorkflowDefinitionLinkLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Specified by:
getPersistedModel
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
PortalException
-
getWorkflowDefinitionLink
public WorkflowDefinitionLink getWorkflowDefinitionLink(long workflowDefinitionLinkId) throws PortalException Returns the workflow definition link with the primary key.- Specified by:
getWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLinkId
- the primary key of the workflow definition link- Returns:
- the workflow definition link
- Throws:
PortalException
- if a workflow definition link with the primary key could not be foundPortalException
-
getWorkflowDefinitionLink
public WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK) throws PortalException - Specified by:
getWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLink
public WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK, boolean strict) throws PortalException - Specified by:
getWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLinkByExternalReferenceCode
public WorkflowDefinitionLink getWorkflowDefinitionLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getWorkflowDefinitionLinkByExternalReferenceCode
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLinkByUuidAndGroupId
public WorkflowDefinitionLink getWorkflowDefinitionLinkByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the workflow definition link matching the UUID and group.- Specified by:
getWorkflowDefinitionLinkByUuidAndGroupId
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
uuid
- the workflow definition link's UUIDgroupId
- the primary key of the group- Returns:
- the matching workflow definition link
- Throws:
PortalException
- if a matching workflow definition link could not be foundPortalException
-
getWorkflowDefinitionLinks
Returns a range of all the workflow definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
.- Specified by:
getWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)- Returns:
- the range of workflow definition links
-
getWorkflowDefinitionLinks
public List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(long companyId, long groupId, long classPK) throws PortalException - Specified by:
getWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLinks
public List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
getWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLinks
public List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Specified by:
getWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getWorkflowDefinitionLinksByUuidAndCompanyId
public List<WorkflowDefinitionLink> getWorkflowDefinitionLinksByUuidAndCompanyId(String uuid, long companyId) Returns all the workflow definition links matching the UUID and company.- Specified by:
getWorkflowDefinitionLinksByUuidAndCompanyId
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
uuid
- the UUID of the workflow definition linkscompanyId
- the primary key of the company- Returns:
- the matching workflow definition links, or an empty list if no matches were found
-
getWorkflowDefinitionLinksByUuidAndCompanyId
public List<WorkflowDefinitionLink> getWorkflowDefinitionLinksByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns a range of workflow definition links matching the UUID and company.- Specified by:
getWorkflowDefinitionLinksByUuidAndCompanyId
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
uuid
- the UUID of the workflow definition linkscompanyId
- the primary key of the companystart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching workflow definition links, or an empty list if no matches were found
-
getWorkflowDefinitionLinksCount
public int getWorkflowDefinitionLinksCount()Returns the number of workflow definition links.- Specified by:
getWorkflowDefinitionLinksCount
in interfaceWorkflowDefinitionLinkLocalService
- Returns:
- the number of workflow definition links
-
getWorkflowDefinitionLinksCount
- Specified by:
getWorkflowDefinitionLinksCount
in interfaceWorkflowDefinitionLinkLocalService
-
getWorkflowDefinitionLinksCount
public int getWorkflowDefinitionLinksCount(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) - Specified by:
getWorkflowDefinitionLinksCount
in interfaceWorkflowDefinitionLinkLocalService
-
hasWorkflowDefinitionLink
- Specified by:
hasWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
hasWorkflowDefinitionLink
public boolean hasWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK) - Specified by:
hasWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
hasWorkflowDefinitionLink
public boolean hasWorkflowDefinitionLink(long companyId, long groupId, String className, long classPK, long typePK) - Specified by:
hasWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
-
updateWorkflowDefinitionLink
public void updateWorkflowDefinitionLink(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinition) throws PortalException - Specified by:
updateWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
updateWorkflowDefinitionLink
public WorkflowDefinitionLink updateWorkflowDefinitionLink(long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Specified by:
updateWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
updateWorkflowDefinitionLink
public WorkflowDefinitionLink updateWorkflowDefinitionLink(String externalReferenceCode, long userId, long companyId, long groupId, String className, long classPK, long typePK, String workflowDefinitionName, int workflowDefinitionVersion) throws PortalException - Specified by:
updateWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
updateWorkflowDefinitionLink
public WorkflowDefinitionLink updateWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink) Updates the workflow definition link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect WorkflowDefinitionLinkLocalServiceImpl 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:
updateWorkflowDefinitionLink
in interfaceWorkflowDefinitionLinkLocalService
- Parameters:
workflowDefinitionLink
- the workflow definition link- Returns:
- the workflow definition link that was updated
-
updateWorkflowDefinitionLinks
public void updateWorkflowDefinitionLinks(long userId, long companyId, long groupId, String className, long classPK, List<ObjectValuePair<Long, String>> workflowDefinitionOVPs) throws PortalException- Specified by:
updateWorkflowDefinitionLinks
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<WorkflowDefinitionLink>
- Specified by:
getCTPersistence
in interfaceWorkflowDefinitionLinkLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<WorkflowDefinitionLink>
- Specified by:
getModelClass
in interfaceWorkflowDefinitionLinkLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<WorkflowDefinitionLink>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<WorkflowDefinitionLink>
- Specified by:
updateWithUnsafeFunction
in interfaceWorkflowDefinitionLinkLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<WorkflowDefinitionLinkLocalService>
-
setWrappedService
public void setWrappedService(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) - Specified by:
setWrappedService
in interfaceServiceWrapper<WorkflowDefinitionLinkLocalService>
-