@ProviderType public interface DDMStructure extends DDMStructureModel, com.liferay.portal.kernel.model.PersistedModel
DDMStructureModel
,
com.liferay.dynamic.data.mapping.model.impl.DDMStructureImpl
,
com.liferay.dynamic.data.mapping.model.impl.DDMStructureModelImpl
Modifier and Type | Field and Description |
---|---|
static com.liferay.portal.kernel.util.Accessor<DDMStructure,java.lang.Long> |
STRUCTURE_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
DDMForm |
createFullHierarchyDDMForm() |
java.util.List<java.lang.String> |
getChildrenFieldNames(java.lang.String fieldName) |
DDMForm |
getDDMForm() |
DDMFormField |
getDDMFormField(java.lang.String fieldName) |
java.util.List<DDMFormField> |
getDDMFormFields(boolean includeTransientFields) |
DDMFormLayout |
getDDMFormLayout() |
java.lang.String |
getFieldDataType(java.lang.String fieldName) |
java.lang.String |
getFieldLabel(java.lang.String fieldName,
java.util.Locale locale) |
java.lang.String |
getFieldLabel(java.lang.String fieldName,
java.lang.String locale) |
java.util.Set<java.lang.String> |
getFieldNames() |
java.lang.String |
getFieldProperty(java.lang.String fieldName,
java.lang.String property) |
boolean |
getFieldRepeatable(java.lang.String fieldName) |
boolean |
getFieldRequired(java.lang.String fieldName) |
java.lang.String |
getFieldTip(java.lang.String fieldName,
java.util.Locale locale) |
java.lang.String |
getFieldTip(java.lang.String fieldName,
java.lang.String locale) |
java.lang.String |
getFieldType(java.lang.String fieldName) |
DDMForm |
getFullHierarchyDDMForm() |
java.util.Map<java.lang.String,DDMFormField> |
getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields) |
DDMStructureVersion |
getLatestStructureVersion() |
java.util.List<java.lang.String> |
getRootFieldNames() |
DDMStructureVersion |
getStructureVersion() |
java.util.List<DDMTemplate> |
getTemplates() |
java.lang.String |
getUnambiguousName(java.util.List<DDMStructure> structures,
long groupId,
java.util.Locale locale) |
java.lang.String |
getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String webDAVToken)
Returns the WebDAV URL to access the structure.
|
boolean |
hasField(java.lang.String fieldName) |
boolean |
isFieldRepeatable(java.lang.String fieldName) |
boolean |
isFieldTransient(java.lang.String fieldName) |
void |
setDDMForm(DDMForm ddmForm) |
clone, compareTo, getAvailableLanguageIds, getClassName, getClassNameId, getCompanyId, getCreateDate, getDefaultLanguageId, getDefinition, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentStructureId, getPrimaryKey, getPrimaryKeyObj, getStorageType, getStructureId, getStructureKey, getType, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCachedModel, setClassName, setClassNameId, setCompanyId, setCreateDate, setDefinition, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLastPublishDate, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setNew, setParentStructureId, setPrimaryKey, setPrimaryKeyObj, setStorageType, setStructureId, setStructureKey, setType, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
static final com.liferay.portal.kernel.util.Accessor<DDMStructure,java.lang.Long> STRUCTURE_ID_ACCESSOR
DDMForm createFullHierarchyDDMForm() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<java.lang.String> getChildrenFieldNames(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
DDMForm getDDMForm()
DDMFormField getDDMFormField(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<DDMFormField> getDDMFormFields(boolean includeTransientFields)
DDMFormLayout getDDMFormLayout() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldDataType(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldLabel(java.lang.String fieldName, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldLabel(java.lang.String fieldName, java.lang.String locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.Set<java.lang.String> getFieldNames()
java.lang.String getFieldProperty(java.lang.String fieldName, java.lang.String property) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean getFieldRepeatable(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean getFieldRequired(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldTip(java.lang.String fieldName, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldTip(java.lang.String fieldName, java.lang.String locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFieldType(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
DDMForm getFullHierarchyDDMForm()
java.util.Map<java.lang.String,DDMFormField> getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
DDMStructureVersion getLatestStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<java.lang.String> getRootFieldNames()
DDMStructureVersion getStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<DDMTemplate> getTemplates()
java.lang.String getUnambiguousName(java.util.List<DDMStructure> structures, long groupId, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.lang.String webDAVToken)
themeDisplay
- the theme display needed to build the URL. It can
set HTTPS access, the server name, the server port, the path
context, and the scope group.webDAVToken
- the WebDAV token for the URLboolean hasField(java.lang.String fieldName)
boolean isFieldRepeatable(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isFieldTransient(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void setDDMForm(DDMForm ddmForm)