@ProviderType public class KaleoDraftDefinitionLocalServiceWrapper extends java.lang.Object implements KaleoDraftDefinitionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<KaleoDraftDefinitionLocalService>
KaleoDraftDefinitionLocalService.KaleoDraftDefinitionLocalService| Constructor and Description |
|---|
KaleoDraftDefinitionLocalServiceWrapper(KaleoDraftDefinitionLocalService kaleoDraftDefinitionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
KaleoDraftDefinition |
addKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition)
Adds the kaleo draft definition to the database.
|
KaleoDraftDefinition |
addKaleoDraftDefinition(long userId,
long groupId,
java.lang.String name,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
int version,
int draftVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KaleoDraftDefinition |
createKaleoDraftDefinition(long kaleoDraftDefinitionId)
Creates a new kaleo draft definition with the primary key.
|
KaleoDraftDefinition |
deleteKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition)
Deletes the kaleo draft definition from the database.
|
KaleoDraftDefinition |
deleteKaleoDraftDefinition(long kaleoDraftDefinitionId)
Deletes the kaleo draft definition with the primary key from the database.
|
KaleoDraftDefinition |
deleteKaleoDraftDefinition(java.lang.String name,
int version,
int draftVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteKaleoDraftDefinitions(java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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.
|
KaleoDraftDefinition |
fetchKaleoDraftDefinition(long kaleoDraftDefinitionId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
KaleoDraftDefinition |
getKaleoDraftDefinition(long kaleoDraftDefinitionId)
Returns the kaleo draft definition with the primary key.
|
KaleoDraftDefinition |
getKaleoDraftDefinition(java.lang.String name,
int version,
int draftVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<KaleoDraftDefinition> |
getKaleoDraftDefinitions(int start,
int end)
Returns a range of all the kaleo draft definitions.
|
java.util.List<KaleoDraftDefinition> |
getKaleoDraftDefinitions(java.lang.String name,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
int |
getKaleoDraftDefinitionsCount()
Returns the number of kaleo draft definitions.
|
int |
getKaleoDraftDefinitionsCount(java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KaleoDraftDefinition |
getLatestKaleoDraftDefinition(java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<KaleoDraftDefinition> |
getLatestKaleoDraftDefinitions(long companyId,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
java.util.List<KaleoDraftDefinition> |
getLatestKaleoDraftDefinitions(long companyId,
java.lang.String keywords,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
int |
getLatestKaleoDraftDefinitionsCount(long companyId,
int version) |
int |
getLatestKaleoDraftDefinitionsCount(long companyId,
java.lang.String keywords,
int version) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
KaleoDraftDefinitionLocalService |
getWrappedService() |
KaleoDraftDefinition |
incrementKaleoDraftDefinitionDraftVersion(long userId,
java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KaleoDraftDefinition |
publishKaleoDraftDefinition(long userId,
long groupId,
java.lang.String name,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setWrappedService(KaleoDraftDefinitionLocalService kaleoDraftDefinitionLocalService) |
KaleoDraftDefinition |
updateKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition)
Updates the kaleo draft definition in the database or adds it if it does not yet exist.
|
KaleoDraftDefinition |
updateKaleoDraftDefinition(long userId,
java.lang.String name,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public KaleoDraftDefinitionLocalServiceWrapper(KaleoDraftDefinitionLocalService kaleoDraftDefinitionLocalService)
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface KaleoDraftDefinitionLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface KaleoDraftDefinitionLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface KaleoDraftDefinitionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicedeletePersistedModel in interface KaleoDraftDefinitionLocalServicePortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicegetPersistedModel in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition addKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition)
addKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinition - the kaleo draft definitionpublic KaleoDraftDefinition addKaleoDraftDefinition(long userId, long groupId, java.lang.String name, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, int version, int draftVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition createKaleoDraftDefinition(long kaleoDraftDefinitionId)
createKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinitionId - the primary key for the new kaleo draft definitionpublic KaleoDraftDefinition deleteKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition) throws com.liferay.portal.kernel.exception.PortalException
deleteKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinition - the kaleo draft definitionPortalExceptionpublic KaleoDraftDefinition deleteKaleoDraftDefinition(java.lang.String name, int version, int draftVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
deleteKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition deleteKaleoDraftDefinition(long kaleoDraftDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
deleteKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinitionId - the primary key of the kaleo draft definitionPortalException - if a kaleo draft definition with the primary key could not be foundpublic KaleoDraftDefinition fetchKaleoDraftDefinition(long kaleoDraftDefinitionId)
fetchKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicepublic KaleoDraftDefinition getKaleoDraftDefinition(java.lang.String name, int version, int draftVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
getKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition getKaleoDraftDefinition(long kaleoDraftDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
getKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinitionId - the primary key of the kaleo draft definitionPortalException - if a kaleo draft definition with the primary key could not be foundpublic KaleoDraftDefinition getLatestKaleoDraftDefinition(java.lang.String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
getLatestKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition incrementKaleoDraftDefinitionDraftVersion(long userId, java.lang.String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
incrementKaleoDraftDefinitionDraftVersion in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition publishKaleoDraftDefinition(long userId, long groupId, java.lang.String name, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
publishKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinition updateKaleoDraftDefinition(KaleoDraftDefinition kaleoDraftDefinition)
updateKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicekaleoDraftDefinition - the kaleo draft definitionpublic KaleoDraftDefinition updateKaleoDraftDefinition(long userId, java.lang.String name, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateKaleoDraftDefinition in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getKaleoDraftDefinitionsCount()
getKaleoDraftDefinitionsCount in interface KaleoDraftDefinitionLocalServicepublic int getKaleoDraftDefinitionsCount(java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
getKaleoDraftDefinitionsCount in interface KaleoDraftDefinitionLocalServicepublic int getLatestKaleoDraftDefinitionsCount(long companyId,
int version)
getLatestKaleoDraftDefinitionsCount in interface KaleoDraftDefinitionLocalServicepublic int getLatestKaleoDraftDefinitionsCount(long companyId,
java.lang.String keywords,
int version)
getLatestKaleoDraftDefinitionsCount in interface KaleoDraftDefinitionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface KaleoDraftDefinitionLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface KaleoDraftDefinitionLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.designer.model.impl.KaleoDraftDefinitionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface KaleoDraftDefinitionLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.designer.model.impl.KaleoDraftDefinitionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface KaleoDraftDefinitionLocalServicedynamicQuery - 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 java.util.List<KaleoDraftDefinition> getKaleoDraftDefinitions(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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.designer.model.impl.KaleoDraftDefinitionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getKaleoDraftDefinitions in interface KaleoDraftDefinitionLocalServicestart - the lower bound of the range of kaleo draft definitionsend - the upper bound of the range of kaleo draft definitions (not inclusive)public java.util.List<KaleoDraftDefinition> getKaleoDraftDefinitions(java.lang.String name, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext)
getKaleoDraftDefinitions in interface KaleoDraftDefinitionLocalServicepublic java.util.List<KaleoDraftDefinition> getLatestKaleoDraftDefinitions(long companyId, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
getLatestKaleoDraftDefinitions in interface KaleoDraftDefinitionLocalServicepublic java.util.List<KaleoDraftDefinition> getLatestKaleoDraftDefinitions(long companyId, java.lang.String keywords, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
getLatestKaleoDraftDefinitions in interface KaleoDraftDefinitionLocalServicepublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface KaleoDraftDefinitionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface KaleoDraftDefinitionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void deleteKaleoDraftDefinitions(java.lang.String name,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
deleteKaleoDraftDefinitions in interface KaleoDraftDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic KaleoDraftDefinitionLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KaleoDraftDefinitionLocalService>public void setWrappedService(KaleoDraftDefinitionLocalService kaleoDraftDefinitionLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KaleoDraftDefinitionLocalService>