public class DefinitionLocalServiceWrapper extends java.lang.Object implements DefinitionLocalService, ServiceWrapper<DefinitionLocalService>
DefinitionLocalService.DefinitionLocalService| Constructor and Description |
|---|
DefinitionLocalServiceWrapper(DefinitionLocalService definitionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
Definition |
addDefinition(Definition definition)
Adds the definition to the database.
|
Definition |
addDefinition(long userId,
long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long sourceId,
java.lang.String reportParameters,
java.lang.String fileName,
java.io.InputStream inputStream,
ServiceContext serviceContext) |
Definition |
createDefinition(long definitionId)
Creates a new definition with the primary key.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
Definition |
deleteDefinition(Definition definition)
Deletes the definition from the database.
|
Definition |
deleteDefinition(long definitionId)
Deletes the definition with the primary key from the database.
|
void |
deleteDefinitions(long groupId) |
void |
deleteDefinitionTemplates(long companyId,
java.lang.String attachmentsDirectory) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
Definition |
fetchDefinition(long definitionId) |
Definition |
fetchDefinitionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the definition matching the UUID and group.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
Definition |
getDefinition(long definitionId)
Returns the definition with the primary key.
|
Definition |
getDefinitionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the definition matching the UUID and group.
|
java.util.List<Definition> |
getDefinitions(int start,
int end)
Returns a range of all the definitions.
|
java.util.List<Definition> |
getDefinitions(long groupId,
java.lang.String definitionName,
java.lang.String description,
java.lang.String sourceId,
java.lang.String reportName,
boolean andSearch,
int start,
int end,
OrderByComparator<Definition> orderByComparator) |
java.util.List<Definition> |
getDefinitionsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the definitions matching the UUID and company.
|
java.util.List<Definition> |
getDefinitionsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<Definition> orderByComparator)
Returns a range of definitions matching the UUID and company.
|
int |
getDefinitionsCount()
Returns the number of definitions.
|
int |
getDefinitionsCount(long groupId,
java.lang.String definitionName,
java.lang.String description,
java.lang.String sourceId,
java.lang.String reportName,
boolean andSearch) |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DefinitionLocalService |
getWrappedService() |
void |
setWrappedService(DefinitionLocalService definitionLocalService) |
Definition |
updateDefinition(Definition definition)
Updates the definition in the database or adds it if it does not yet exist.
|
Definition |
updateDefinition(long definitionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long sourceId,
java.lang.String reportParameters,
java.lang.String fileName,
java.io.InputStream inputStream,
ServiceContext serviceContext) |
void |
updateDefinitionResources(Definition definition,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic DefinitionLocalServiceWrapper(DefinitionLocalService definitionLocalService)
public Definition addDefinition(Definition definition)
addDefinition in interface DefinitionLocalServicedefinition - the definitionpublic Definition addDefinition(long userId, long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long sourceId, java.lang.String reportParameters, java.lang.String fileName, java.io.InputStream inputStream, ServiceContext serviceContext) throws PortalException
addDefinition in interface DefinitionLocalServicePortalExceptionpublic Definition createDefinition(long definitionId)
createDefinition in interface DefinitionLocalServicedefinitionId - the primary key for the new definitionpublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface DefinitionLocalServicePortalExceptionpublic Definition deleteDefinition(Definition definition) throws PortalException
deleteDefinition in interface DefinitionLocalServicedefinition - the definitionPortalExceptionpublic Definition deleteDefinition(long definitionId) throws PortalException
deleteDefinition in interface DefinitionLocalServicedefinitionId - the primary key of the definitionPortalException - if a definition with the primary key could not be foundpublic void deleteDefinitions(long groupId)
throws PortalException
deleteDefinitions in interface DefinitionLocalServicePortalExceptionpublic void deleteDefinitionTemplates(long companyId,
java.lang.String attachmentsDirectory)
throws PortalException
deleteDefinitionTemplates in interface DefinitionLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface DefinitionLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface DefinitionLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DefinitionLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DefinitionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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.portal.reports.engine.console.model.impl.DefinitionModelImpl.
dynamicQuery in interface DefinitionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery, int start, int end, 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.portal.reports.engine.console.model.impl.DefinitionModelImpl.
dynamicQuery in interface DefinitionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DefinitionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DefinitionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic Definition fetchDefinition(long definitionId)
fetchDefinition in interface DefinitionLocalServicepublic Definition fetchDefinitionByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDefinitionByUuidAndGroupId in interface DefinitionLocalServiceuuid - the definition's UUIDgroupId - the primary key of the groupnull if a matching definition could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DefinitionLocalServicepublic Definition getDefinition(long definitionId) throws PortalException
getDefinition in interface DefinitionLocalServicedefinitionId - the primary key of the definitionPortalException - if a definition with the primary key could not be foundpublic Definition getDefinitionByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException
getDefinitionByUuidAndGroupId in interface DefinitionLocalServiceuuid - the definition's UUIDgroupId - the primary key of the groupPortalException - if a matching definition could not be foundpublic java.util.List<Definition> getDefinitions(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.portal.reports.engine.console.model.impl.DefinitionModelImpl.
getDefinitions in interface DefinitionLocalServicestart - the lower bound of the range of definitionsend - the upper bound of the range of definitions (not inclusive)public java.util.List<Definition> getDefinitions(long groupId, java.lang.String definitionName, java.lang.String description, java.lang.String sourceId, java.lang.String reportName, boolean andSearch, int start, int end, OrderByComparator<Definition> orderByComparator)
getDefinitions in interface DefinitionLocalServicepublic java.util.List<Definition> getDefinitionsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDefinitionsByUuidAndCompanyId in interface DefinitionLocalServiceuuid - the UUID of the definitionscompanyId - the primary key of the companypublic java.util.List<Definition> getDefinitionsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<Definition> orderByComparator)
getDefinitionsByUuidAndCompanyId in interface DefinitionLocalServiceuuid - the UUID of the definitionscompanyId - the primary key of the companystart - the lower bound of the range of definitionsend - the upper bound of the range of definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getDefinitionsCount()
getDefinitionsCount in interface DefinitionLocalServicepublic int getDefinitionsCount(long groupId,
java.lang.String definitionName,
java.lang.String description,
java.lang.String sourceId,
java.lang.String reportName,
boolean andSearch)
getDefinitionsCount in interface DefinitionLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DefinitionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DefinitionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DefinitionLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DefinitionLocalServicePortalExceptionpublic Definition updateDefinition(Definition definition)
updateDefinition in interface DefinitionLocalServicedefinition - the definitionpublic Definition updateDefinition(long definitionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long sourceId, java.lang.String reportParameters, java.lang.String fileName, java.io.InputStream inputStream, ServiceContext serviceContext) throws PortalException
updateDefinition in interface DefinitionLocalServicePortalExceptionpublic void updateDefinitionResources(Definition definition, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws PortalException
updateDefinitionResources in interface DefinitionLocalServicePortalExceptionpublic DefinitionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DefinitionLocalService>public void setWrappedService(DefinitionLocalService definitionLocalService)
setWrappedService in interface ServiceWrapper<DefinitionLocalService>