com.liferay.portlet.dynamicdatamapping.model.impl
Class DDMStructureImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<DDMStructure>
com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureBaseImpl
com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl
- All Implemented Interfaces:
- AuditedModel, BaseModel<DDMStructure>, ClassedModel, GroupedModel, LocalizedModel, PersistedModel, StagedGroupedModel, StagedModel, TypedModel, DDMStructure, DDMStructureModel, Serializable, Cloneable, Comparable<DDMStructure>
public class DDMStructureImpl
- extends DDMStructureBaseImpl
- See Also:
- Serialized Form
| Fields inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl |
CLASSNAMEID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, DESCRIPTION_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DDMSTRUCTURES, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_COLUMNS, MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_NAME, MAPPING_TABLE_DLFILEENTRYTYPES_DDMSTRUCTURES_SQL_CREATE, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTSTRUCTUREID_COLUMN_BITMASK, SESSION_FACTORY, STRUCTUREID_COLUMN_BITMASK, STRUCTUREKEY_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK |
| Methods inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl |
clone, compareTo, equals, getClassName, getClassNameId, getColumnBitmask, getCompanyId, getCreateDate, getDefinition, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getOriginalClassNameId, getOriginalCompanyId, getOriginalDescription, getOriginalGroupId, getOriginalName, getOriginalParentStructureId, getOriginalStructureKey, getOriginalUuid, getParentStructureId, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getStorageType, getStructureId, getStructureKey, getType, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, prepareLocalizedFieldsForImport, resetOriginalValues, setClassName, setClassNameId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setModelAttributes, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentStructureId, setPrimaryKey, setPrimaryKeyObj, setStorageType, setStructureId, setStructureKey, setType, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString |
| Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMStructureModel |
clone, compareTo, getClassName, getClassNameId, getCompanyId, getCreateDate, getDefinition, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, 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, setCachedModel, setClassName, setClassNameId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, 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 |
DDMStructureImpl
public DDMStructureImpl()
createFullHierarchyDDMForm
public DDMForm createFullHierarchyDDMForm()
throws PortalException
- Throws:
PortalException
getAvailableLanguageIds
public String[] getAvailableLanguageIds()
- Specified by:
getAvailableLanguageIds in interface LocalizedModel- Specified by:
getAvailableLanguageIds in interface DDMStructureModel- Overrides:
getAvailableLanguageIds in class DDMStructureModelImpl
getChildrenFieldNames
public List<String> getChildrenFieldNames(String fieldName)
throws PortalException
- Throws:
PortalException
getDDMForm
public DDMForm getDDMForm()
- Specified by:
getDDMForm in interface DDMStructure- Overrides:
getDDMForm in class DDMStructureModelImpl
getDDMFormField
public DDMFormField getDDMFormField(String fieldName)
throws PortalException
- Throws:
PortalException
getDDMFormFields
public List<DDMFormField> getDDMFormFields(boolean includeTransientFields)
getDDMFormLayout
public DDMFormLayout getDDMFormLayout()
throws PortalException
- Throws:
PortalException
getDefaultLanguageId
public String getDefaultLanguageId()
- Specified by:
getDefaultLanguageId in interface LocalizedModel- Specified by:
getDefaultLanguageId in interface DDMStructureModel- Overrides:
getDefaultLanguageId in class DDMStructureModelImpl
getFieldDataType
public String getFieldDataType(String fieldName)
throws PortalException
- Throws:
PortalException
getFieldLabel
public String getFieldLabel(String fieldName,
Locale locale)
throws PortalException
- Throws:
PortalException
getFieldLabel
public String getFieldLabel(String fieldName,
String locale)
throws PortalException
- Throws:
PortalException
getFieldNames
public Set<String> getFieldNames()
getFieldProperty
public String getFieldProperty(String fieldName,
String property)
throws PortalException
- Throws:
PortalException
getFieldRepeatable
public boolean getFieldRepeatable(String fieldName)
throws PortalException
- Throws:
PortalException
getFieldRequired
public boolean getFieldRequired(String fieldName)
throws PortalException
- Throws:
PortalException
getFieldTip
public String getFieldTip(String fieldName,
Locale locale)
throws PortalException
- Throws:
PortalException
getFieldTip
public String getFieldTip(String fieldName,
String locale)
throws PortalException
- Throws:
PortalException
getFieldType
public String getFieldType(String fieldName)
throws PortalException
- Throws:
PortalException
getFullHierarchyDDMForm
public DDMForm getFullHierarchyDDMForm()
- Specified by:
getFullHierarchyDDMForm in interface DDMStructure- Overrides:
getFullHierarchyDDMForm in class DDMStructureModelImpl
getFullHierarchyDDMFormFieldsMap
public Map<String,DDMFormField> getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
getRootFieldNames
public List<String> getRootFieldNames()
getStructureVersion
public DDMStructureVersion getStructureVersion()
throws PortalException
- Throws:
PortalException
getTemplates
public List<DDMTemplate> getTemplates()
getUnambiguousName
public String getUnambiguousName(List<DDMStructure> structures,
long groupId,
Locale locale)
throws PortalException
- Throws:
PortalException
getWebDavURL
public String getWebDavURL(ThemeDisplay themeDisplay,
String webDAVToken)
- Returns the WebDAV URL to access the structure.
- Parameters:
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 URL
- Returns:
- the WebDAV URL
hasField
public boolean hasField(String fieldName)
isFieldRepeatable
public boolean isFieldRepeatable(String fieldName)
throws PortalException
- Throws:
PortalException
isFieldTransient
public boolean isFieldTransient(String fieldName)
throws PortalException
- Throws:
PortalException
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
- Specified by:
prepareLocalizedFieldsForImport in interface LocalizedModel- Specified by:
prepareLocalizedFieldsForImport in interface DDMStructureModel- Overrides:
prepareLocalizedFieldsForImport in class DDMStructureModelImpl
- Throws:
LocaleException
setDDMForm
public void setDDMForm(DDMForm ddmForm)
- Specified by:
setDDMForm in interface DDMStructure- Overrides:
setDDMForm in class DDMStructureModelImpl
setDefinition
public void setDefinition(String definition)
- Description copied from interface:
DDMStructureModel
- Sets the definition of this d d m structure.
- Specified by:
setDefinition in interface DDMStructureModel- Overrides:
setDefinition in class DDMStructureModelImpl
- Parameters:
definition - the definition of this d d m structure
setFullHierarchyDDMForm
public void setFullHierarchyDDMForm(DDMForm fullHierarchyDDMForm)
- Specified by:
setFullHierarchyDDMForm in interface DDMStructure- Overrides:
setFullHierarchyDDMForm in class DDMStructureModelImpl
updateDDMForm
public void updateDDMForm(DDMForm ddmForm)
filterTransientDDMFormFields
protected List<DDMFormField> filterTransientDDMFormFields(List<DDMFormField> ddmFormFields)
getDDMFormFieldNames
protected List<String> getDDMFormFieldNames(List<DDMFormField> ddmFormFields)
getParentDDMStructure
protected DDMStructure getParentDDMStructure()
throws PortalException
- Throws:
PortalException