public class DDMStructureLocalServiceImpl extends DDMStructureLocalServiceBaseImpl
DDM structures (structures) are used in Liferay to store structured content like document types, dynamic data definitions, or web contents.
Structures support inheritance via parent structures. They also support multi-language names and descriptions.
Structures can be related to many models in Liferay, such as those for web contents, dynamic data lists, and documents. This relationship can be established via the model's class name ID.
counterLocalService, ddmContentLocalService, ddmContentPersistence, ddmStorageLinkLocalService, ddmStorageLinkPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceLocalService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
DDMStructureLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
addStructure(long userId,
long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
Adds a structure referencing its parent structure.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
addStructure(long userId,
long groupId,
long classNameId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
Adds a structure referencing a default parent structure, using the portal
property
dynamic.data.lists.storage.type storage type and
default structure type. |
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
addStructure(long userId,
long groupId,
java.lang.String parentStructureKey,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
Adds a structure referencing a default parent structure if the parent
structure is not found.
|
void |
addStructureResources(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
Adds the resources to the structure.
|
void |
addStructureResources(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
Adds the model resources with the permissions to the structure.
|
protected void |
appendNewStructureRequiredFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Document templateDocument) |
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
copyStructure(long userId,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext)
Copies a structure, creating a new structure with all the values
extracted from the original one.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
copyStructure(long userId,
long structureId,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteStructure(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure)
Deletes the structure and its resources.
|
void |
deleteStructure(long structureId)
Deletes the structure and its resources.
|
void |
deleteStructure(long groupId,
long classNameId,
java.lang.String structureKey)
Deletes the matching structure and its resources.
|
protected java.util.Set<java.lang.Long> |
deleteStructures(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> structures) |
void |
deleteStructures(long groupId)
Deletes all the structures of the group.
|
void |
deleteStructures(long groupId,
long classNameId) |
protected com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
doUpdateStructure(long parentStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext,
com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure) |
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
fetchStructure(long structureId)
Returns the structure with the ID.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
fetchStructure(long groupId,
long classNameId,
java.lang.String structureKey)
Returns the structure matching the class name ID, structure key, and
group.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
fetchStructure(long groupId,
long classNameId,
java.lang.String structureKey,
boolean includeGlobalStructures)
Returns the structure matching the class name ID, structure key, and
group, optionally in the global scope.
|
protected void |
getChildrenStructureIds(java.util.List<java.lang.Long> structureIds,
long groupId,
long parentStructureId) |
protected java.util.List<java.lang.Long> |
getChildrenStructureIds(long groupId,
long structureId) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long classNameId)
Deprecated.
As of 6.2.0, replaced by
getClassStructures(long,
long) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long classNameId,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getClassStructures(long,
long, int, int) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long companyId,
long classNameId)
Returns all the structures matching the class name ID.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the structures matching the class name ID.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns all the structures matching the class name ID ordered by the
comparator.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getClassStructures(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Deprecated.
As of 6.2.0, replaced by
getClassStructures(long,
long, OrderByComparator) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getDLFileEntryTypeStructures(long dlFileEntryTypeId)
Returns all the structures for the document library file entry type.
|
protected java.util.Set<java.lang.String> |
getElementNames(com.liferay.portal.kernel.xml.Document document) |
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
getStructure(long structureId)
Returns the structure with the ID.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
getStructure(long groupId,
long classNameId,
java.lang.String structureKey)
Returns the structure matching the class name ID, structure key, and
group.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
getStructure(long groupId,
long classNameId,
java.lang.String structureKey,
boolean includeGlobalStructures)
Returns the structure matching the class name ID, structure key, and
group, optionally in the global scope.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructure(long groupId,
java.lang.String name,
java.lang.String description)
Returns all the structures matching the group, name, and description.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructureEntries()
Deprecated.
As of 6.2.0, replaced by
getStructures() |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructureEntries(long groupId)
Deprecated.
As of 6.2.0, replaced by
getStructures(long) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructureEntries(long groupId,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getStructures(long, int,
int) |
protected java.lang.String |
getStructureKey(java.lang.String structureKey) |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures()
Returns all the structures present in the system.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId)
Returns all the structures present in the group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long[] groupIds)
Returns all the structures belonging to the groups.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long[] groupIds,
long classNameId)
Returns all the structures matching the class name ID and belonging to
the groups.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long[] groupIds,
long classNameId,
int start,
int end)
Returns a range of all the structures matching the class name ID and
belonging to the groups.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId,
int start,
int end)
Returns a range of all the structures belonging to the group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId,
long classNameId)
Returns all the structures matching class name ID and group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the structures that match the class name ID and
group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the structures matching the class name ID
and group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
getStructures(long groupId,
java.lang.String name,
java.lang.String description) |
int |
getStructuresCount(long groupId)
Returns the number of structures belonging to the group.
|
int |
getStructuresCount(long[] groupIds,
long classNameId)
Returns the number of structures matching the class name ID and belonging
to the groups.
|
int |
getStructuresCount(long groupId,
long classNameId)
Returns the number of structures matching the class name ID and group.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the structures matching the groups and
class name IDs, and matching the keywords in the structure names and
descriptions.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String name,
java.lang.String description,
java.lang.String storageType,
int type,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the structures matching the groups, class
name IDs, name keyword, description keyword, storage type, and type.
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String keywords)
Returns the number of structures matching the groups and class name IDs,
and matching the keywords in the structure names and descriptions.
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String name,
java.lang.String description,
java.lang.String storageType,
int type,
boolean andOperator)
Returns the number of structures matching the groups, class name IDs,
name keyword, description keyword, storage type, and type
|
protected void |
syncStructureTemplatesFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure) |
protected void |
syncStructureTemplatesFields(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate template,
com.liferay.portal.kernel.xml.Element templateElement) |
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
updateStructure(long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
Updates the structure matching the class name ID, structure key, and
group, replacing its old parent structure, name map, description map, and
XSD with new ones.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
updateStructure(long structureId,
long parentStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
Updates the structure matching the structure ID, replacing its old parent
structure, name map, description map, and XSD with new ones.
|
com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
updateXSD(long structureId,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
Updates the structure matching the structure ID, replacing its XSD with a
new one.
|
void |
updateXSDFieldMetadata(long structureId,
java.lang.String fieldName,
java.lang.String metadataEntryName,
java.lang.String metadataEntryValue,
com.liferay.portal.service.ServiceContext serviceContext)
Deprecated.
As of 6.2.0, with no direct replacement
|
protected void |
validate(com.liferay.portal.kernel.xml.Document document) |
protected void |
validate(com.liferay.portal.kernel.xml.Document parentDocument,
com.liferay.portal.kernel.xml.Document childDocument) |
protected void |
validate(long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String xsd) |
protected void |
validate(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale contentDefaultLocale) |
protected void |
validate(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String parentXsd,
java.lang.String childXsd) |
addDDMStructure, addDLFileEntryTypeDDMStructure, addDLFileEntryTypeDDMStructure, addDLFileEntryTypeDDMStructures, addDLFileEntryTypeDDMStructures, afterPropertiesSet, clearDLFileEntryTypeDDMStructures, createDDMStructure, deleteDDMStructure, deleteDDMStructure, deleteDLFileEntryTypeDDMStructure, deleteDLFileEntryTypeDDMStructure, deleteDLFileEntryTypeDDMStructures, deleteDLFileEntryTypeDDMStructures, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDDMStructure, fetchDDMStructureByUuidAndCompanyId, fetchDDMStructureByUuidAndGroupId, getBeanIdentifier, getCounterLocalService, getDDMContentLocalService, getDDMContentPersistence, getDDMStorageLinkLocalService, getDDMStorageLinkPersistence, getDDMStructure, getDDMStructureByUuidAndCompanyId, getDDMStructureByUuidAndGroupId, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructures, getDDMStructuresCount, getDDMStructureService, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, getDDMTemplateService, getDLFileEntryTypeDDMStructures, getDLFileEntryTypeDDMStructures, getDLFileEntryTypeDDMStructures, getDLFileEntryTypeDDMStructuresCount, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasDLFileEntryTypeDDMStructure, hasDLFileEntryTypeDDMStructures, runSQL, setBeanIdentifier, setCounterLocalService, setDDMContentLocalService, setDDMContentPersistence, setDDMStorageLinkLocalService, setDDMStorageLinkPersistence, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setDLFileEntryTypeDDMStructures, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDDMStructurepublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(long userId,
long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the structure's creator/ownergroupId - the primary key of the groupparentStructureId - the primary key of the parent structure
(optionally DDMStructureConstants.DEFAULT_PARENT_STRUCTURE_ID)classNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structure
(optionally null)nameMap - the structure's locales and localized namesdescriptionMap - the structure's locales and localized descriptionsxsd - the structure's XML schema definitionstorageType - the structure's storage type. It can be "xml" or
"expando". For more information, see StorageType.type - the structure's type. For more information, see DDMStructureConstants.serviceContext - the service context to be applied. Can set the
UUID, creation date, modification date, guest permissions, and
group permissions for the structure.com.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be
found, if the XSD was not well-formed, or if a portal exception
occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(long userId,
long groupId,
long classNameId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
dynamic.data.lists.storage.type storage type and
default structure type.userId - the primary key of the structure's creator/ownergroupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelnameMap - the structure's locales and localized namesdescriptionMap - the structure's locales and localized descriptionsxsd - the structure's XML schema definitionserviceContext - the service context to be applied. Can set the
UUID, creation date, modification date, guest permissions, and
group permissions for the structure.com.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be
found, if the XSD was not well-formed, or if a portal exception
occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(long userId,
long groupId,
java.lang.String parentStructureKey,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the structure's creator/ownergroupId - the primary key of the groupparentStructureKey - the unique string identifying the parent
structure (optionally null)classNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structure
(optionally null)nameMap - the structure's locales and localized namesdescriptionMap - the structure's locales and localized descriptionsxsd - the structure's XML schema definitionstorageType - the structure's storage type. It can be "xml" or
"expando". For more information, see StorageType.type - the structure's type. For more information, see DDMStructureConstants.serviceContext - the service context to be applied. Can set the
UUID, creation date, modification date, guest permissions and
group permissions for the structure.com.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be
found, if the XSD was not well-formed, or if a portal exception
occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addStructureResources(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structure - the structure to add resources toaddGroupPermissions - whether to add group permissionsaddGuestPermissions - whether to add guest permissionscom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addStructureResources(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structure - the structure to add resources togroupPermissions - the group permissions to be addedguestPermissions - the guest permissions to be addedcom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(long userId,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the structure's creator/ownerstructureId - the primary key of the structure to be copiednameMap - the new structure's locales and localized namesdescriptionMap - the new structure's locales and localized
descriptionsserviceContext - the service context to be applied. Can set the
UUID, creation date, modification date, guest permissions, and
group permissions for the structure.com.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(long userId,
long structureId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@SystemEvent(type=1)
public void deleteStructure(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
Before deleting the structure, this method verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
structure - the structure to be deletedcom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void deleteStructure(long structureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
Before deleting the structure, the system verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
structureId - the primary key of the structure to be deletedcom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void deleteStructure(long groupId,
long classNameId,
java.lang.String structureKey)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
Before deleting the structure, the system verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structurecom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void deleteStructures(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
Before deleting the structures, the system verifies whether each structure is required by another entity. If any of the structures are needed, an exception is thrown.
groupId - the primary key of the groupcom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void deleteStructures(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(long structureId)
throws com.liferay.portal.kernel.exception.SystemException
structureId - the primary key of the structurenull if a
matching structure could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(long groupId,
long classNameId,
java.lang.String structureKey)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structurenull if a matching
structure could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(long groupId,
long classNameId,
java.lang.String structureKey,
boolean includeGlobalStructures)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
This method first searches in the group. If the structure is still not
found and includeGlobalStructures is set to
true, this method searches the global group.
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structureincludeGlobalStructures - whether to include the global scope in
the searchnull if a matching
structure could not be foundcom.liferay.portal.kernel.exception.PortalException - if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
getClassStructures(long,
long)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getClassStructures(long,
long, int, int)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
companyId - the primary key of the structure's companyclassNameId - the primary key of the class name for the structure's
related modelcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long companyId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 structure's companyclassNameId - the primary key of the class name for the structure's
related modelstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
companyId - the primary key of the structure's companyclassNameId - the primary key of the class name for the structure's
related modelorderByComparator - the comparator to order the structures
(optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getClassStructures(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
getClassStructures(long,
long, OrderByComparator)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId)
throws com.liferay.portal.kernel.exception.SystemException
dlFileEntryTypeId - the primary key of the document library file
entry typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(long structureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structureId - the primary key of the structurecom.liferay.portal.kernel.exception.PortalException - if a structure with the ID could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(long groupId,
long classNameId,
java.lang.String structureKey)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the structure's groupclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structurecom.liferay.portal.kernel.exception.PortalException - if a matching structure could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(long groupId,
long classNameId,
java.lang.String structureKey,
boolean includeGlobalStructures)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
This method first searches in the group. If the structure is still not
found and includeGlobalStructures is set to
true, this method searches the global group.
groupId - the primary key of the structure's groupclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structureincludeGlobalStructures - whether to include the global scope in
the searchcom.liferay.portal.kernel.exception.PortalException - if a matching structure could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructure(long groupId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the structure's groupname - the structure's namedescription - the structure's descriptioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructureEntries()
throws com.liferay.portal.kernel.exception.SystemException
getStructures()com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructureEntries(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
getStructures(long)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructureEntries(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
getStructures(long, int,
int)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
groupId - the primary key of the groupstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)orderByComparator - the comparator to order the structures
(optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long groupId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
groupIds - the primary keys of the groupscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long[] groupIds,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
groupIds - the primary keys of the groupsclassNameId - the primary key of the class name for the structure's
related modelcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(long[] groupIds,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
groupIds - the primary keys of the groupsclassNameId - the primary key of the class name for the structure's
related modelstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getStructuresCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getStructuresCount(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupclassNameId - the primary key of the class name for the structure's
related modelcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getStructuresCount(long[] groupIds,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
groupIds - the primary keys of the groupsclassNameId - the primary key of the class name for the structure's
related modelcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 structure's companygroupIds - the primary keys of the groupsclassNameIds - the primary keys of the class names of the models
the structures are related tokeywords - the keywords (space separated), which may occur in the
structure's name or description (optionally null)start - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)orderByComparator - the comparator to order the structures
(optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String name,
java.lang.String description,
java.lang.String storageType,
int type,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 structure's companygroupIds - the primary keys of the groupsclassNameIds - the primary keys of the class names of the models
the structures are related toname - the name keywordsdescription - the description keywordsstorageType - the structure's storage type. It can be "xml" or
"expando". For more information, see StorageType.type - the structure's type. For more information, see DDMStructureConstants.andOperator - whether every field must match its keywords, or just
one fieldstart - the lower bound of the range of structures to returnend - the upper bound of the range of structures to return (not
inclusive)orderByComparator - the comparator to order the structures
(optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.SystemException
companyId - the primary key of the structure's companygroupIds - the primary keys of the groupsclassNameIds - the primary keys of the class names of the models
the structures are related tokeywords - the keywords (space separated), which may occur in the
structure's name or description (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
java.lang.String name,
java.lang.String description,
java.lang.String storageType,
int type,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException
companyId - the primary key of the structure's companygroupIds - the primary keys of the groupsclassNameIds - the primary keys of the class names of the models
the structure's are related toname - the name keywordsdescription - the description keywordsstorageType - the structure's storage type. It can be "xml" or
"expando". For more information, see StorageType.type - the structure's type. For more information, see DDMStructureConstants.andOperator - whether every field must match its keywords, or just
one fieldcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
groupId - the primary key of the groupparentStructureId - the primary key of the new parent structureclassNameId - the primary key of the class name for the structure's
related modelstructureKey - the unique string identifying the structurenameMap - the structure's new locales and localized namesdescriptionMap - the structure's new locales and localized
descriptionxsd - the structure's new XML schema definitionserviceContext - the service context to be applied. Can set the
structure's modification date.com.liferay.portal.kernel.exception.PortalException - if a matching structure could not be found, if
the XSD was not well-formed, or if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(long structureId,
long parentStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structureId - the primary key of the structureparentStructureId - the primary key of the new parent structurenameMap - the structure's new locales and localized namesdescriptionMap - the structure's new locales and localized
descriptionsxsd - the structure's new XML schema definitionserviceContext - the service context to be applied. Can set the
structure's modification date.com.liferay.portal.kernel.exception.PortalException - if a matching structure could not be found, if
the XSD was not well-formed, or if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateXSD(long structureId,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structureId - the primary key of the structurexsd - the structure's new XML schema definitionserviceContext - the service context to be applied. Can set the
structure's modification date.com.liferay.portal.kernel.exception.PortalException - if a matching structure could not be found, if
the XSD was not well-formed, or if a portal exception occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void updateXSDFieldMetadata(long structureId,
java.lang.String fieldName,
java.lang.String metadataEntryName,
java.lang.String metadataEntryValue,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
structureId - the primary key of the structurefieldName - the name of the field whose metadata to updatemetadataEntryName - the metadata entry's namemetadataEntryValue - the metadata entry's valueserviceContext - the service context to be applied. Can set the
structure's modification date.com.liferay.portal.kernel.exception.PortalException - if a matching structure could not be found,
if the XSD was not well-formed, or if a portal exception
occurredcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected void appendNewStructureRequiredFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Document templateDocument)
protected java.util.Set<java.lang.Long> deleteStructures(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> structures)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.dynamicdatamapping.model.DDMStructure doUpdateStructure(long parentStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext,
com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void getChildrenStructureIds(java.util.List<java.lang.Long> structureIds,
long groupId,
long parentStructureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.util.List<java.lang.Long> getChildrenStructureIds(long groupId,
long structureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.util.Set<java.lang.String> getElementNames(com.liferay.portal.kernel.xml.Document document)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.lang.String getStructureKey(java.lang.String structureKey)
protected void syncStructureTemplatesFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void syncStructureTemplatesFields(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate template,
com.liferay.portal.kernel.xml.Element templateElement)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(com.liferay.portal.kernel.xml.Document document)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(com.liferay.portal.kernel.xml.Document parentDocument,
com.liferay.portal.kernel.xml.Document childDocument)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(long groupId,
long parentStructureId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String xsd)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale contentDefaultLocale)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String parentXsd,
java.lang.String childXsd)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException