Class KaleoTaskAssignmentLocalServiceWrapper

java.lang.Object
com.liferay.portal.workflow.kaleo.service.KaleoTaskAssignmentLocalServiceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTaskAssignment>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<KaleoTaskAssignmentLocalService>, KaleoTaskAssignmentLocalService

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

    • KaleoTaskAssignmentLocalServiceWrapper

      public KaleoTaskAssignmentLocalServiceWrapper()
    • KaleoTaskAssignmentLocalServiceWrapper

      public KaleoTaskAssignmentLocalServiceWrapper(KaleoTaskAssignmentLocalService kaleoTaskAssignmentLocalService)
  • Method Details

    • addKaleoTaskAssignment

      public KaleoTaskAssignment addKaleoTaskAssignment(KaleoTaskAssignment kaleoTaskAssignment)
      Adds the kaleo task assignment to the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskAssignmentLocalServiceImpl 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:
      addKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignment - the kaleo task assignment
      Returns:
      the kaleo task assignment that was added
    • addKaleoTaskAssignment

      public KaleoTaskAssignment addKaleoTaskAssignment(String kaleoClassName, long kaleoClassPK, long kaleoDefinitionId, long kaleoDefinitionVersionId, com.liferay.portal.workflow.kaleo.definition.Assignment assignment, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createKaleoTaskAssignment

      public KaleoTaskAssignment createKaleoTaskAssignment(long kaleoTaskAssignmentId)
      Creates a new kaleo task assignment with the primary key. Does not add the kaleo task assignment to the database.
      Specified by:
      createKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignmentId - the primary key for the new kaleo task assignment
      Returns:
      the new kaleo task assignment
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface KaleoTaskAssignmentLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCompanyKaleoTaskAssignments

      public void deleteCompanyKaleoTaskAssignments(long companyId)
      Specified by:
      deleteCompanyKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
    • deleteKaleoDefinitionVersionKaleoTaskAssignments

      public void deleteKaleoDefinitionVersionKaleoTaskAssignments(long kaleoDefinitionVersionId)
      Specified by:
      deleteKaleoDefinitionVersionKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
    • deleteKaleoTaskAssignment

      public KaleoTaskAssignment deleteKaleoTaskAssignment(KaleoTaskAssignment kaleoTaskAssignment)
      Deletes the kaleo task assignment from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskAssignmentLocalServiceImpl 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:
      deleteKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignment - the kaleo task assignment
      Returns:
      the kaleo task assignment that was removed
    • deleteKaleoTaskAssignment

      public KaleoTaskAssignment deleteKaleoTaskAssignment(long kaleoTaskAssignmentId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the kaleo task assignment with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskAssignmentLocalServiceImpl 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:
      deleteKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignmentId - the primary key of the kaleo task assignment
      Returns:
      the kaleo task assignment that was removed
      Throws:
      PortalException - if a kaleo task assignment 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 KaleoTaskAssignmentLocalService
      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 KaleoTaskAssignmentLocalService
      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 KaleoTaskAssignmentLocalService
      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 KaleoTaskAssignmentLocalService
    • 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 KaleoTaskAssignmentLocalService
      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.KaleoTaskAssignmentModelImpl.

      Specified by:
      dynamicQuery in interface KaleoTaskAssignmentLocalService
      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.KaleoTaskAssignmentModelImpl.

      Specified by:
      dynamicQuery in interface KaleoTaskAssignmentLocalService
      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 KaleoTaskAssignmentLocalService
      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 KaleoTaskAssignmentLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchKaleoTaskAssignment

      public KaleoTaskAssignment fetchKaleoTaskAssignment(long kaleoTaskAssignmentId)
      Specified by:
      fetchKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
    • getActionableDynamicQuery

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

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

      public KaleoTaskAssignment getKaleoTaskAssignment(long kaleoTaskAssignmentId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the kaleo task assignment with the primary key.
      Specified by:
      getKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignmentId - the primary key of the kaleo task assignment
      Returns:
      the kaleo task assignment
      Throws:
      PortalException - if a kaleo task assignment with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoTaskAssignments

      public List<KaleoTaskAssignment> getKaleoTaskAssignments(int start, int end)
      Returns a range of all the kaleo task assignments.

      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.KaleoTaskAssignmentModelImpl.

      Specified by:
      getKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
      Parameters:
      start - the lower bound of the range of kaleo task assignments
      end - the upper bound of the range of kaleo task assignments (not inclusive)
      Returns:
      the range of kaleo task assignments
    • getKaleoTaskAssignments

      public List<KaleoTaskAssignment> getKaleoTaskAssignments(long kaleoTaskId)
      Specified by:
      getKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
    • getKaleoTaskAssignments

      public List<KaleoTaskAssignment> getKaleoTaskAssignments(long kaleoTaskId, String assigneeClassName)
      Specified by:
      getKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
    • getKaleoTaskAssignments

      public List<KaleoTaskAssignment> getKaleoTaskAssignments(String kaleoClassName, long kaleoClassPK)
      Specified by:
      getKaleoTaskAssignments in interface KaleoTaskAssignmentLocalService
    • getKaleoTaskAssignmentsCount

      public int getKaleoTaskAssignmentsCount()
      Returns the number of kaleo task assignments.
      Specified by:
      getKaleoTaskAssignmentsCount in interface KaleoTaskAssignmentLocalService
      Returns:
      the number of kaleo task assignments
    • getKaleoTaskAssignmentsCount

      public int getKaleoTaskAssignmentsCount(long kaleoTaskId)
      Specified by:
      getKaleoTaskAssignmentsCount in interface KaleoTaskAssignmentLocalService
    • getKaleoTaskAssignmentsCount

      public int getKaleoTaskAssignmentsCount(long kaleoTaskId, String assigneeClassName)
      Specified by:
      getKaleoTaskAssignmentsCount in interface KaleoTaskAssignmentLocalService
    • getOSGiServiceIdentifier

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

      public KaleoTaskAssignment updateKaleoTaskAssignment(KaleoTaskAssignment kaleoTaskAssignment)
      Updates the kaleo task assignment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskAssignmentLocalServiceImpl 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:
      updateKaleoTaskAssignment in interface KaleoTaskAssignmentLocalService
      Parameters:
      kaleoTaskAssignment - the kaleo task assignment
      Returns:
      the kaleo task assignment 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<KaleoTaskAssignment> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTaskAssignment>
      Specified by:
      getCTPersistence in interface KaleoTaskAssignmentLocalService
    • getModelClass

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

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

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

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