Class BatchPlannerPolicyLocalServiceWrapper
- All Implemented Interfaces:
BatchPlannerPolicyLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>
BatchPlannerPolicyLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchPlannerPolicyLocalServiceWrapper(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddBatchPlannerPolicy(long userId, long batchPlannerPlanId, String name, String value) addBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy) Adds the batch planner policy to the database.createBatchPlannerPolicy(long batchPlannerPolicyId) Creates a new batch planner policy with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteBatchPlannerPolicy(long batchPlannerPolicyId) Deletes the batch planner policy with the primary key from the database.deleteBatchPlannerPolicy(long batchPlannerPlanId, String name) deleteBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy) Deletes the batch planner policy from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchBatchPlannerPolicy(long batchPlannerPolicyId) fetchBatchPlannerPolicy(long batchPlannerPlanId, String name) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getBatchPlannerPolicies(int start, int end) Returns a range of all the batch planner policies.getBatchPlannerPolicies(long batchPlannerPlanId) intReturns the number of batch planner policies.getBatchPlannerPolicy(long batchPlannerPolicyId) Returns the batch planner policy with the primary key.getBatchPlannerPolicy(long batchPlannerPlanId, String name) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) booleanhasBatchPlannerPolicy(long batchPlannerPlanId, String name) voidsetWrappedService(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService) updateBatchPlannerPolicy(long batchPlannerPlanId, String name, String value) updateBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy) Updates the batch planner policy in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
BatchPlannerPolicyLocalServiceWrapper
public BatchPlannerPolicyLocalServiceWrapper() -
BatchPlannerPolicyLocalServiceWrapper
public BatchPlannerPolicyLocalServiceWrapper(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService)
-
-
Method Details
-
addBatchPlannerPolicy
Adds the batch planner policy to the database. Also notifies the appropriate model listeners.Important: Inspect BatchPlannerPolicyLocalServiceImpl 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:
addBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicy- the batch planner policy- Returns:
- the batch planner policy that was added
-
addBatchPlannerPolicy
public BatchPlannerPolicy addBatchPlannerPolicy(long userId, long batchPlannerPlanId, String name, String value) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createBatchPlannerPolicy
Creates a new batch planner policy with the primary key. Does not add the batch planner policy to the database.- Specified by:
createBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicyId- the primary key for the new batch planner policy- Returns:
- the new batch planner policy
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceBatchPlannerPolicyLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteBatchPlannerPolicy
Deletes the batch planner policy from the database. Also notifies the appropriate model listeners.Important: Inspect BatchPlannerPolicyLocalServiceImpl 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:
deleteBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicy- the batch planner policy- Returns:
- the batch planner policy that was removed
-
deleteBatchPlannerPolicy
public BatchPlannerPolicy deleteBatchPlannerPolicy(long batchPlannerPolicyId) throws com.liferay.portal.kernel.exception.PortalException Deletes the batch planner policy with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect BatchPlannerPolicyLocalServiceImpl 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:
deleteBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicyId- the primary key of the batch planner policy- Returns:
- the batch planner policy that was removed
- Throws:
PortalException- if a batch planner policy with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteBatchPlannerPolicy
public BatchPlannerPolicy deleteBatchPlannerPolicy(long batchPlannerPlanId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Throws:
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:
deletePersistedModelin interfaceBatchPlannerPolicyLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceBatchPlannerPolicyLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceBatchPlannerPolicyLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceBatchPlannerPolicyLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceBatchPlannerPolicyLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.batch.planner.model.impl.BatchPlannerPolicyModelImpl.- Specified by:
dynamicQueryin interfaceBatchPlannerPolicyLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.batch.planner.model.impl.BatchPlannerPolicyModelImpl.- Specified by:
dynamicQueryin interfaceBatchPlannerPolicyLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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:
dynamicQueryCountin interfaceBatchPlannerPolicyLocalService- 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:
dynamicQueryCountin interfaceBatchPlannerPolicyLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchBatchPlannerPolicy
- Specified by:
fetchBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService
-
fetchBatchPlannerPolicy
- Specified by:
fetchBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceBatchPlannerPolicyLocalService
-
getBatchPlannerPolicies
Returns a range of all the batch planner policies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.batch.planner.model.impl.BatchPlannerPolicyModelImpl.- Specified by:
getBatchPlannerPoliciesin interfaceBatchPlannerPolicyLocalService- Parameters:
start- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)- Returns:
- the range of batch planner policies
-
getBatchPlannerPolicies
- Specified by:
getBatchPlannerPoliciesin interfaceBatchPlannerPolicyLocalService
-
getBatchPlannerPoliciesCount
public int getBatchPlannerPoliciesCount()Returns the number of batch planner policies.- Specified by:
getBatchPlannerPoliciesCountin interfaceBatchPlannerPolicyLocalService- Returns:
- the number of batch planner policies
-
getBatchPlannerPolicy
public BatchPlannerPolicy getBatchPlannerPolicy(long batchPlannerPolicyId) throws com.liferay.portal.kernel.exception.PortalException Returns the batch planner policy with the primary key.- Specified by:
getBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicyId- the primary key of the batch planner policy- Returns:
- the batch planner policy
- Throws:
PortalException- if a batch planner policy with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getBatchPlannerPolicy
public BatchPlannerPolicy getBatchPlannerPolicy(long batchPlannerPlanId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceBatchPlannerPolicyLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceBatchPlannerPolicyLocalService- 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:
getPersistedModelin interfaceBatchPlannerPolicyLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
hasBatchPlannerPolicy
- Specified by:
hasBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService
-
updateBatchPlannerPolicy
Updates the batch planner policy in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect BatchPlannerPolicyLocalServiceImpl 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:
updateBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Parameters:
batchPlannerPolicy- the batch planner policy- Returns:
- the batch planner policy that was updated
-
updateBatchPlannerPolicy
public BatchPlannerPolicy updateBatchPlannerPolicy(long batchPlannerPlanId, String name, String value) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateBatchPlannerPolicyin interfaceBatchPlannerPolicyLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>
-