Liferay 6.1.10-ee-ga1

com.liferay.portlet.dynamicdatamapping.model.impl
Class DDMStructureImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DDMStructure>
      extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
          extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureBaseImpl
              extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DDMStructure>, ClassedModel, GroupedModel, PersistedModel, DDMStructure, DDMStructureModel, Serializable, Cloneable, Comparable<DDMStructure>

public class DDMStructureImpl
extends DDMStructureBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
CLASSNAMEID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, DATA_SOURCE, DESCRIPTION_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, NAME_COLUMN_BITMASK, SESSION_FACTORY, STRUCTUREKEY_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK
 
Constructor Summary
DDMStructureImpl()
           
 
Method Summary
 List<String> getAvailableLocales()
           
 String getDefaultLocale()
           
 Document getDocument()
           
 String getFieldDataType(String fieldName)
           
 String getFieldLabel(String fieldName, Locale locale)
           
 String getFieldLabel(String fieldName, String locale)
           
 Set<String> getFieldNames()
           
 String getFieldProperty(String fieldName, String property)
           
 String getFieldProperty(String fieldName, String property, String locale)
           
 boolean getFieldRequired(String fieldName)
           
 Map<String,String> getFields(String fieldName, String attributeName, String attributeValue)
           
 Map<String,String> getFields(String fieldName, String attributeName, String attributeValue, String locale)
           
 Map<String,Map<String,String>> getFieldsMap()
           
 Map<String,Map<String,String>> getFieldsMap(String locale)
           
 String getFieldType(String fieldName)
           
 boolean hasField(String fieldName)
           
 void setDocument(Document document)
           
 void setFieldsMap(Map<String,Map<String,String>> fieldsMap)
           
 void setXsd(String xsd)
          Sets the xsd of this d d m structure.
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
clone, compareTo, equals, getClassName, getClassNameId, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModelClass, getModelClassName, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getOriginalClassNameId, getOriginalDescription, getOriginalGroupId, getOriginalName, getOriginalStructureKey, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getStorageType, getStructureId, getStructureKey, getType, getUserId, getUserName, getUserUuid, getUuid, getXsd, hashCode, resetOriginalValues, setClassNameId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setPrimaryKey, setPrimaryKeyObj, setStorageType, setStructureId, setStructureKey, setType, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMStructureModel
clone, compareTo, getClassName, getClassNameId, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getModifiedDate, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getPrimaryKey, getPrimaryKeyObj, getStorageType, getStructureId, getStructureKey, getType, getUserId, getUserName, getUserUuid, getUuid, getXsd, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setClassNameId, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setNew, setPrimaryKey, setPrimaryKeyObj, setStorageType, setStructureId, setStructureKey, setType, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

DDMStructureImpl

public DDMStructureImpl()
Method Detail

getAvailableLocales

public List<String> getAvailableLocales()

getDefaultLocale

public String getDefaultLocale()

getDocument

public Document getDocument()
Specified by:
getDocument in interface DDMStructure
Overrides:
getDocument in class DDMStructureModelImpl

getFieldDataType

public String getFieldDataType(String fieldName)
                        throws StructureFieldException
Throws:
StructureFieldException

getFieldLabel

public String getFieldLabel(String fieldName,
                            Locale locale)
                     throws StructureFieldException
Throws:
StructureFieldException

getFieldLabel

public String getFieldLabel(String fieldName,
                            String locale)
                     throws StructureFieldException
Throws:
StructureFieldException

getFieldNames

public Set<String> getFieldNames()

getFieldProperty

public String getFieldProperty(String fieldName,
                               String property)
                        throws StructureFieldException
Throws:
StructureFieldException

getFieldProperty

public String getFieldProperty(String fieldName,
                               String property,
                               String locale)
                        throws StructureFieldException
Throws:
StructureFieldException

getFieldRequired

public boolean getFieldRequired(String fieldName)
                         throws StructureFieldException
Throws:
StructureFieldException

getFields

public Map<String,String> getFields(String fieldName,
                                    String attributeName,
                                    String attributeValue)

getFields

public Map<String,String> getFields(String fieldName,
                                    String attributeName,
                                    String attributeValue,
                                    String locale)

getFieldsMap

public Map<String,Map<String,String>> getFieldsMap()
Specified by:
getFieldsMap in interface DDMStructure
Overrides:
getFieldsMap in class DDMStructureModelImpl

getFieldsMap

public Map<String,Map<String,String>> getFieldsMap(String locale)

getFieldType

public String getFieldType(String fieldName)
                    throws StructureFieldException
Throws:
StructureFieldException

hasField

public boolean hasField(String fieldName)

setDocument

public void setDocument(Document document)
Specified by:
setDocument in interface DDMStructure
Overrides:
setDocument in class DDMStructureModelImpl

setFieldsMap

public void setFieldsMap(Map<String,Map<String,String>> fieldsMap)
Specified by:
setFieldsMap in interface DDMStructure
Overrides:
setFieldsMap in class DDMStructureModelImpl

setXsd

public void setXsd(String xsd)
Description copied from interface: DDMStructureModel
Sets the xsd of this d d m structure.

Specified by:
setXsd in interface DDMStructure
Specified by:
setXsd in interface DDMStructureModel
Overrides:
setXsd in class DDMStructureModelImpl
Parameters:
xsd - the xsd of this d d m structure

Liferay 6.1.10-ee-ga1