atg.svc.repository.beans
Interface SkinDefinition

All Superinterfaces:
javax.ejb.EJBLocalObject, FrameworkObject
All Known Implementing Classes:
_SkinDefinition_BeanImpl, _SkinDefinition_Impl, _SkinDefinition_ReposImpl

public interface SkinDefinition
extends javax.ejb.EJBLocalObject, FrameworkObject

Class SkinDefinition

Property Summaries

Property Name Property Type Property Description Flags
appId String   R, W, Cch, Qry, Req
contentIds Map   R, W, Cch, CoM, Mv, Qry
default FrameworkObject   R, W, Cch, Qry
descriptionKey String   R, W, Cch, Qry
enabledYn boolean   R, W, Cch, Qry, Req
id String   R, W, Cch, Id, Qry, Req
imageUrl String   R, W, Cch, Qry
nameKey String   R, W, Cch, Qry
objectType FrameworkObjectObjectType   R, W, Cch, Qry, Req
optionNames Map   R, W, Cch, CoM, Mv, Qry
resourceBundle String   R, W, Cch, Qry
segmentName String   R, W, Cch, Qry
skinId String   R, W, Cch, Qry, Req
templateIds Map   R, W, Cch, CoM, Mv, Qry

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

Property contentIds: Map

Property default: FrameworkObject

Property descriptionKey: String

Property enabledYn: boolean

Property id: String

Property imageUrl: String

Property nameKey: String

Property objectType: FrameworkObjectObjectType

Property optionNames: Map

Property resourceBundle: String

Property segmentName: String

Property skinId: String

Property templateIds: Map


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(SkinDefinition destination)
          Copies the property values of this instance to another instance of the same data type.
 java.lang.String getId()
          Getter for property id
 java.lang.String getSkinId()
          Getter for property skinId
 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 setSkinId(java.lang.String value)
          Setter for property skinId .
 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.FrameworkObject
copyTo, getAppId, getContentIds, getContents, getDefault, getDescriptionKey, getImageUrl, getNameKey, getObjectType, getOptionNames, getOptions, getResourceBundle, getSegmentName, getTemplateIds, getTemplates, isEnabledYn, setAppId, setContentIds, setDefault, setDescriptionKey, setEnabledYn, setImageUrl, setNameKey, setObjectType, setOptionNames, setResourceBundle, setSegmentName, setTemplateIds
 

Method Detail

getId

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

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

getSkinId

java.lang.String getSkinId()
                           throws javax.ejb.EJBException
Getter for property skinId

Returns:
String
Throws:
javax.ejb.EJBException

setSkinId

void setSkinId(java.lang.String value)
               throws javax.ejb.EJBException
Setter for property skinId . 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 FrameworkObject
Throws:
javax.ejb.EJBException

copyTo

void copyTo(SkinDefinition 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 FrameworkObject
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 FrameworkObject
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 FrameworkObject