Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.storage
Class Field

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.storage.Field
All Implemented Interfaces:
Serializable

public class Field
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Field()
           
Field(long ddmStructureId, String name, List<Serializable> values, Locale locale)
           
Field(long ddmStructureId, String name, Map<Locale,List<Serializable>> valuesMap, Locale defaultLocale)
           
Field(long ddmStructureId, String name, Serializable value)
           
Field(String name, Serializable value)
           
 
Method Summary
 void addValue(Locale locale, Serializable value)
           
 void addValues(Locale locale, List<Serializable> values)
           
 boolean equals(Object obj)
           
 Set<Locale> getAvailableLocales()
           
 String getDataType()
           
 DDMStructure getDDMStructure()
           
 long getDDMStructureId()
           
 Locale getDefaultLocale()
           
protected  FieldRenderer getFieldRenderer()
           
 String getName()
           
 String getRenderedValue(Locale locale)
           
 String getRenderedValue(Locale locale, int valueIndex)
           
 String getType()
           
 Serializable getValue()
           
 Serializable getValue(Locale locale)
           
 Serializable getValue(Locale locale, int index)
           
 List<Serializable> getValues(Locale locale)
           
 Map<Locale,List<Serializable>> getValuesMap()
           
 boolean isPrivate()
           
 boolean isRepeatable()
           
 void setDDMStructureId(long ddmStructureId)
           
 void setDefaultLocale(Locale defaultLocale)
           
 void setName(String name)
           
 void setValue(Locale locale, Serializable value)
           
 void setValue(Serializable value)
           
 void setValues(Locale locale, List<Serializable> values)
           
 void setValuesMap(Map<Locale,List<Serializable>> valuesMap)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field()

Field

public Field(long ddmStructureId,
             String name,
             List<Serializable> values,
             Locale locale)

Field

public Field(long ddmStructureId,
             String name,
             Map<Locale,List<Serializable>> valuesMap,
             Locale defaultLocale)

Field

public Field(long ddmStructureId,
             String name,
             Serializable value)

Field

public Field(String name,
             Serializable value)
Method Detail

addValue

public void addValue(Locale locale,
                     Serializable value)

addValues

public void addValues(Locale locale,
                      List<Serializable> values)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAvailableLocales

public Set<Locale> getAvailableLocales()

getDataType

public String getDataType()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getDDMStructure

public DDMStructure getDDMStructure()
                             throws SystemException
Throws:
SystemException

getDDMStructureId

public long getDDMStructureId()

getDefaultLocale

public Locale getDefaultLocale()

getName

public String getName()

getRenderedValue

public String getRenderedValue(Locale locale)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getRenderedValue

public String getRenderedValue(Locale locale,
                               int valueIndex)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getType

public String getType()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getValue

public Serializable getValue()

getValue

public Serializable getValue(Locale locale)

getValue

public Serializable getValue(Locale locale,
                             int index)

getValues

public List<Serializable> getValues(Locale locale)

getValuesMap

public Map<Locale,List<Serializable>> getValuesMap()

isPrivate

public boolean isPrivate()

isRepeatable

public boolean isRepeatable()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

setDDMStructureId

public void setDDMStructureId(long ddmStructureId)

setDefaultLocale

public void setDefaultLocale(Locale defaultLocale)

setName

public void setName(String name)

setValue

public void setValue(Locale locale,
                     Serializable value)

setValue

public void setValue(Serializable value)

setValues

public void setValues(Locale locale,
                      List<Serializable> values)

setValuesMap

public void setValuesMap(Map<Locale,List<Serializable>> valuesMap)

getFieldRenderer

protected FieldRenderer getFieldRenderer()
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5