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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.dynamicdatamapping.model.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:
com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.dynamicdatamapping.model.DDMStructure>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portal.model.PersistedModel, com.liferay.portlet.dynamicdatamapping.model.DDMStructure, com.liferay.portlet.dynamicdatamapping.model.DDMStructureModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.dynamicdatamapping.model.DDMStructure>

public class DDMStructureImpl
extends DDMStructureBaseImpl

Author:
Brian Wing Shun Chan
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
 java.util.List<java.lang.String> getAvailableLocales()
           
 java.lang.String getDefaultLocale()
           
 com.liferay.portal.kernel.xml.Document getDocument()
           
 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)
           
 java.lang.String getFieldProperty(java.lang.String fieldName, java.lang.String property, java.lang.String locale)
           
 boolean getFieldRequired(java.lang.String fieldName)
           
 java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String fieldName, java.lang.String attributeName, java.lang.String attributeValue)
           
 java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String fieldName, java.lang.String attributeName, java.lang.String attributeValue, java.lang.String locale)
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getFieldsMap()
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getFieldsMap(java.lang.String locale)
           
 java.lang.String getFieldType(java.lang.String fieldName)
           
 boolean hasField(java.lang.String fieldName)
           
 void setDocument(com.liferay.portal.kernel.xml.Document document)
           
 void setFieldsMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> fieldsMap)
           
 void setXsd(java.lang.String xsd)
           
 
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 java.util.List<java.lang.String> getAvailableLocales()

getDefaultLocale

public java.lang.String getDefaultLocale()

getDocument

public com.liferay.portal.kernel.xml.Document getDocument()
Specified by:
getDocument in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructure
Overrides:
getDocument in class DDMStructureModelImpl

getFieldDataType

public java.lang.String getFieldDataType(java.lang.String fieldName)
                                  throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFieldLabel

public java.lang.String getFieldLabel(java.lang.String fieldName,
                                      java.util.Locale locale)
                               throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFieldLabel

public java.lang.String getFieldLabel(java.lang.String fieldName,
                                      java.lang.String locale)
                               throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFieldNames

public java.util.Set<java.lang.String> getFieldNames()

getFieldProperty

public java.lang.String getFieldProperty(java.lang.String fieldName,
                                         java.lang.String property)
                                  throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFieldProperty

public java.lang.String getFieldProperty(java.lang.String fieldName,
                                         java.lang.String property,
                                         java.lang.String locale)
                                  throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFieldRequired

public boolean getFieldRequired(java.lang.String fieldName)
                         throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

getFields

public java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String fieldName,
                                                                  java.lang.String attributeName,
                                                                  java.lang.String attributeValue)

getFields

public java.util.Map<java.lang.String,java.lang.String> getFields(java.lang.String fieldName,
                                                                  java.lang.String attributeName,
                                                                  java.lang.String attributeValue,
                                                                  java.lang.String locale)

getFieldsMap

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getFieldsMap()
Specified by:
getFieldsMap in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructure
Overrides:
getFieldsMap in class DDMStructureModelImpl

getFieldsMap

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getFieldsMap(java.lang.String locale)

getFieldType

public java.lang.String getFieldType(java.lang.String fieldName)
                              throws com.liferay.portlet.dynamicdatamapping.StructureFieldException
Throws:
com.liferay.portlet.dynamicdatamapping.StructureFieldException

hasField

public boolean hasField(java.lang.String fieldName)

setDocument

public void setDocument(com.liferay.portal.kernel.xml.Document document)
Specified by:
setDocument in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructure
Overrides:
setDocument in class DDMStructureModelImpl

setFieldsMap

public void setFieldsMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> fieldsMap)
Specified by:
setFieldsMap in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructure
Overrides:
setFieldsMap in class DDMStructureModelImpl

setXsd

public void setXsd(java.lang.String xsd)
Specified by:
setXsd in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructure
Specified by:
setXsd in interface com.liferay.portlet.dynamicdatamapping.model.DDMStructureModel
Overrides:
setXsd in class DDMStructureModelImpl