@ProviderType public class DDLRecordSetLocalServiceWrapper extends java.lang.Object implements DDLRecordSetLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetLocalService>
DDLRecordSetLocalService.DDLRecordSetLocalService| Constructor and Description |
|---|
DDLRecordSetLocalServiceWrapper(DDLRecordSetLocalService ddlRecordSetLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DDLRecordSet |
addDDLRecordSet(DDLRecordSet ddlRecordSet)
Adds the d d l record set to the database.
|
DDLRecordSet |
addRecordSet(long userId,
long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
int scope,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Adds a record set referencing the DDM structure.
|
void |
addRecordSetResources(DDLRecordSet recordSet,
boolean addGroupPermissions,
boolean addGuestPermissions)
Adds the resources to the record set.
|
void |
addRecordSetResources(DDLRecordSet recordSet,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
Adds the model resources with the permissions to the record set.
|
DDLRecordSet |
createDDLRecordSet(long recordSetId)
Creates a new d d l record set with the primary key.
|
DDLRecordSet |
deleteDDLRecordSet(DDLRecordSet ddlRecordSet)
Deletes the d d l record set from the database.
|
DDLRecordSet |
deleteDDLRecordSet(long recordSetId)
Deletes the d d l record set with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteRecordSet(DDLRecordSet recordSet)
Deletes the record set and its resources.
|
void |
deleteRecordSet(long recordSetId)
Deletes the record set and its resources.
|
void |
deleteRecordSet(long groupId,
java.lang.String recordSetKey)
Deletes the record set and its resources.
|
void |
deleteRecordSets(long groupId)
Deletes all the record sets matching the group.
|
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.
|
DDLRecordSet |
fetchDDLRecordSet(long recordSetId) |
DDLRecordSet |
fetchDDLRecordSetByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the d d l record set matching the UUID and group.
|
DDLRecordSet |
fetchRecordSet(long recordSetId)
Returns the record set with the ID.
|
DDLRecordSet |
fetchRecordSet(long groupId,
java.lang.String recordSetKey)
Returns the record set matching the group and record set key.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
DDLRecordSet |
getDDLRecordSet(long recordSetId)
Returns the d d l record set with the primary key.
|
DDLRecordSet |
getDDLRecordSetByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the d d l record set matching the UUID and group.
|
java.util.List<DDLRecordSet> |
getDDLRecordSets(int start,
int end)
Returns a range of all the d d l record sets.
|
java.util.List<DDLRecordSet> |
getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the d d l record sets matching the UUID and company.
|
java.util.List<DDLRecordSet> |
getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
Returns a range of d d l record sets matching the UUID and company.
|
int |
getDDLRecordSetsCount()
Returns the number of d d l record sets.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
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) |
DDLRecordSet |
getRecordSet(long recordSetId)
Returns the record set with the ID.
|
DDLRecordSet |
getRecordSet(long groupId,
java.lang.String recordSetKey)
Returns the record set matching the group and record set key.
|
java.util.List<DDLRecordSet> |
getRecordSets(long groupId)
Returns all the record sets belonging the group.
|
int |
getRecordSetsCount(long groupId)
Returns the number of all the record sets belonging the group.
|
com.liferay.dynamic.data.mapping.storage.DDMFormValues |
getRecordSetSettingsDDMFormValues(DDLRecordSet recordSet)
Returns the record set's settings as a DDMFormValues object.
|
DDLRecordSetSettings |
getRecordSetSettingsModel(DDLRecordSet recordSet)
Returns the record set's settings.
|
DDLRecordSetLocalService |
getWrappedService() |
java.util.List<DDLRecordSet> |
search(long companyId,
long groupId,
java.lang.String keywords,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
Returns a range of all record sets matching the parameters, including a
keywords parameter for matching string values to the record set's name or
description.
|
java.util.List<DDLRecordSet> |
search(long companyId,
long groupId,
java.lang.String name,
java.lang.String description,
int scope,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
Returns an ordered range of record sets.
|
int |
searchCount(long companyId,
long groupId,
java.lang.String keywords,
int scope)
Returns the number of record sets matching the parameters.
|
int |
searchCount(long companyId,
long groupId,
java.lang.String name,
java.lang.String description,
int scope,
boolean andOperator)
Returns the number of all record sets matching the parameters.
|
void |
setWrappedService(DDLRecordSetLocalService ddlRecordSetLocalService) |
DDLRecordSet |
updateDDLRecordSet(DDLRecordSet ddlRecordSet)
Updates the d d l record set in the database or adds it if it does not yet exist.
|
DDLRecordSet |
updateMinDisplayRows(long recordSetId,
int minDisplayRows,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Updates the number of minimum rows to display for the record set.
|
DDLRecordSet |
updateRecordSet(long recordSetId,
com.liferay.dynamic.data.mapping.storage.DDMFormValues settingsDDMFormValues)
Updates the the record set's settings.
|
DDLRecordSet |
updateRecordSet(long recordSetId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Updates the DDM structure, name, description, and minimum number of
display rows for the record set matching the record set ID.
|
DDLRecordSet |
updateRecordSet(long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Updates the DDM strucutre, name, description, and minimum number of
display rows for the record set matching the record set key and group ID.
|
public DDLRecordSetLocalServiceWrapper(DDLRecordSetLocalService ddlRecordSetLocalService)
public DDLRecordSet addDDLRecordSet(DDLRecordSet ddlRecordSet)
addDDLRecordSet in interface DDLRecordSetLocalServiceddlRecordSet - the d d l record setpublic DDLRecordSet addRecordSet(long userId, long groupId, long ddmStructureId, java.lang.String recordSetKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, int minDisplayRows, int scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addRecordSet in interface DDLRecordSetLocalServiceuserId - the primary key of the record set's creator/ownergroupId - the primary key of the record set's groupddmStructureId - the primary key of the record set's DDM structurerecordSetKey - the record set's mnemonic primary key. If
null, the record set key will be autogenerated.nameMap - the record set's locales and localized namesdescriptionMap - the record set's locales and localized
descriptionsminDisplayRows - the record set's minimum number of rows to be
displayed in spreadsheet view.scope - the record set's scope, used to scope the record set's
data. For more information search
DDLRecordSetConstants in the
dynamic.data.lists.api module for constants starting
with the "SCOPE_" prefix.serviceContext - the service context to be applied. Can set the
UUID, guest permissions, and group permissions for the record
set.PortalException - if a portal exception occurredpublic void addRecordSetResources(DDLRecordSet recordSet, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addRecordSetResources in interface DDLRecordSetLocalServicerecordSet - the record setaddGroupPermissions - whether to add group permissionsaddGuestPermissions - whether to add guest permissionsPortalException - if a portal exception occurredpublic void addRecordSetResources(DDLRecordSet recordSet, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addRecordSetResources in interface DDLRecordSetLocalServicerecordSet - the record setgroupPermissions - whether to add group permissionsguestPermissions - whether to add guest permissionsPortalException - if a portal exception occurredpublic DDLRecordSet createDDLRecordSet(long recordSetId)
createDDLRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key for the new d d l record setpublic DDLRecordSet deleteDDLRecordSet(DDLRecordSet ddlRecordSet)
deleteDDLRecordSet in interface DDLRecordSetLocalServiceddlRecordSet - the d d l record setpublic DDLRecordSet deleteDDLRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
deleteDDLRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the d d l record setPortalException - if a d d l record set with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface DDLRecordSetLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteRecordSet(long groupId,
java.lang.String recordSetKey)
throws com.liferay.portal.kernel.exception.PortalException
This operation updates the record set matching the group and recordSetKey.
deleteRecordSet in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's grouprecordSetKey - the record set's mnemonic primary keyPortalException - if a portal exception occurredpublic void deleteRecordSet(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
deleteRecordSet in interface DDLRecordSetLocalServicerecordSet - the record set to be deletedPortalException - if a portal exception occurredpublic void deleteRecordSet(long recordSetId)
throws com.liferay.portal.kernel.exception.PortalException
deleteRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record set to be deletedPortalException - if a portal exception occurredpublic void deleteRecordSets(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
deleteRecordSets in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's groupPortalException - if a portal exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface DDLRecordSetLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface DDLRecordSetLocalServicedynamicQuery - 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.dynamic.data.lists.model.impl.DDLRecordSetModelImpl. 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 DDLRecordSetLocalServicedynamicQuery - 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.dynamic.data.lists.model.impl.DDLRecordSetModelImpl. 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 DDLRecordSetLocalServicedynamicQuery - 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 DDLRecordSetLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface DDLRecordSetLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic DDLRecordSet fetchDDLRecordSet(long recordSetId)
fetchDDLRecordSet in interface DDLRecordSetLocalServicepublic DDLRecordSet fetchDDLRecordSetByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDDLRecordSetByUuidAndGroupId in interface DDLRecordSetLocalServiceuuid - the d d l record set's UUIDgroupId - the primary key of the groupnull if a matching d d l record set could not be foundpublic DDLRecordSet fetchRecordSet(long groupId, java.lang.String recordSetKey)
fetchRecordSet in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's grouprecordSetKey - the record set's mnemonic primary keynull if a matching record set could not be foundpublic DDLRecordSet fetchRecordSet(long recordSetId)
fetchRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record setnull if a matching
record set could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDLRecordSetLocalServicepublic DDLRecordSet getDDLRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
getDDLRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the d d l record setPortalException - if a d d l record set with the primary key could not be foundpublic DDLRecordSet getDDLRecordSetByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getDDLRecordSetByUuidAndGroupId in interface DDLRecordSetLocalServiceuuid - the d d l record set's UUIDgroupId - the primary key of the groupPortalException - if a matching d d l record set could not be foundpublic java.util.List<DDLRecordSet> getDDLRecordSets(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.dynamic.data.lists.model.impl.DDLRecordSetModelImpl. 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.
getDDLRecordSets in interface DDLRecordSetLocalServicestart - the lower bound of the range of d d l record setsend - the upper bound of the range of d d l record sets (not inclusive)public java.util.List<DDLRecordSet> getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDDLRecordSetsByUuidAndCompanyId in interface DDLRecordSetLocalServiceuuid - the UUID of the d d l record setscompanyId - the primary key of the companypublic java.util.List<DDLRecordSet> getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
getDDLRecordSetsByUuidAndCompanyId in interface DDLRecordSetLocalServiceuuid - the UUID of the d d l record setscompanyId - the primary key of the companystart - the lower bound of the range of d d l record setsend - the upper bound of the range of d d l record sets (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getDDLRecordSetsCount()
getDDLRecordSetsCount in interface DDLRecordSetLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DDLRecordSetLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DDLRecordSetLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DDLRecordSetLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface DDLRecordSetLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic DDLRecordSet getRecordSet(long groupId, java.lang.String recordSetKey) throws com.liferay.portal.kernel.exception.PortalException
getRecordSet in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's grouprecordSetKey - the record set's mnemonic primary keyPortalException - if the the matching record set could not be foundpublic DDLRecordSet getRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
getRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record setPortalException - if the the matching record set could not be foundpublic com.liferay.dynamic.data.mapping.storage.DDMFormValues getRecordSetSettingsDDMFormValues(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
DDMFormValues in the
dynamic.data.mapping.api module.getRecordSetSettingsDDMFormValues in interface DDLRecordSetLocalServicerecordSet - the record setPortalException - if a portal exception occurredpublic DDLRecordSetSettings getRecordSetSettingsModel(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
getRecordSetSettingsModel in interface DDLRecordSetLocalServicerecordSet - the record setPortalException - if a portal exception occurredgetRecordSetSettingsDDMFormValues(DDLRecordSet)public java.util.List<DDLRecordSet> getRecordSets(long groupId)
getRecordSets in interface DDLRecordSetLocalServicepublic int getRecordSetsCount(long groupId)
getRecordSetsCount in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's grouppublic java.util.List<DDLRecordSet> search(long companyId, long groupId, java.lang.String keywords, int scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> 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.
search in interface DDLRecordSetLocalServicecompanyId - the primary key of the record set's companygroupId - the primary key of the record set's groupkeywords - the keywords (space separated) to look for and match in
the record set name or description (optionally
null). If the keywords value is not
null, the search uses the OR operator in connecting
query criteria; otherwise it uses the AND operator.scope - the record set's scope. A constant used to scope the record
set's data. For more information search the
dynamic.data.lists.api module's
DDLRecordSetConstants class for constants prefixed
with "SCOPE_".start - the lower bound of the range of record sets to returnend - the upper bound of the range of recor sets to return (not
inclusive)orderByComparator - the comparator to order the record setspublic java.util.List<DDLRecordSet> search(long companyId, long groupId, java.lang.String name, java.lang.String description, int scope, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
true, only record
sets with a matching name, description, and scope are returned. If the
and operator is set to false, only one parameter of name,
description, and scope is needed to return matching record sets.
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.
search in interface DDLRecordSetLocalServicecompanyId - the primary key of the record set's companygroupId - the primary key of the record set's groupname - the name keywords (space separated, optionally
null)description - the description keywords (space separated, optionally
null)scope - the record set's scope. A constant used to scope the record
set's data. For more information search the
dynamic.data.lists.api module's
DDLRecordSetConstants class for constants prefixed
with "SCOPE_".andOperator - whether every field must match its value or keywords,
or just one field must match. Company and group must match their
values.start - the lower bound of the range of record sets to returnend - the upper bound of the range of recor sets to return (not
inclusive)orderByComparator - the comparator to order the record setspublic int searchCount(long companyId,
long groupId,
java.lang.String keywords,
int scope)
searchCount in interface DDLRecordSetLocalServicecompanyId - the primary key of the record set's companygroupId - the primary key of the record set's group.keywords - the keywords (space separated) to look for and match in
the record set name or description (optionally
null). If the keywords value is not
null, the OR operator is used in connecting query
criteria; otherwise it uses the AND operator.scope - the record set's scope. A constant used to scope the record
set's data. For more information search the
dynamic.data.lists.api module's
DDLRecordSetConstants class for constants prefixed
with "SCOPE_".public int searchCount(long companyId,
long groupId,
java.lang.String name,
java.lang.String description,
int scope,
boolean andOperator)
true, only record sets with a matching
name, description, and scope are counted. If the and operator is set to
false, only one parameter of name, description, and scope is
needed to count matching record sets.searchCount in interface DDLRecordSetLocalServicecompanyId - the primary key of the record set's companygroupId - the primary key of the record set's groupname - the name keywords (space separated). This can be
null.description - the description keywords (space separated). This can
be null.scope - the record set's scope. A constant used to scope the record
set's data. For more information search the
dynamic.data.lists.api module's
DDLRecordSetConstants class for constants prefixed
with "SCOPE_".andOperator - whether every field must match its value or keywords,
or just one field must match. Company and group must match their
values.public DDLRecordSet updateDDLRecordSet(DDLRecordSet ddlRecordSet)
updateDDLRecordSet in interface DDLRecordSetLocalServiceddlRecordSet - the d d l record setpublic DDLRecordSet updateMinDisplayRows(long recordSetId, int minDisplayRows, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateMinDisplayRows in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record setminDisplayRows - the record set's minimum number of rows to be
displayed in spreadsheet viewserviceContext - the service context to be applied. This can set
the record set modified date.PortalException - if a portal exception occurredpublic DDLRecordSet updateRecordSet(long groupId, long ddmStructureId, java.lang.String recordSetKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, int minDisplayRows, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateRecordSet in interface DDLRecordSetLocalServicegroupId - the primary key of the record set's groupddmStructureId - the primary key of the record set's DDM structurerecordSetKey - the record set's mnemonic primary keynameMap - the record set's locales and localized namesdescriptionMap - the record set's locales and localized
descriptionsminDisplayRows - the record set's minimum number of rows to be
displayed in spreadsheet viewserviceContext - the service context to be applied. This can set
the record set modified date.PortalException - if a portal exception occurredpublic DDLRecordSet updateRecordSet(long recordSetId, long ddmStructureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, int minDisplayRows, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record setddmStructureId - the primary key of the record set's DDM structurenameMap - the record set's locales and localized namesdescriptionMap - the record set's locales and localized
descriptionsminDisplayRows - the record set's minimum number of rows to be
displayed in spreadsheet viewserviceContext - the service context to be applied. This can set
the record set modified date.PortalException - if a portal exception occurredpublic DDLRecordSet updateRecordSet(long recordSetId, com.liferay.dynamic.data.mapping.storage.DDMFormValues settingsDDMFormValues) throws com.liferay.portal.kernel.exception.PortalException
updateRecordSet in interface DDLRecordSetLocalServicerecordSetId - the primary key of the record setsettingsDDMFormValues - the record set's settings. For more
information see DDMFormValues in the
dynamic.data.mapping.api the module.PortalException - if a portal exception occurredpublic DDLRecordSetLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetLocalService>public void setWrappedService(DDLRecordSetLocalService ddlRecordSetLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetLocalService>