@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DDLRecordSetLocalService
extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
DDLRecordSetLocalServiceUtil
,
com.liferay.dynamic.data.lists.service.base.DDLRecordSetLocalServiceBaseImpl
,
com.liferay.dynamic.data.lists.service.impl.DDLRecordSetLocalServiceImpl
Modifier and Type | Method and Description |
---|---|
DDLRecordSet |
addDDLRecordSet(DDLRecordSet ddlRecordSet)
Adds the ddl 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 ddl record set with the primary key.
|
DDLRecordSet |
deleteDDLRecordSet(DDLRecordSet ddlRecordSet)
Deletes the ddl record set from the database.
|
DDLRecordSet |
deleteDDLRecordSet(long recordSetId)
Deletes the ddl 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 ddl 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 ddl record set with the primary key.
|
DDLRecordSet |
getDDLRecordSetByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddl record set matching the UUID and group.
|
java.util.List<DDLRecordSet> |
getDDLRecordSets(int start,
int end)
Returns a range of all the ddl record sets.
|
java.util.List<DDLRecordSet> |
getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the ddl 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 ddl record sets matching the UUID and company.
|
int |
getDDLRecordSetsCount()
Returns the number of ddl 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.
|
DDMFormValues |
getRecordSetSettingsDDMFormValues(DDLRecordSet recordSet)
Returns the record set's settings as a DDMFormValues object.
|
DDLRecordSetSettings |
getRecordSetSettingsModel(DDLRecordSet recordSet)
Returns the record set's settings.
|
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.
|
DDLRecordSet |
updateDDLRecordSet(DDLRecordSet ddlRecordSet)
Updates the ddl 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,
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.
|
@Indexable(type=REINDEX) DDLRecordSet addDDLRecordSet(DDLRecordSet ddlRecordSet)
ddlRecordSet
- the ddl record setDDLRecordSet 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
userId
- 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.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredvoid addRecordSetResources(DDLRecordSet recordSet, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
recordSet
- the record setaddGroupPermissions
- whether to add group permissionsaddGuestPermissions
- whether to add guest permissionscom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredvoid addRecordSetResources(DDLRecordSet recordSet, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
recordSet
- the record setgroupPermissions
- whether to add group permissionsguestPermissions
- whether to add guest permissionscom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredDDLRecordSet createDDLRecordSet(long recordSetId)
recordSetId
- the primary key for the new ddl record set@Indexable(type=DELETE) DDLRecordSet deleteDDLRecordSet(DDLRecordSet ddlRecordSet)
ddlRecordSet
- the ddl record set@Indexable(type=DELETE) DDLRecordSet deleteDDLRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- the primary key of the ddl record setcom.liferay.portal.kernel.exception.PortalException
- if a ddl record set with the primary key could not be foundcom.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.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(action=1, type=1) void deleteRecordSet(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
recordSet
- the record set to be deletedcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredvoid deleteRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- the primary key of the record set to be deletedcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredvoid 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.
groupId
- the primary key of the record set's grouprecordSetKey
- the record set's mnemonic primary keycom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredvoid deleteRecordSets(long groupId) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the record set's groupcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredcom.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
<T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query<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 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
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)<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 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
- 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
)long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querylong dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet fetchDDLRecordSet(long recordSetId)
@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet fetchDDLRecordSetByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the ddl record set's UUIDgroupId
- the primary key of the groupnull
if a matching ddl record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet fetchRecordSet(long recordSetId)
recordSetId
- the primary key of the record setnull
if a matching
record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet fetchRecordSet(long groupId, java.lang.String recordSetKey)
groupId
- the primary key of the record set's grouprecordSetKey
- the record set's mnemonic primary keynull
if a matching record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet getDDLRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- the primary key of the ddl record setcom.liferay.portal.kernel.exception.PortalException
- if a ddl record set with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet getDDLRecordSetByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the ddl record set's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching ddl record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) 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 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.
start
- the lower bound of the range of ddl record setsend
- the upper bound of the range of ddl record sets (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDLRecordSet> getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the ddl record setscompanyId
- the primary key of the company@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDLRecordSet> getDDLRecordSetsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSet> orderByComparator)
uuid
- the UUID of the ddl record setscompanyId
- the primary key of the companystart
- the lower bound of the range of ddl record setsend
- the upper bound of the range of ddl record sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) int getDDLRecordSetsCount()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet getRecordSet(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- the primary key of the record setcom.liferay.portal.kernel.exception.PortalException
- if the the matching record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSet getRecordSet(long groupId, java.lang.String recordSetKey) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the record set's grouprecordSetKey
- the record set's mnemonic primary keycom.liferay.portal.kernel.exception.PortalException
- if the the matching record set could not be found@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDLRecordSet> getRecordSets(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getRecordSetsCount(long groupId)
groupId
- the primary key of the record set's group@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormValues getRecordSetSettingsDDMFormValues(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
DDMFormValues
in the
dynamic.data.mapping.api
module.recordSet
- the record setcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) DDLRecordSetSettings getRecordSetSettingsModel(DDLRecordSet recordSet) throws com.liferay.portal.kernel.exception.PortalException
recordSet
- the record setcom.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredgetRecordSetSettingsDDMFormValues(DDLRecordSet)
@Transactional(propagation=SUPPORTS, readOnly=true) 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.
companyId
- 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 sets@Transactional(propagation=SUPPORTS, readOnly=true) 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.
companyId
- 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 sets@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long groupId, java.lang.String keywords, int scope)
companyId
- 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_".@Transactional(propagation=SUPPORTS, readOnly=true) 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.companyId
- 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.@Indexable(type=REINDEX) DDLRecordSet updateDDLRecordSet(DDLRecordSet ddlRecordSet)
ddlRecordSet
- the ddl record setDDLRecordSet updateMinDisplayRows(long recordSetId, int minDisplayRows, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- 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.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredDDLRecordSet updateRecordSet(long recordSetId, DDMFormValues settingsDDMFormValues) throws com.liferay.portal.kernel.exception.PortalException
recordSetId
- 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.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredDDLRecordSet 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
recordSetId
- 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.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredDDLRecordSet 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
groupId
- 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.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurred