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.voiddeleteWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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) intReturns the number of workflow instance links.booleanhasWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) booleanvoidsetWrappedService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) voidstartWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext) voidstartWorkflowInstance(long companyId, long groupId, long userId, String className, long classPK, Map<String, Serializable> workflowContext, boolean waitForCompletion) voidupdateClassPK(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, waitMethods 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:
addWorkflowInstanceLinkin 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:
addWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService- Parameters:
workflowInstanceLink- the workflow instance link- Returns:
- the workflow instance link that was added
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Specified by:
createPersistedModelin interfaceWorkflowInstanceLinkLocalService- Throws:
PortalExceptionPortalException
-
createWorkflowInstanceLink
Creates a new workflow instance link with the primary key. Does not add the workflow instance link to the database.- Specified by:
createWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService- Parameters:
workflowInstanceLinkId- the primary key for the new workflow instance link- Returns:
- the new workflow instance link
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Specified by:
deletePersistedModelin interfaceWorkflowInstanceLinkLocalService- Throws:
PortalExceptionPortalException
-
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:
deleteWorkflowInstanceLinkin 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:
deleteWorkflowInstanceLinkin 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:
deleteWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService- Parameters:
workflowInstanceLink- the workflow instance link- Returns:
- the workflow instance link that was removed
- Throws:
PortalExceptionPortalException
-
deleteWorkflowInstanceLinks
public void deleteWorkflowInstanceLinks(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
deleteWorkflowInstanceLinksin interfaceWorkflowInstanceLinkLocalService- Throws:
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacePersistedModelLocalService- Specified by:
dslQueryin interfaceWorkflowInstanceLinkLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePersistedModelLocalService- Specified by:
dslQueryCountin interfaceWorkflowInstanceLinkLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceWorkflowInstanceLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService
-
fetchWorkflowInstanceLink
public WorkflowInstanceLink fetchWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) - Specified by:
fetchWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceWorkflowInstanceLinkLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceWorkflowInstanceLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceWorkflowInstanceLinkLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Specified by:
getPersistedModelin interfaceWorkflowInstanceLinkLocalService- Throws:
PortalExceptionPortalException
-
getState
public String getState(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
getStatein interfaceWorkflowInstanceLinkLocalService- Throws:
PortalException
-
getWorkflowInstanceLink
public WorkflowInstanceLink getWorkflowInstanceLink(long workflowInstanceLinkId) throws PortalException Returns the workflow instance link with the primary key.- Specified by:
getWorkflowInstanceLinkin 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:
getWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService- Throws:
PortalException
-
getWorkflowInstanceLinks
Returns a range of all the workflow instance links.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl.- Specified by:
getWorkflowInstanceLinksin 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:
getWorkflowInstanceLinksin interfaceWorkflowInstanceLinkLocalService
-
getWorkflowInstanceLinksCount
public int getWorkflowInstanceLinksCount()Returns the number of workflow instance links.- Specified by:
getWorkflowInstanceLinksCountin interfaceWorkflowInstanceLinkLocalService- Returns:
- the number of workflow instance links
-
hasWorkflowInstanceLink
public boolean hasWorkflowInstanceLink(long companyId, long groupId, String className, long classPK) - Specified by:
hasWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService
-
isEnded
public boolean isEnded(long companyId, long groupId, String className, long classPK) throws PortalException - Specified by:
isEndedin 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:
startWorkflowInstancein 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:
startWorkflowInstancein interfaceWorkflowInstanceLinkLocalService- Throws:
PortalException
-
updateClassPK
public void updateClassPK(long companyId, long groupId, String className, long oldClassPK, long newClassPK) throws PortalException - Specified by:
updateClassPKin 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:
updateWorkflowInstanceLinkin interfaceWorkflowInstanceLinkLocalService- Parameters:
workflowInstanceLink- the workflow instance link- Returns:
- the workflow instance link that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<WorkflowInstanceLink>- Specified by:
getCTPersistencein interfaceWorkflowInstanceLinkLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<WorkflowInstanceLink>- Specified by:
getModelClassin interfaceWorkflowInstanceLinkLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<WorkflowInstanceLink>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<WorkflowInstanceLink>- Specified by:
updateWithUnsafeFunctionin interfaceWorkflowInstanceLinkLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<WorkflowInstanceLinkLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<WorkflowInstanceLinkLocalService>
-