public class ObjectStateLocalServiceWrapper extends java.lang.Object implements ObjectStateLocalService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectStateLocalService>
ObjectStateLocalService.ObjectStateLocalService| Constructor and Description |
|---|
ObjectStateLocalServiceWrapper() |
ObjectStateLocalServiceWrapper(ObjectStateLocalService objectStateLocalService) |
| Modifier and Type | Method and Description |
|---|---|
ObjectState |
addObjectState(long userId,
long listTypeEntryId,
long objectStateFlowId) |
ObjectState |
addObjectState(ObjectState objectState)
Adds the object state to the database.
|
ObjectState |
createObjectState(long objectStateId)
Creates a new object state with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteListTypeEntryObjectStates(long listTypeEntryId) |
ObjectState |
deleteObjectState(long objectStateId)
Deletes the object state with the primary key from the database.
|
ObjectState |
deleteObjectState(ObjectState objectState)
Deletes the object state from the database.
|
void |
deleteObjectStateFlowObjectStates(long objectStateFlowId) |
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.
|
ObjectState |
fetchObjectState(long objectStateId) |
ObjectState |
fetchObjectStateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object state with the matching UUID and company.
|
ObjectState |
fetchObjectStateFlowObjectState(long listTypeEntryId,
long objectStateFlowId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<ObjectState> |
getNextObjectStates(long sourceObjectStateId) |
ObjectState |
getObjectState(long objectStateId)
Returns the object state with the primary key.
|
ObjectState |
getObjectStateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object state with the matching UUID and company.
|
ObjectState |
getObjectStateFlowObjectState(long listTypeEntryId,
long objectStateFlowId) |
java.util.List<ObjectState> |
getObjectStateFlowObjectStates(long objectStateFlowId) |
java.util.List<ObjectState> |
getObjectStates(int start,
int end)
Returns a range of all the object states.
|
int |
getObjectStatesCount()
Returns the number of object states.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ObjectStateLocalService |
getWrappedService() |
void |
setWrappedService(ObjectStateLocalService objectStateLocalService) |
ObjectState |
updateObjectState(ObjectState objectState)
Updates the object state in the database or adds it if it does not yet exist.
|
public ObjectStateLocalServiceWrapper()
public ObjectStateLocalServiceWrapper(ObjectStateLocalService objectStateLocalService)
public ObjectState addObjectState(long userId, long listTypeEntryId, long objectStateFlowId) throws com.liferay.portal.kernel.exception.PortalException
addObjectState in interface ObjectStateLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic ObjectState addObjectState(ObjectState objectState)
Important: Inspect ObjectStateLocalServiceImpl 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.
addObjectState in interface ObjectStateLocalServiceobjectState - the object statepublic ObjectState createObjectState(long objectStateId)
createObjectState in interface ObjectStateLocalServiceobjectStateId - the primary key for the new object statepublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface ObjectStateLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteListTypeEntryObjectStates(long listTypeEntryId)
deleteListTypeEntryObjectStates in interface ObjectStateLocalServicepublic ObjectState deleteObjectState(long objectStateId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect ObjectStateLocalServiceImpl 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.
deleteObjectState in interface ObjectStateLocalServiceobjectStateId - the primary key of the object statePortalException - if a object state with the primary key could not be foundpublic ObjectState deleteObjectState(ObjectState objectState)
Important: Inspect ObjectStateLocalServiceImpl 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.
deleteObjectState in interface ObjectStateLocalServiceobjectState - the object statepublic void deleteObjectStateFlowObjectStates(long objectStateFlowId)
deleteObjectStateFlowObjectStates in interface ObjectStateLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface ObjectStateLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface ObjectStateLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface ObjectStateLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface ObjectStateLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface ObjectStateLocalServicedynamicQuery - 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.object.model.impl.ObjectStateModelImpl.
dynamicQuery in interface ObjectStateLocalServicedynamicQuery - 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.object.model.impl.ObjectStateModelImpl.
dynamicQuery in interface ObjectStateLocalServicedynamicQuery - 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 ObjectStateLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface ObjectStateLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic ObjectState fetchObjectState(long objectStateId)
fetchObjectState in interface ObjectStateLocalServicepublic ObjectState fetchObjectStateByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchObjectStateByUuidAndCompanyId in interface ObjectStateLocalServiceuuid - the object state's UUIDcompanyId - the primary key of the companynull if a matching object state could not be foundpublic ObjectState fetchObjectStateFlowObjectState(long listTypeEntryId, long objectStateFlowId)
fetchObjectStateFlowObjectState in interface ObjectStateLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ObjectStateLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface ObjectStateLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ObjectStateLocalServicepublic java.util.List<ObjectState> getNextObjectStates(long sourceObjectStateId)
getNextObjectStates in interface ObjectStateLocalServicepublic ObjectState getObjectState(long objectStateId) throws com.liferay.portal.kernel.exception.PortalException
getObjectState in interface ObjectStateLocalServiceobjectStateId - the primary key of the object statePortalException - if a object state with the primary key could not be foundpublic ObjectState getObjectStateByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getObjectStateByUuidAndCompanyId in interface ObjectStateLocalServiceuuid - the object state's UUIDcompanyId - the primary key of the companyPortalException - if a matching object state could not be foundpublic ObjectState getObjectStateFlowObjectState(long listTypeEntryId, long objectStateFlowId) throws com.liferay.portal.kernel.exception.PortalException
getObjectStateFlowObjectState in interface ObjectStateLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<ObjectState> getObjectStateFlowObjectStates(long objectStateFlowId)
getObjectStateFlowObjectStates in interface ObjectStateLocalServicepublic java.util.List<ObjectState> getObjectStates(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.object.model.impl.ObjectStateModelImpl.
getObjectStates in interface ObjectStateLocalServicestart - the lower bound of the range of object statesend - the upper bound of the range of object states (not inclusive)public int getObjectStatesCount()
getObjectStatesCount in interface ObjectStateLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ObjectStateLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface ObjectStateLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic ObjectState updateObjectState(ObjectState objectState)
Important: Inspect ObjectStateLocalServiceImpl 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.
updateObjectState in interface ObjectStateLocalServiceobjectState - the object statepublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic ObjectStateLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectStateLocalService>public void setWrappedService(ObjectStateLocalService objectStateLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectStateLocalService>