public class BatchPlannerPolicyLocalServiceWrapper extends java.lang.Object implements BatchPlannerPolicyLocalService, com.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>
BatchPlannerPolicyLocalService
.BatchPlannerPolicyLocalService
Constructor and Description |
---|
BatchPlannerPolicyLocalServiceWrapper() |
BatchPlannerPolicyLocalServiceWrapper(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService) |
Modifier and Type | Method and Description |
---|---|
BatchPlannerPolicy |
addBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
Adds the batch planner policy to the database.
|
BatchPlannerPolicy |
addBatchPlannerPolicy(long userId,
long batchPlannerPlanId,
java.lang.String name,
java.lang.String value) |
BatchPlannerPolicy |
createBatchPlannerPolicy(long batchPlannerPolicyId)
Creates a new batch planner policy with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
BatchPlannerPolicy |
deleteBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
Deletes the batch planner policy from the database.
|
BatchPlannerPolicy |
deleteBatchPlannerPolicy(long batchPlannerPolicyId)
Deletes the batch planner policy with the primary key from the database.
|
BatchPlannerPolicy |
deleteBatchPlannerPolicy(long batchPlannerPlanId,
java.lang.String name) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
BatchPlannerPolicy |
fetchBatchPlannerPolicy(long batchPlannerPolicyId) |
BatchPlannerPolicy |
fetchBatchPlannerPolicy(long batchPlannerPlanId,
java.lang.String name) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<BatchPlannerPolicy> |
getBatchPlannerPolicies(int start,
int end)
Returns a range of all the batch planner policies.
|
java.util.List<BatchPlannerPolicy> |
getBatchPlannerPolicies(long batchPlannerPlanId) |
int |
getBatchPlannerPoliciesCount()
Returns the number of batch planner policies.
|
BatchPlannerPolicy |
getBatchPlannerPolicy(long batchPlannerPolicyId)
Returns the batch planner policy with the primary key.
|
BatchPlannerPolicy |
getBatchPlannerPolicy(long batchPlannerPlanId,
java.lang.String name) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
BatchPlannerPolicyLocalService |
getWrappedService() |
boolean |
hasBatchPlannerPolicy(long batchPlannerPlanId,
java.lang.String name) |
void |
setWrappedService(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService) |
BatchPlannerPolicy |
updateBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
Updates the batch planner policy in the database or adds it if it does not yet exist.
|
BatchPlannerPolicy |
updateBatchPlannerPolicy(long batchPlannerPlanId,
java.lang.String name,
java.lang.String value) |
public BatchPlannerPolicyLocalServiceWrapper()
public BatchPlannerPolicyLocalServiceWrapper(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService)
public BatchPlannerPolicy addBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
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.
addBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicy
- the batch planner policypublic BatchPlannerPolicy addBatchPlannerPolicy(long userId, long batchPlannerPlanId, java.lang.String name, java.lang.String value) throws com.liferay.portal.kernel.exception.PortalException
addBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
com.liferay.portal.kernel.exception.PortalException
public BatchPlannerPolicy createBatchPlannerPolicy(long batchPlannerPolicyId)
createBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicyId
- the primary key for the new batch planner policypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface BatchPlannerPolicyLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public BatchPlannerPolicy deleteBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
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.
deleteBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicy
- the batch planner policypublic BatchPlannerPolicy deleteBatchPlannerPolicy(long batchPlannerPolicyId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicyId
- the primary key of the batch planner policyPortalException
- if a batch planner policy with the primary key could not be foundpublic BatchPlannerPolicy deleteBatchPlannerPolicy(long batchPlannerPlanId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
deleteBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface BatchPlannerPolicyLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface BatchPlannerPolicyLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface BatchPlannerPolicyLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface BatchPlannerPolicyLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface BatchPlannerPolicyLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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.BatchPlannerPolicyModelImpl
.
dynamicQuery
in interface BatchPlannerPolicyLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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.BatchPlannerPolicyModelImpl
.
dynamicQuery
in interface BatchPlannerPolicyLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface BatchPlannerPolicyLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface BatchPlannerPolicyLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic BatchPlannerPolicy fetchBatchPlannerPolicy(long batchPlannerPolicyId)
fetchBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
public BatchPlannerPolicy fetchBatchPlannerPolicy(long batchPlannerPlanId, java.lang.String name)
fetchBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface BatchPlannerPolicyLocalService
public java.util.List<BatchPlannerPolicy> getBatchPlannerPolicies(int start, int end)
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.BatchPlannerPolicyModelImpl
.
getBatchPlannerPolicies
in interface BatchPlannerPolicyLocalService
start
- the lower bound of the range of batch planner policiesend
- the upper bound of the range of batch planner policies (not inclusive)public java.util.List<BatchPlannerPolicy> getBatchPlannerPolicies(long batchPlannerPlanId)
getBatchPlannerPolicies
in interface BatchPlannerPolicyLocalService
public int getBatchPlannerPoliciesCount()
getBatchPlannerPoliciesCount
in interface BatchPlannerPolicyLocalService
public BatchPlannerPolicy getBatchPlannerPolicy(long batchPlannerPolicyId) throws com.liferay.portal.kernel.exception.PortalException
getBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicyId
- the primary key of the batch planner policyPortalException
- if a batch planner policy with the primary key could not be foundpublic BatchPlannerPolicy getBatchPlannerPolicy(long batchPlannerPlanId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
getBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface BatchPlannerPolicyLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface BatchPlannerPolicyLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface BatchPlannerPolicyLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public boolean hasBatchPlannerPolicy(long batchPlannerPlanId, java.lang.String name)
hasBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
public BatchPlannerPolicy updateBatchPlannerPolicy(BatchPlannerPolicy batchPlannerPolicy)
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.
updateBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
batchPlannerPolicy
- the batch planner policypublic BatchPlannerPolicy updateBatchPlannerPolicy(long batchPlannerPlanId, java.lang.String name, java.lang.String value) throws com.liferay.portal.kernel.exception.PortalException
updateBatchPlannerPolicy
in interface BatchPlannerPolicyLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public BatchPlannerPolicyLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>
public void setWrappedService(BatchPlannerPolicyLocalService batchPlannerPolicyLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BatchPlannerPolicyLocalService>