Class KaleoActionLocalServiceWrapper

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

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

    • KaleoActionLocalServiceWrapper

      public KaleoActionLocalServiceWrapper()
    • KaleoActionLocalServiceWrapper

      public KaleoActionLocalServiceWrapper(KaleoActionLocalService kaleoActionLocalService)
  • Method Details

    • addKaleoAction

      public KaleoAction addKaleoAction(KaleoAction kaleoAction)
      Adds the kaleo action to the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoActionLocalServiceImpl 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:
      addKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoAction - the kaleo action
      Returns:
      the kaleo action that was added
    • addKaleoAction

      public KaleoAction addKaleoAction(String kaleoClassName, long kaleoClassPK, long kaleoDefinitionId, long kaleoDefinitionVersionId, String kaleoNodeName, com.liferay.portal.workflow.kaleo.definition.Action action, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addKaleoAction in interface KaleoActionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createKaleoAction

      public KaleoAction createKaleoAction(long kaleoActionId)
      Creates a new kaleo action with the primary key. Does not add the kaleo action to the database.
      Specified by:
      createKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoActionId - the primary key for the new kaleo action
      Returns:
      the new kaleo action
    • createPersistedModel

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

      public void deleteCompanyKaleoActions(long companyId)
      Specified by:
      deleteCompanyKaleoActions in interface KaleoActionLocalService
    • deleteKaleoAction

      public KaleoAction deleteKaleoAction(KaleoAction kaleoAction)
      Deletes the kaleo action from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoActionLocalServiceImpl 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:
      deleteKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoAction - the kaleo action
      Returns:
      the kaleo action that was removed
    • deleteKaleoAction

      public KaleoAction deleteKaleoAction(long kaleoActionId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the kaleo action with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoActionLocalServiceImpl 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:
      deleteKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoActionId - the primary key of the kaleo action
      Returns:
      the kaleo action that was removed
      Throws:
      PortalException - if a kaleo action with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteKaleoDefinitionVersionKaleoActions

      public void deleteKaleoDefinitionVersionKaleoActions(long kaleoDefinitionVersionId)
      Specified by:
      deleteKaleoDefinitionVersionKaleoActions in interface KaleoActionLocalService
    • 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 KaleoActionLocalService
      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 KaleoActionLocalService
      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 KaleoActionLocalService
      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 KaleoActionLocalService
    • 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 KaleoActionLocalService
      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.KaleoActionModelImpl.

      Specified by:
      dynamicQuery in interface KaleoActionLocalService
      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.KaleoActionModelImpl.

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

      public KaleoAction fetchKaleoAction(long kaleoActionId)
      Specified by:
      fetchKaleoAction in interface KaleoActionLocalService
    • getActionableDynamicQuery

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

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

      public KaleoAction getKaleoAction(long kaleoActionId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the kaleo action with the primary key.
      Specified by:
      getKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoActionId - the primary key of the kaleo action
      Returns:
      the kaleo action
      Throws:
      PortalException - if a kaleo action with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoActions

      public List<KaleoAction> getKaleoActions(int start, int end)
      Returns a range of all the kaleo actions.

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

      Specified by:
      getKaleoActions in interface KaleoActionLocalService
      Parameters:
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of kaleo actions
    • getKaleoActions

      public List<KaleoAction> getKaleoActions(long companyId, String kaleoClassName, long kaleoClassPK)
      Specified by:
      getKaleoActions in interface KaleoActionLocalService
    • getKaleoActions

      public List<KaleoAction> getKaleoActions(long companyId, String kaleoClassName, long kaleoClassPK, String executionType)
      Specified by:
      getKaleoActions in interface KaleoActionLocalService
    • getKaleoActionsCount

      public int getKaleoActionsCount()
      Returns the number of kaleo actions.
      Specified by:
      getKaleoActionsCount in interface KaleoActionLocalService
      Returns:
      the number of kaleo actions
    • getOSGiServiceIdentifier

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

      public KaleoAction updateKaleoAction(KaleoAction kaleoAction)
      Updates the kaleo action in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect KaleoActionLocalServiceImpl 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:
      updateKaleoAction in interface KaleoActionLocalService
      Parameters:
      kaleoAction - the kaleo action
      Returns:
      the kaleo action 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<KaleoAction> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoAction>
      Specified by:
      getCTPersistence in interface KaleoActionLocalService
    • getModelClass

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

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

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

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