Class KaleoTaskLocalServiceWrapper

java.lang.Object
com.liferay.portal.workflow.kaleo.service.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

public class KaleoTaskLocalServiceWrapper extends Object implements KaleoTaskLocalService, com.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
Provides a wrapper for KaleoTaskLocalService.
See Also:
Generated:
  • Constructor Details

    • KaleoTaskLocalServiceWrapper

      public KaleoTaskLocalServiceWrapper()
    • KaleoTaskLocalServiceWrapper

      public KaleoTaskLocalServiceWrapper(KaleoTaskLocalService kaleoTaskLocalService)
  • Method Details

    • addKaleoTask

      public KaleoTask addKaleoTask(KaleoTask kaleoTask)
      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 interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createKaleoTask

      public KaleoTask createKaleoTask(long kaleoTaskId)
      Creates a new kaleo task with the primary key. Does not add the kaleo task to the database.
      Specified by:
      createKaleoTask in interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCompanyKaleoTasks

      public void deleteCompanyKaleoTasks(long companyId)
      Specified by:
      deleteCompanyKaleoTasks in interface KaleoTaskLocalService
    • deleteKaleoDefinitionVersionKaleoTasks

      public void deleteKaleoDefinitionVersionKaleoTasks(long kaleoDefinitionVersionId)
      Specified by:
      deleteKaleoDefinitionVersionKaleoTasks in interface KaleoTaskLocalService
    • deleteKaleoTask

      public KaleoTask deleteKaleoTask(KaleoTask kaleoTask)
      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 interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      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 found
      com.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 interface KaleoTaskLocalService
      Specified by:
      deletePersistedModel in interface com.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 interface KaleoTaskLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface KaleoTaskLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface KaleoTaskLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface KaleoTaskLocalService
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoTaskModelImpl.

      Specified by:
      dynamicQuery in interface KaleoTaskLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoTaskModelImpl.

      Specified by:
      dynamicQuery in interface KaleoTaskLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchKaleoTask

      public KaleoTask fetchKaleoTask(long kaleoTaskId)
      Specified by:
      fetchKaleoTask in interface KaleoTaskLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface KaleoTaskLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface KaleoTaskLocalService
    • getKaleoNodeKaleoTask

      public KaleoTask getKaleoNodeKaleoTask(long kaleoNodeId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getKaleoNodeKaleoTask in interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      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 found
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoTasks

      public List<KaleoTask> getKaleoTasks(int start, int end)
      Returns a range of all the kaleo tasks.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoTaskModelImpl.

      Specified by:
      getKaleoTasks in interface KaleoTaskLocalService
      Parameters:
      start - the lower bound of the range of kaleo tasks
      end - 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 interface KaleoTaskLocalService
      Returns:
      the number of kaleo tasks
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface KaleoTaskLocalService
      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 interface KaleoTaskLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateKaleoTask

      public KaleoTask updateKaleoTask(KaleoTask kaleoTask)
      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 interface KaleoTaskLocalService
      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 interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
      Specified by:
      getCTPersistence in interface KaleoTaskLocalService
    • getModelClass

      public Class<KaleoTask> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
      Specified by:
      getModelClass in interface KaleoTaskLocalService
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTask>
      Specified by:
      updateWithUnsafeFunction in interface KaleoTaskLocalService
      Throws:
      E extends Throwable
    • getWrappedService

      public KaleoTaskLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>
    • setWrappedService

      public void setWrappedService(KaleoTaskLocalService kaleoTaskLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskLocalService>