atg.svc.repository.beans
Interface BooleanFieldDefinition

All Superinterfaces:
javax.ejb.EJBLocalObject, FieldDefinition, SecuredItem
All Known Implementing Classes:
_BooleanFieldDefinition_BeanImpl, _BooleanFieldDefinition_Impl, _BooleanFieldDefinition_ReposImpl

public interface BooleanFieldDefinition
extends javax.ejb.EJBLocalObject, FieldDefinition

Class BooleanFieldDefinition

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
falseLabel String   R, W, Cch, Qry, Req
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
trueLabel String   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 falseLabel: String

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 trueLabel: String

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(BooleanFieldDefinition destination)
          Copies the property values of this instance to another instance of the same data type.
 java.lang.String getFalseLabel()
          Getter for property falseLabel
 java.lang.String getId()
          Getter for property id
 java.lang.String getTrueLabel()
          Getter for property trueLabel
 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 setFalseLabel(java.lang.String value)
          Setter for property falseLabel .
 void setId(java.lang.String value)
          Setter for property id .
 void setTrueLabel(java.lang.String value)
          Setter for property trueLabel .
 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, getIsExternallyVisible, getIsExternallyVisible, 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

getFalseLabel

java.lang.String getFalseLabel()
                               throws javax.ejb.EJBException
Getter for property falseLabel

Returns:
String
Throws:
javax.ejb.EJBException

setFalseLabel

void setFalseLabel(java.lang.String value)
                   throws javax.ejb.EJBException
Setter for property falseLabel . 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getId

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

Specified by:
getId in interface 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 FieldDefinition
Parameters:
value - String
Throws:
javax.ejb.EJBException

getTrueLabel

java.lang.String getTrueLabel()
                              throws javax.ejb.EJBException
Getter for property trueLabel

Returns:
String
Throws:
javax.ejb.EJBException

setTrueLabel

void setTrueLabel(java.lang.String value)
                  throws javax.ejb.EJBException
Setter for property trueLabel . 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.

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 FieldDefinition
Throws:
javax.ejb.EJBException

copyTo

void copyTo(BooleanFieldDefinition 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 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 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 FieldDefinition