Class BatchPlannerPlanLocalServiceWrapper

java.lang.Object
com.liferay.batch.planner.service.BatchPlannerPlanLocalServiceWrapper
All Implemented Interfaces:
BatchPlannerPlanLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPlanLocalService>

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

    • BatchPlannerPlanLocalServiceWrapper

      public BatchPlannerPlanLocalServiceWrapper()
    • BatchPlannerPlanLocalServiceWrapper

      public BatchPlannerPlanLocalServiceWrapper(BatchPlannerPlanLocalService batchPlannerPlanLocalService)
  • Method Details

    • addBatchPlannerPlan

      public BatchPlannerPlan addBatchPlannerPlan(BatchPlannerPlan batchPlannerPlan)
      Adds the batch planner plan to the database. Also notifies the appropriate model listeners.

      Important: Inspect BatchPlannerPlanLocalServiceImpl 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:
      addBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlan - the batch planner plan
      Returns:
      the batch planner plan that was added
    • addBatchPlannerPlan

      public BatchPlannerPlan addBatchPlannerPlan(long userId, boolean export, String externalType, String externalURL, String internalClassName, String name, int size, String taskItemDelegateName, boolean template) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createBatchPlannerPlan

      public BatchPlannerPlan createBatchPlannerPlan(long batchPlannerPlanId)
      Creates a new batch planner plan with the primary key. Does not add the batch planner plan to the database.
      Specified by:
      createBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlanId - the primary key for the new batch planner plan
      Returns:
      the new batch planner plan
    • createPersistedModel

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

      public void deactivateBatchPlannerPlan(String batchEngineTaskERC)
      Specified by:
      deactivateBatchPlannerPlan in interface BatchPlannerPlanLocalService
    • deleteBatchPlannerPlan

      public BatchPlannerPlan deleteBatchPlannerPlan(BatchPlannerPlan batchPlannerPlan) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the batch planner plan from the database. Also notifies the appropriate model listeners.

      Important: Inspect BatchPlannerPlanLocalServiceImpl 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:
      deleteBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlan - the batch planner plan
      Returns:
      the batch planner plan that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteBatchPlannerPlan

      public BatchPlannerPlan deleteBatchPlannerPlan(long batchPlannerPlanId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the batch planner plan with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect BatchPlannerPlanLocalServiceImpl 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:
      deleteBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlanId - the primary key of the batch planner plan
      Returns:
      the batch planner plan that was removed
      Throws:
      PortalException - if a batch planner plan 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 BatchPlannerPlanLocalService
      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 BatchPlannerPlanLocalService
      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 BatchPlannerPlanLocalService
      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 BatchPlannerPlanLocalService
    • 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 BatchPlannerPlanLocalService
      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.batch.planner.model.impl.BatchPlannerPlanModelImpl.

      Specified by:
      dynamicQuery in interface BatchPlannerPlanLocalService
      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.batch.planner.model.impl.BatchPlannerPlanModelImpl.

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

      public BatchPlannerPlan fetchBatchPlannerPlan(long batchPlannerPlanId)
      Specified by:
      fetchBatchPlannerPlan in interface BatchPlannerPlanLocalService
    • getActionableDynamicQuery

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

      public BatchPlannerPlan getBatchPlannerPlan(long batchPlannerPlanId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the batch planner plan with the primary key.
      Specified by:
      getBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlanId - the primary key of the batch planner plan
      Returns:
      the batch planner plan
      Throws:
      PortalException - if a batch planner plan with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getBatchPlannerPlans

      public List<BatchPlannerPlan> getBatchPlannerPlans(int start, int end)
      Returns a range of all the batch planner plans.

      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.batch.planner.model.impl.BatchPlannerPlanModelImpl.

      Specified by:
      getBatchPlannerPlans in interface BatchPlannerPlanLocalService
      Parameters:
      start - the lower bound of the range of batch planner plans
      end - the upper bound of the range of batch planner plans (not inclusive)
      Returns:
      the range of batch planner plans
    • getBatchPlannerPlansCount

      public int getBatchPlannerPlansCount()
      Returns the number of batch planner plans.
      Specified by:
      getBatchPlannerPlansCount in interface BatchPlannerPlanLocalService
      Returns:
      the number of batch planner plans
    • getIndexableActionableDynamicQuery

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

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

      public BatchPlannerPlan updateBatchPlannerPlan(BatchPlannerPlan batchPlannerPlan)
      Updates the batch planner plan in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect BatchPlannerPlanLocalServiceImpl 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:
      updateBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Parameters:
      batchPlannerPlan - the batch planner plan
      Returns:
      the batch planner plan that was updated
    • updateBatchPlannerPlan

      public BatchPlannerPlan updateBatchPlannerPlan(long batchPlannerPlanId, String externalType, String internalClassName, String name) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateBatchPlannerPlan in interface BatchPlannerPlanLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public BatchPlannerPlan updateStatus(long batchPlannerPlanId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateStatus in interface BatchPlannerPlanLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

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

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