Class WorkflowInstanceLinkLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService
,CTService<WorkflowInstanceLink>
,PersistedModelLocalService
,ServiceWrapper<WorkflowInstanceLinkLocalService>
,WorkflowInstanceLinkLocalService
WorkflowInstanceLinkLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowInstanceLinkLocalServiceWrapper
(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowInstanceLink
(long userId, long companyId, long groupId, String className, long classPK, long workflowInstanceId) addWorkflowInstanceLink
(WorkflowInstanceLink workflowInstanceLink) Adds the workflow instance link to the database.createPersistedModel
(Serializable primaryKeyObj) createWorkflowInstanceLink
(long workflowInstanceLinkId) Creates a new workflow instance link with the primary key.deletePersistedModel
(PersistedModel persistedModel) deleteWorkflowInstanceLink
(long workflowInstanceLinkId) Deletes the workflow instance link with the primary key from the database.deleteWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) deleteWorkflowInstanceLink
(WorkflowInstanceLink workflowInstanceLink) Deletes the workflow instance link from the database.void
deleteWorkflowInstanceLinks
(long companyId, long groupId, String className, long classPK) <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.fetchWorkflowInstanceLink
(long workflowInstanceLinkId) fetchWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) getWorkflowInstanceLink
(long workflowInstanceLinkId) Returns the workflow instance link with the primary key.getWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) getWorkflowInstanceLinks
(int start, int end) Returns a range of all the workflow instance links.getWorkflowInstanceLinks
(long companyId, long groupId, String className, long classPK) int
Returns the number of workflow instance links.boolean
hasWorkflowInstanceLink
(long companyId, long groupId, String className, long classPK) boolean
void
setWrappedService
(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) 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) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<CTPersistence<WorkflowInstanceLink>, R, E> updateUnsafeFunction) updateWorkflowInstanceLink
(WorkflowInstanceLink workflowInstanceLink) Updates the workflow instance link in the database or adds it if it does not yet exist.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
-
WorkflowInstanceLinkLocalServiceWrapper
public WorkflowInstanceLinkLocalServiceWrapper() -
WorkflowInstanceLinkLocalServiceWrapper
public WorkflowInstanceLinkLocalServiceWrapper(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
-
-
Method Details
-
addWorkflowInstanceLink
public WorkflowInstanceLink addWorkflowInstanceLink(long userId, long companyId, long groupId, String className, long classPK, long workflowInstanceId) throws PortalException - Specified by:
addWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
addWorkflowInstanceLink
Adds the workflow instance link to 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:
addWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Parameters:
workflowInstanceLink
- the workflow instance link- Returns:
- the workflow instance link that was added
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Specified by:
createPersistedModel
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
PortalException
-
createWorkflowInstanceLink
Creates a new workflow instance link with the primary key. Does not add the workflow instance link to the database.- Specified by:
createWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Parameters:
workflowInstanceLinkId
- the primary key for the new workflow instance link- Returns:
- the new workflow instance link
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Specified by:
deletePersistedModel
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
PortalException
-
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(long workflowInstanceLinkId) throws PortalException 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 interfaceWorkflowInstanceLinkLocalService
- 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 foundPortalException
-
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
deleteWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
deleteWorkflowInstanceLink
public WorkflowInstanceLink deleteWorkflowInstanceLink(WorkflowInstanceLink workflowInstanceLink) throws PortalException 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 interfaceWorkflowInstanceLinkLocalService
- Parameters:
workflowInstanceLink
- the workflow instance link- Returns:
- the workflow instance link that was removed
- Throws:
PortalException
PortalException
-
deleteWorkflowInstanceLinks
public void deleteWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
deleteWorkflowInstanceLinks
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacePersistedModelLocalService
- Specified by:
dslQuery
in interfaceWorkflowInstanceLinkLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceWorkflowInstanceLinkLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceWorkflowInstanceLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceWorkflowInstanceLinkLocalService
- 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.WorkflowInstanceLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceWorkflowInstanceLinkLocalService
- 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.WorkflowInstanceLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceWorkflowInstanceLinkLocalService
- 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 interfaceWorkflowInstanceLinkLocalService
- 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 interfaceWorkflowInstanceLinkLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchWorkflowInstanceLink
- Specified by:
fetchWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
-
fetchWorkflowInstanceLink
public WorkflowInstanceLink fetchWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) - Specified by:
fetchWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceWorkflowInstanceLinkLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceWorkflowInstanceLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceWorkflowInstanceLinkLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Specified by:
getPersistedModel
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
PortalException
-
getState
public String getState(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
getState
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
getWorkflowInstanceLink
public WorkflowInstanceLink getWorkflowInstanceLink(long workflowInstanceLinkId) throws PortalException Returns the workflow instance link with the primary key.- Specified by:
getWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Parameters:
workflowInstanceLinkId
- the primary key of the workflow instance link- Returns:
- the workflow instance link
- Throws:
PortalException
- if a workflow instance link with the primary key could not be foundPortalException
-
getWorkflowInstanceLink
public WorkflowInstanceLink getWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
getWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
getWorkflowInstanceLinks
Returns a range of all the workflow instance 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.WorkflowInstanceLinkModelImpl
.- Specified by:
getWorkflowInstanceLinks
in interfaceWorkflowInstanceLinkLocalService
- Parameters:
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)- Returns:
- the range of workflow instance links
-
getWorkflowInstanceLinks
public List<WorkflowInstanceLink> getWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) - Specified by:
getWorkflowInstanceLinks
in interfaceWorkflowInstanceLinkLocalService
-
getWorkflowInstanceLinksCount
public int getWorkflowInstanceLinksCount()Returns the number of workflow instance links.- Specified by:
getWorkflowInstanceLinksCount
in interfaceWorkflowInstanceLinkLocalService
- Returns:
- the number of workflow instance links
-
hasWorkflowInstanceLink
public boolean hasWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) - Specified by:
hasWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
-
isEnded
public boolean isEnded(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
isEnded
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
startWorkflowInstance
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
startWorkflowInstance
public void startWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext, boolean waitForCompletion) throws PortalException- Specified by:
startWorkflowInstance
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
updateClassPK
public void updateClassPK(long companyId, long groupId, String className, long oldClassPK, long newClassPK) throws PortalException - Specified by:
updateClassPK
in interfaceWorkflowInstanceLinkLocalService
- Throws:
PortalException
-
updateWorkflowInstanceLink
Updates the workflow instance link in the database or adds it if it does not yet exist. 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:
updateWorkflowInstanceLink
in interfaceWorkflowInstanceLinkLocalService
- Parameters:
workflowInstanceLink
- the workflow instance link- Returns:
- the workflow instance link that was updated
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<WorkflowInstanceLink>
- Specified by:
getCTPersistence
in interfaceWorkflowInstanceLinkLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<WorkflowInstanceLink>
- Specified by:
getModelClass
in interfaceWorkflowInstanceLinkLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<WorkflowInstanceLink>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<WorkflowInstanceLink>
- Specified by:
updateWithUnsafeFunction
in interfaceWorkflowInstanceLinkLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<WorkflowInstanceLinkLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<WorkflowInstanceLinkLocalService>
-