Class KaleoTaskLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>,KaleoTaskLocalService
KaleoTaskLocalService.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKaleoTask(long kaleoDefinitionId, long kaleoDefinitionVersionId, long kaleoNodeId, com.liferay.portal.workflow.kaleo.definition.Task task, com.liferay.portal.kernel.service.ServiceContext serviceContext) addKaleoTask(KaleoTask kaleoTask) Adds the kaleo task to the database.createKaleoTask(long kaleoTaskId) Creates a new kaleo task with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteCompanyKaleoTasks(long companyId) voiddeleteKaleoDefinitionVersionKaleoTasks(long kaleoDefinitionVersionId) deleteKaleoTask(long kaleoTaskId) Deletes the kaleo task with the primary key from the database.deleteKaleoTask(KaleoTask kaleoTask) Deletes the kaleo task from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchKaleoTask(long kaleoTaskId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetKaleoNodeKaleoTask(long kaleoNodeId) getKaleoTask(long kaleoTaskId) Returns the kaleo task with the primary key.getKaleoTasks(int start, int end) Returns a range of all the kaleo tasks.intReturns the number of kaleo tasks.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(KaleoTaskLocalService kaleoTaskLocalService) updateKaleoTask(KaleoTask kaleoTask) Updates the kaleo task in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>, R, E> updateUnsafeFunction) 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
-
KaleoTaskLocalServiceWrapper
public KaleoTaskLocalServiceWrapper() -
KaleoTaskLocalServiceWrapper
-
-
Method Details
-
addKaleoTask
Adds the kaleo task to the database. Also notifies the appropriate model listeners.Important: Inspect KaleoTaskLocalServiceImpl 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:
addKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTask- the kaleo task- Returns:
- the kaleo task that was added
-
addKaleoTask
public KaleoTask addKaleoTask(long kaleoDefinitionId, long kaleoDefinitionVersionId, long kaleoNodeId, com.liferay.portal.workflow.kaleo.definition.Task task, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addKaleoTaskin interfaceKaleoTaskLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createKaleoTask
Creates a new kaleo task with the primary key. Does not add the kaleo task to the database.- Specified by:
createKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTaskId- the primary key for the new kaleo task- Returns:
- the new kaleo task
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceKaleoTaskLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteCompanyKaleoTasks
public void deleteCompanyKaleoTasks(long companyId) - Specified by:
deleteCompanyKaleoTasksin interfaceKaleoTaskLocalService
-
deleteKaleoDefinitionVersionKaleoTasks
public void deleteKaleoDefinitionVersionKaleoTasks(long kaleoDefinitionVersionId) - Specified by:
deleteKaleoDefinitionVersionKaleoTasksin interfaceKaleoTaskLocalService
-
deleteKaleoTask
Deletes the kaleo task from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoTaskLocalServiceImpl 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:
deleteKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTask- the kaleo task- Returns:
- the kaleo task that was removed
-
deleteKaleoTask
public KaleoTask deleteKaleoTask(long kaleoTaskId) throws com.liferay.portal.kernel.exception.PortalException Deletes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoTaskLocalServiceImpl 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:
deleteKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTaskId- the primary key of the kaleo task- Returns:
- the kaleo task that was removed
- Throws:
PortalException- if a kaleo task with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceKaleoTaskLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceKaleoTaskLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceKaleoTaskLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceKaleoTaskLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceKaleoTaskLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) 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.workflow.kaleo.model.impl.KaleoTaskModelImpl.- Specified by:
dynamicQueryin interfaceKaleoTaskLocalService- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.workflow.kaleo.model.impl.KaleoTaskModelImpl.- Specified by:
dynamicQueryin interfaceKaleoTaskLocalService- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKaleoTaskLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKaleoTaskLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchKaleoTask
- Specified by:
fetchKaleoTaskin interfaceKaleoTaskLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceKaleoTaskLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceKaleoTaskLocalService
-
getKaleoNodeKaleoTask
public KaleoTask getKaleoNodeKaleoTask(long kaleoNodeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKaleoNodeKaleoTaskin interfaceKaleoTaskLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoTask
public KaleoTask getKaleoTask(long kaleoTaskId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo task with the primary key.- Specified by:
getKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTaskId- the primary key of the kaleo task- Returns:
- the kaleo task
- Throws:
PortalException- if a kaleo task with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getKaleoTasks
Returns a range of all the kaleo tasks.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.workflow.kaleo.model.impl.KaleoTaskModelImpl.- Specified by:
getKaleoTasksin interfaceKaleoTaskLocalService- Parameters:
start- the lower bound of the range of kaleo tasksend- the upper bound of the range of kaleo tasks (not inclusive)- Returns:
- the range of kaleo tasks
-
getKaleoTasksCount
public int getKaleoTasksCount()Returns the number of kaleo tasks.- Specified by:
getKaleoTasksCountin interfaceKaleoTaskLocalService- Returns:
- the number of kaleo tasks
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceKaleoTaskLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceKaleoTaskLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateKaleoTask
Updates the kaleo task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect KaleoTaskLocalServiceImpl 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:
updateKaleoTaskin interfaceKaleoTaskLocalService- Parameters:
kaleoTask- the kaleo task- Returns:
- the kaleo task that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>- Specified by:
getCTPersistencein interfaceKaleoTaskLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>- Specified by:
getModelClassin interfaceKaleoTaskLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>- Specified by:
updateWithUnsafeFunctionin interfaceKaleoTaskLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
-