Class KaleoTaskFormLocalServiceWrapper

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

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

    • KaleoTaskFormLocalServiceWrapper

      public KaleoTaskFormLocalServiceWrapper()
    • KaleoTaskFormLocalServiceWrapper

      public KaleoTaskFormLocalServiceWrapper(KaleoTaskFormLocalService kaleoTaskFormLocalService)
  • Method Details

    • addKaleoTaskForm

      public KaleoTaskForm addKaleoTaskForm(KaleoTaskForm kaleoTaskForm)
      Adds the kaleo task form to the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskFormLocalServiceImpl 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:
      addKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskForm - the kaleo task form
      Returns:
      the kaleo task form that was added
    • addKaleoTaskForm

      public KaleoTaskForm addKaleoTaskForm(long kaleoDefinitionId, long kaleoDefinitionVersionId, long kaleoNodeId, KaleoTask kaleoTask, com.liferay.portal.workflow.kaleo.definition.TaskForm taskForm, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addKaleoTaskForm in interface KaleoTaskFormLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createKaleoTaskForm

      public KaleoTaskForm createKaleoTaskForm(long kaleoTaskFormId)
      Creates a new kaleo task form with the primary key. Does not add the kaleo task form to the database.
      Specified by:
      createKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskFormId - the primary key for the new kaleo task form
      Returns:
      the new kaleo task form
    • createPersistedModel

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

      public void deleteCompanyKaleoTaskForms(long companyId)
      Specified by:
      deleteCompanyKaleoTaskForms in interface KaleoTaskFormLocalService
    • deleteKaleoDefinitionVersionKaleoTaskForms

      public void deleteKaleoDefinitionVersionKaleoTaskForms(long kaleoDefinitionVersionId)
      Specified by:
      deleteKaleoDefinitionVersionKaleoTaskForms in interface KaleoTaskFormLocalService
    • deleteKaleoTaskForm

      public KaleoTaskForm deleteKaleoTaskForm(KaleoTaskForm kaleoTaskForm)
      Deletes the kaleo task form from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskFormLocalServiceImpl 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:
      deleteKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskForm - the kaleo task form
      Returns:
      the kaleo task form that was removed
    • deleteKaleoTaskForm

      public KaleoTaskForm deleteKaleoTaskForm(long kaleoTaskFormId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the kaleo task form with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskFormLocalServiceImpl 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:
      deleteKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskFormId - the primary key of the kaleo task form
      Returns:
      the kaleo task form that was removed
      Throws:
      PortalException - if a kaleo task form 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 KaleoTaskFormLocalService
      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 KaleoTaskFormLocalService
      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 KaleoTaskFormLocalService
      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 KaleoTaskFormLocalService
    • 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 KaleoTaskFormLocalService
      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.KaleoTaskFormModelImpl.

      Specified by:
      dynamicQuery in interface KaleoTaskFormLocalService
      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.KaleoTaskFormModelImpl.

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

      public KaleoTaskForm fetchKaleoTaskForm(long kaleoTaskFormId)
      Specified by:
      fetchKaleoTaskForm in interface KaleoTaskFormLocalService
    • getActionableDynamicQuery

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

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

      public KaleoTaskForm getKaleoTaskForm(long kaleoTaskFormId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the kaleo task form with the primary key.
      Specified by:
      getKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskFormId - the primary key of the kaleo task form
      Returns:
      the kaleo task form
      Throws:
      PortalException - if a kaleo task form with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoTaskForms

      public List<KaleoTaskForm> getKaleoTaskForms(int start, int end)
      Returns a range of all the kaleo task forms.

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

      Specified by:
      getKaleoTaskForms in interface KaleoTaskFormLocalService
      Parameters:
      start - the lower bound of the range of kaleo task forms
      end - the upper bound of the range of kaleo task forms (not inclusive)
      Returns:
      the range of kaleo task forms
    • getKaleoTaskForms

      public List<KaleoTaskForm> getKaleoTaskForms(long kaleoTaskId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getKaleoTaskForms in interface KaleoTaskFormLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoTaskFormsCount

      public int getKaleoTaskFormsCount()
      Returns the number of kaleo task forms.
      Specified by:
      getKaleoTaskFormsCount in interface KaleoTaskFormLocalService
      Returns:
      the number of kaleo task forms
    • getOSGiServiceIdentifier

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

      public KaleoTaskForm updateKaleoTaskForm(KaleoTaskForm kaleoTaskForm)
      Updates the kaleo task form in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect KaleoTaskFormLocalServiceImpl 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:
      updateKaleoTaskForm in interface KaleoTaskFormLocalService
      Parameters:
      kaleoTaskForm - the kaleo task form
      Returns:
      the kaleo task form 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<KaleoTaskForm> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoTaskForm>
      Specified by:
      getCTPersistence in interface KaleoTaskFormLocalService
    • getModelClass

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

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

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

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