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.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteCompanyKaleoTasks
(long companyId) void
deleteKaleoDefinitionVersionKaleoTasks
(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.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchKaleoTask
(long kaleoTaskId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getKaleoNodeKaleoTask
(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.int
Returns the number of kaleo tasks.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(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, wait
Methods 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:
addKaleoTask
in 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:
addKaleoTask
in 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:
createKaleoTask
in 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:
createPersistedModel
in interfaceKaleoTaskLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyKaleoTasks
public void deleteCompanyKaleoTasks(long companyId) - Specified by:
deleteCompanyKaleoTasks
in interfaceKaleoTaskLocalService
-
deleteKaleoDefinitionVersionKaleoTasks
public void deleteKaleoDefinitionVersionKaleoTasks(long kaleoDefinitionVersionId) - Specified by:
deleteKaleoDefinitionVersionKaleoTasks
in 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:
deleteKaleoTask
in 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:
deleteKaleoTask
in 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:
deletePersistedModel
in interfaceKaleoTaskLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceKaleoTaskLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceKaleoTaskLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceKaleoTaskLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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.workflow.kaleo.model.impl.KaleoTaskModelImpl
.- Specified by:
dynamicQuery
in 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 - 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.workflow.kaleo.model.impl.KaleoTaskModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchKaleoTask
in interfaceKaleoTaskLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceKaleoTaskLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceKaleoTaskLocalService
-
getKaleoNodeKaleoTask
public KaleoTask getKaleoNodeKaleoTask(long kaleoNodeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKaleoNodeKaleoTask
in 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:
getKaleoTask
in 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 - 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.workflow.kaleo.model.impl.KaleoTaskModelImpl
.- Specified by:
getKaleoTasks
in 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:
getKaleoTasksCount
in interfaceKaleoTaskLocalService
- Returns:
- the number of kaleo tasks
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
getPersistedModel
in interfaceKaleoTaskLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.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:
updateKaleoTask
in 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:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
- Specified by:
getCTPersistence
in interfaceKaleoTaskLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
- Specified by:
updateWithUnsafeFunction
in interfaceKaleoTaskLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
-