org.outerj.daisy.repository.commonimpl.schema
Class FieldTypeImpl
java.lang.Object
org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl
- All Implemented Interfaces:
- org.outerj.daisy.repository.schema.FieldType
public class FieldTypeImpl
- extends java.lang.Object
- implements org.outerj.daisy.repository.schema.FieldType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ_ONLY_MESSAGE
protected static final java.lang.String READ_ONLY_MESSAGE
- See Also:
- Constant Field Values
FieldTypeImpl
public FieldTypeImpl(java.lang.String name,
org.outerj.daisy.repository.ValueType fieldType,
boolean multiValue,
SchemaStrategy schemaStrategy,
CommonRepository repository,
AuthenticatedUser user)
getIntimateAccess
public FieldTypeImpl.IntimateAccess getIntimateAccess(SchemaStrategy schemaStrategy)
getId
public long getId()
- Specified by:
getId
in interface org.outerj.daisy.repository.schema.FieldType
getValueType
public org.outerj.daisy.repository.ValueType getValueType()
- Specified by:
getValueType
in interface org.outerj.daisy.repository.schema.FieldType
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.outerj.daisy.repository.schema.FieldType
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface org.outerj.daisy.repository.schema.FieldType
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription
in interface org.outerj.daisy.repository.schema.FieldType
getDescriptionExact
public java.lang.String getDescriptionExact(java.util.Locale locale)
- Specified by:
getDescriptionExact
in interface org.outerj.daisy.repository.schema.FieldType
setDescription
public void setDescription(java.util.Locale locale,
java.lang.String description)
- Specified by:
setDescription
in interface org.outerj.daisy.repository.schema.FieldType
clearDescriptions
public void clearDescriptions()
- Specified by:
clearDescriptions
in interface org.outerj.daisy.repository.schema.FieldType
getDescriptionLocales
public java.util.Locale[] getDescriptionLocales()
- Specified by:
getDescriptionLocales
in interface org.outerj.daisy.repository.schema.FieldType
getLabel
public java.lang.String getLabel(java.util.Locale locale)
- Specified by:
getLabel
in interface org.outerj.daisy.repository.schema.FieldType
getLabelExact
public java.lang.String getLabelExact(java.util.Locale locale)
- Specified by:
getLabelExact
in interface org.outerj.daisy.repository.schema.FieldType
setLabel
public void setLabel(java.util.Locale locale,
java.lang.String label)
- Specified by:
setLabel
in interface org.outerj.daisy.repository.schema.FieldType
clearLabels
public void clearLabels()
- Specified by:
clearLabels
in interface org.outerj.daisy.repository.schema.FieldType
getLabelLocales
public java.util.Locale[] getLabelLocales()
- Specified by:
getLabelLocales
in interface org.outerj.daisy.repository.schema.FieldType
getLastModified
public java.util.Date getLastModified()
- Specified by:
getLastModified
in interface org.outerj.daisy.repository.schema.FieldType
getLastModifier
public long getLastModifier()
- Specified by:
getLastModifier
in interface org.outerj.daisy.repository.schema.FieldType
isAclAllowed
public boolean isAclAllowed()
- Specified by:
isAclAllowed
in interface org.outerj.daisy.repository.schema.FieldType
setAclAllowed
public void setAclAllowed(boolean aclAllowed)
- Specified by:
setAclAllowed
in interface org.outerj.daisy.repository.schema.FieldType
isMultiValue
public boolean isMultiValue()
- Specified by:
isMultiValue
in interface org.outerj.daisy.repository.schema.FieldType
getAllowFreeEntry
public boolean getAllowFreeEntry()
- Specified by:
getAllowFreeEntry
in interface org.outerj.daisy.repository.schema.FieldType
setAllowFreeEntry
public void setAllowFreeEntry(boolean allowFreeEntry)
- Specified by:
setAllowFreeEntry
in interface org.outerj.daisy.repository.schema.FieldType
getXml
public org.outerx.daisy.x10.FieldTypeDocument getXml()
- Specified by:
getXml
in interface org.outerj.daisy.repository.schema.FieldType
setAllFromXml
public void setAllFromXml(org.outerx.daisy.x10.FieldTypeDocument.FieldType fieldTypeXml)
- Specified by:
setAllFromXml
in interface org.outerj.daisy.repository.schema.FieldType
save
public void save()
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
save
in interface org.outerj.daisy.repository.schema.FieldType
- Throws:
org.outerj.daisy.repository.RepositoryException
setDeprecated
public void setDeprecated(boolean deprecated)
- Specified by:
setDeprecated
in interface org.outerj.daisy.repository.schema.FieldType
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecated
in interface org.outerj.daisy.repository.schema.FieldType
getUpdateCount
public long getUpdateCount()
- Specified by:
getUpdateCount
in interface org.outerj.daisy.repository.schema.FieldType
makeReadOnly
public void makeReadOnly()
- Disables all operations that can modify the state of this object.
isReadOnly
public boolean isReadOnly()
getSelectionList
public org.outerj.daisy.repository.schema.SelectionList getSelectionList()
- Specified by:
getSelectionList
in interface org.outerj.daisy.repository.schema.FieldType
clearSelectionList
public void clearSelectionList()
- Specified by:
clearSelectionList
in interface org.outerj.daisy.repository.schema.FieldType
createStaticSelectionList
public org.outerj.daisy.repository.schema.StaticSelectionList createStaticSelectionList()
- Specified by:
createStaticSelectionList
in interface org.outerj.daisy.repository.schema.FieldType
createLinkQuerySelectionList
public org.outerj.daisy.repository.schema.LinkQuerySelectionList createLinkQuerySelectionList(java.lang.String whereClause,
boolean filterVariants)
- Specified by:
createLinkQuerySelectionList
in interface org.outerj.daisy.repository.schema.FieldType
createQuerySelectionList
public org.outerj.daisy.repository.schema.QuerySelectionList createQuerySelectionList(java.lang.String query,
boolean filterVariants,
org.outerj.daisy.repository.query.SortOrder sortOrder)
- Specified by:
createQuerySelectionList
in interface org.outerj.daisy.repository.schema.FieldType
getSize
public int getSize()
- Specified by:
getSize
in interface org.outerj.daisy.repository.schema.FieldType
setSize
public void setSize(int size)
- Specified by:
setSize
in interface org.outerj.daisy.repository.schema.FieldType
Copyright © -2012 . All Rights Reserved.