atg.svc.repository.beans
Interface TextFieldDefinition

All Superinterfaces:
javax.ejb.EJBLocalObject, atg.svc.repository.beans.FieldDefinition, atg.svc.repository.beans.SecuredItem

public interface TextFieldDefinition
extends javax.ejb.EJBLocalObject, atg.svc.repository.beans.FieldDefinition

Class TextFieldDefinition

Property Summaries

Property Name Property Type Property Description Flags
default boolean Set to true if the field instance should set default values from the definition on create. R, W, Cch, Qry
displayName String Name displayed in UI to users R, W, Cch, Qry, Req
editor FieldDefinitionEditor   R, W, Cch, Qry, Req
externalAudience String[]   R, W, Cch, Mv, Qry
externalAudienceSorted Object[]   R, Cch, Drv, Mv, Qry
id String   R, W, Cch, Id, Qry, Req
indexing FieldDefinitionIndexing   R, W, Cch, Qry, Req
internalAudience String[]   R, W, Cch, Mv, Qry
internalAudienceSorted Object[]   R, Cch, Drv, Mv, Qry
internalModify String[]   R, W, Cch, Mv, Qry
internalModifySorted Object[]   R, Cch, Drv, Mv, Qry
multiValued boolean Set to true if the field instance can hold multiple values R, W, Cch, Qry, Req
name String Immutable logical name of the field definition R, W, Cch, Qry, Req
purpose FieldDefinitionPurpose   R, W, Cch, Qry, Req
required boolean Set to true if the field instance should not allow null values R, W, Cch, Qry, Req
type FieldDefinitionType   R, W, Cch, Qry, Req
usage FieldDefinitionUsage   R, W, Cch, Qry, Req

Flags Key:R=readable, W=writable, CsD=cascadeDelete, CsI=cascadeInsert, CsU=cascadeUpdate, Cch=cacheable, CoM=collectionOrMap, Drv=derived, Id=idProperty, Mv=multivalued, Qry=queryable, Req=required, Exp=expert, Hdn=hidden, Prf=preferred

Property Details

Property default: boolean

Property displayName: String

Property editor: FieldDefinitionEditor

Property externalAudience: String[]

Property externalAudienceSorted: Object[]

Property id: String

Property indexing: FieldDefinitionIndexing

Property internalAudience: String[]

Property internalAudienceSorted: Object[]

Property internalModify: String[]

Property internalModifySorted: Object[]

Property multiValued: boolean

Property name: String

Property purpose: FieldDefinitionPurpose

Property required: boolean

Property type: FieldDefinitionType

Property usage: FieldDefinitionUsage


Field Summary
 
Fields inherited from interface atg.svc.repository.beans.SecuredItem
CLASS_VERSION
 
Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(TextFieldDefinition destination)
          Copies the property values of this instance to another instance of the same data type.
 java.lang.String getId()
          Getter for property id
 boolean isRemoved()
          Returns true if the underlying object has been removed.
 void prepareInstanceForWrite()
          This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write.
 void setId(java.lang.String value)
          Setter for property id .
 void writeInstance()
          This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries.
 
Methods inherited from interface atg.svc.repository.beans.FieldDefinition
copyTo, createSolutionFieldValue, getDefaultValues, getDisplayName, getEditor, getExternalAudience, getExternalAudienceSorted, getHasDefault, getIndexing, getInternalAudience, getInternalAudienceSorted, getInternalModify, getInternalModifySorted, getIsEditable, getIsExternallyVisibleToEveryone, getIsExternallyVisibleToSegment, getIsInternalOnly, getIsMultiValued, getIsVisible, getName, getPurpose, getType, getUsage, isDefault, isMultiValued, isRequired, setDefault, setDefaultValues, setDisplayName, setEditor, setExternalAudience, setHasDefault, setIndexing, setInternalAudience, setInternalModify, setMultiValued, setName, setPurpose, setRequired, setType, setUsage
 

Method Detail

getId

java.lang.String getId()
                       throws javax.ejb.EJBException
Getter for property id

Specified by:
getId in interface atg.svc.repository.beans.FieldDefinition
Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property id . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setId in interface atg.svc.repository.beans.FieldDefinition
Parameters:
value - String
Throws:
javax.ejb.EJBException

isRemoved

boolean isRemoved()
                  throws javax.ejb.EJBException
Returns true if the underlying object has been removed. False otherwise.

Specified by:
isRemoved in interface atg.svc.repository.beans.FieldDefinition
Throws:
javax.ejb.EJBException

copyTo

void copyTo(TextFieldDefinition destination)
            throws javax.ejb.EJBException
Copies the property values of this instance to another instance of the same data type. Only properties that are both readable and writable are copied. Each property is copied by calling the getter method on the source instance and setting the result in the destination instance using the setter method.

Throws:
javax.ejb.EJBException

writeInstance

void writeInstance()
                   throws javax.ejb.EJBException
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. Changes might be made visible before calling this method, but this is not guaranteed until this method is called.

Specified by:
writeInstance in interface atg.svc.repository.beans.FieldDefinition
Throws:
javax.ejb.EJBException

prepareInstanceForWrite

void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. This must be called before that first read.

Specified by:
prepareInstanceForWrite in interface atg.svc.repository.beans.FieldDefinition
Throws:
javax.ejb.EJBException

_isMutable

boolean _isMutable()
Returns true if the item is mutable. Items are only mutable after a setter method or prepareInstanceForWrite is called.

Specified by:
_isMutable in interface atg.svc.repository.beans.FieldDefinition