atg.svc.repository.beans
Class _SkinDefinition_BeanImpl

java.lang.Object
  extended by atg.svc.repository.beans._SkinDefinition_Impl
      extended by atg.svc.repository.beans._SkinDefinition_BeanImpl
All Implemented Interfaces:
atg.repository.tojava.runtime.RJBeanObject, atg.repository.tojava.runtime.RJObject, FrameworkObject, atg.svc.repository.beans.pv.FrameworkObject_PV, atg.svc.repository.beans.pv.SkinDefinition_PV, SkinDefinition, java.io.Serializable, javax.ejb.EJBLocalObject

public class _SkinDefinition_BeanImpl
extends _SkinDefinition_Impl
implements atg.repository.tojava.runtime.RJBeanObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface atg.repository.tojava.runtime.RJBeanObject
CLASS_VERSION
 
Constructor Summary
_SkinDefinition_BeanImpl()
           
 
Method Summary
 javax.ejb.EJBLocalHome _getRepositoryHome()
          Gets the repository home that corresponds to this bean.
 boolean _isMutable()
          Returns true if the item is mutable.
 java.lang.String getAppId()
          Getter for property appId
 java.util.Map getContentIds()
          Getter for property contentIds
 FrameworkObject getDefault()
          Getter for property default
 java.lang.String getDescriptionKey()
          Getter for property descriptionKey
 javax.ejb.EJBLocalHome getEJBLocalHome()
          Gets the home associated with this repository object.
 java.lang.String getId()
          Getter for property id
 java.lang.String getImageUrl()
          Getter for property imageUrl
 java.lang.String getNameKey()
          Getter for property nameKey
 FrameworkObjectObjectType getObjectType()
          Getter for property objectType
 java.util.Map getOptionNames()
          Getter for property optionNames
 java.lang.Object getPrimaryKey()
           
 java.lang.String getResourceBundle()
          Getter for property resourceBundle
 java.lang.String getSegmentName()
          Getter for property segmentName
 java.lang.String getSkinId()
          Getter for property skinId
 java.util.Map getTemplateIds()
          Getter for property templateIds
 boolean isEnabledYn()
          Getter for property enabledYn
 boolean isIdentical(javax.ejb.EJBLocalObject obj)
          Returns true if the given object is identical to this one.
 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 remove()
          Removes this object from the repository.
 void setAppId(java.lang.String value)
          Setter for property appId .
 void setContentIds(java.util.Map value)
          Setter for property contentIds .
 void setDefault(FrameworkObject value)
          Setter for property default .
 void setDescriptionKey(java.lang.String value)
          Setter for property descriptionKey .
 void setEnabledYn(boolean value)
          Setter for property enabledYn .
 void setId(java.lang.String value)
          Setter for property id .
 void setImageUrl(java.lang.String value)
          Setter for property imageUrl .
 void setNameKey(java.lang.String value)
          Setter for property nameKey .
 void setObjectType(FrameworkObjectObjectType value)
          Setter for property objectType .
 void setOptionNames(java.util.Map value)
          Setter for property optionNames .
 void setResourceBundle(java.lang.String value)
          Setter for property resourceBundle .
 void setSegmentName(java.lang.String value)
          Setter for property segmentName .
 void setSkinId(java.lang.String value)
          Setter for property skinId .
 void setTemplateIds(java.util.Map value)
          Setter for property templateIds .
 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 class atg.svc.repository.beans._SkinDefinition_Impl
_getItemDescriptorName, _getObjectInterfaceClass, copyTo, copyTo, getContents, getOptions, getTemplates, isRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface atg.repository.tojava.runtime.RJObject
_getItemDescriptorName, _getObjectInterfaceClass
 

Constructor Detail

_SkinDefinition_BeanImpl

public _SkinDefinition_BeanImpl()
Method Detail

getAppId

public java.lang.String getAppId()
Description copied from interface: FrameworkObject
Getter for property appId

Specified by:
getAppId in interface FrameworkObject
Specified by:
getAppId in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setAppId

public void setAppId(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property appId . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setAppId in interface FrameworkObject
Specified by:
setAppId in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

getContentIds

public java.util.Map getContentIds()
Description copied from interface: FrameworkObject
Getter for property contentIds

Specified by:
getContentIds in interface FrameworkObject
Specified by:
getContentIds in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
Map

setContentIds

public void setContentIds(java.util.Map value)
Description copied from interface: FrameworkObject
Setter for property contentIds . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setContentIds in interface FrameworkObject
Specified by:
setContentIds in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - Map

getDefault

public FrameworkObject getDefault()
Description copied from interface: FrameworkObject
Getter for property default

Specified by:
getDefault in interface FrameworkObject
Specified by:
getDefault in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
FrameworkObject

setDefault

public void setDefault(FrameworkObject value)
Description copied from interface: FrameworkObject
Setter for property default . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setDefault in interface FrameworkObject
Specified by:
setDefault in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - FrameworkObject

getDescriptionKey

public java.lang.String getDescriptionKey()
Description copied from interface: FrameworkObject
Getter for property descriptionKey

Specified by:
getDescriptionKey in interface FrameworkObject
Specified by:
getDescriptionKey in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setDescriptionKey

public void setDescriptionKey(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property descriptionKey . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setDescriptionKey in interface FrameworkObject
Specified by:
setDescriptionKey in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

isEnabledYn

public boolean isEnabledYn()
Description copied from interface: FrameworkObject
Getter for property enabledYn

Specified by:
isEnabledYn in interface FrameworkObject
Specified by:
isEnabledYn in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
boolean

setEnabledYn

public void setEnabledYn(boolean value)
Description copied from interface: FrameworkObject
Setter for property enabledYn . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setEnabledYn in interface FrameworkObject
Specified by:
setEnabledYn in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - boolean

getId

public java.lang.String getId()
Description copied from interface: FrameworkObject
Getter for property id

Specified by:
getId in interface FrameworkObject
Specified by:
getId in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Specified by:
getId in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
getId in interface SkinDefinition
Returns:
String

setId

public void setId(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property id . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setId in interface FrameworkObject
Specified by:
setId in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Specified by:
setId in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
setId in interface SkinDefinition
Parameters:
value - String

getImageUrl

public java.lang.String getImageUrl()
Description copied from interface: FrameworkObject
Getter for property imageUrl

Specified by:
getImageUrl in interface FrameworkObject
Specified by:
getImageUrl in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setImageUrl

public void setImageUrl(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property imageUrl . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setImageUrl in interface FrameworkObject
Specified by:
setImageUrl in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

getNameKey

public java.lang.String getNameKey()
Description copied from interface: FrameworkObject
Getter for property nameKey

Specified by:
getNameKey in interface FrameworkObject
Specified by:
getNameKey in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setNameKey

public void setNameKey(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property nameKey . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setNameKey in interface FrameworkObject
Specified by:
setNameKey in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

getObjectType

public FrameworkObjectObjectType getObjectType()
Description copied from interface: FrameworkObject
Getter for property objectType

Specified by:
getObjectType in interface FrameworkObject
Specified by:
getObjectType in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
FrameworkObjectObjectType

setObjectType

public void setObjectType(FrameworkObjectObjectType value)
Description copied from interface: FrameworkObject
Setter for property objectType . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setObjectType in interface FrameworkObject
Specified by:
setObjectType in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - FrameworkObjectObjectType

getOptionNames

public java.util.Map getOptionNames()
Description copied from interface: FrameworkObject
Getter for property optionNames

Specified by:
getOptionNames in interface FrameworkObject
Specified by:
getOptionNames in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
Map

setOptionNames

public void setOptionNames(java.util.Map value)
Description copied from interface: FrameworkObject
Setter for property optionNames . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setOptionNames in interface FrameworkObject
Specified by:
setOptionNames in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - Map

getResourceBundle

public java.lang.String getResourceBundle()
Description copied from interface: FrameworkObject
Getter for property resourceBundle

Specified by:
getResourceBundle in interface FrameworkObject
Specified by:
getResourceBundle in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setResourceBundle

public void setResourceBundle(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property resourceBundle . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setResourceBundle in interface FrameworkObject
Specified by:
setResourceBundle in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

getSegmentName

public java.lang.String getSegmentName()
Description copied from interface: FrameworkObject
Getter for property segmentName

Specified by:
getSegmentName in interface FrameworkObject
Specified by:
getSegmentName in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
String

setSegmentName

public void setSegmentName(java.lang.String value)
Description copied from interface: FrameworkObject
Setter for property segmentName . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setSegmentName in interface FrameworkObject
Specified by:
setSegmentName in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - String

getSkinId

public java.lang.String getSkinId()
Description copied from interface: atg.svc.repository.beans.pv.SkinDefinition_PV
Getter for property skinId

Specified by:
getSkinId in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
getSkinId in interface SkinDefinition
Returns:
String

setSkinId

public void setSkinId(java.lang.String value)
Description copied from interface: atg.svc.repository.beans.pv.SkinDefinition_PV
Setter for property skinId . The SkinDefinition_PV.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The SkinDefinition_PV.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setSkinId in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
setSkinId in interface SkinDefinition
Parameters:
value - String

getTemplateIds

public java.util.Map getTemplateIds()
Description copied from interface: FrameworkObject
Getter for property templateIds

Specified by:
getTemplateIds in interface FrameworkObject
Specified by:
getTemplateIds in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Returns:
Map

setTemplateIds

public void setTemplateIds(java.util.Map value)
Description copied from interface: FrameworkObject
Setter for property templateIds . The FrameworkObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The FrameworkObject.prepareInstanceForWrite() method may need to be called before making any changes.

Specified by:
setTemplateIds in interface FrameworkObject
Specified by:
setTemplateIds in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Parameters:
value - Map

writeInstance

public void writeInstance()
                   throws javax.ejb.EJBException
Description copied from interface: atg.repository.tojava.runtime.RJObject
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.repository.tojava.runtime.RJObject
Specified by:
writeInstance in interface FrameworkObject
Specified by:
writeInstance in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Specified by:
writeInstance in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
writeInstance in interface SkinDefinition
Throws:
javax.ejb.EJBException - If the operation fails.

prepareInstanceForWrite

public void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
Description copied from interface: atg.repository.tojava.runtime.RJObject
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.repository.tojava.runtime.RJObject
Specified by:
prepareInstanceForWrite in interface FrameworkObject
Specified by:
prepareInstanceForWrite in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Specified by:
prepareInstanceForWrite in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
prepareInstanceForWrite in interface SkinDefinition
Throws:
javax.ejb.EJBException - If the operation fails.

_isMutable

public 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
Specified by:
_isMutable in interface atg.svc.repository.beans.pv.FrameworkObject_PV
Specified by:
_isMutable in interface atg.svc.repository.beans.pv.SkinDefinition_PV
Specified by:
_isMutable in interface SkinDefinition

getEJBLocalHome

public javax.ejb.EJBLocalHome getEJBLocalHome()
Description copied from interface: atg.repository.tojava.runtime.RJObject
Gets the home associated with this repository object.

Specified by:
getEJBLocalHome in interface atg.repository.tojava.runtime.RJObject
Specified by:
getEJBLocalHome in interface javax.ejb.EJBLocalObject
Returns:
The home (repository home for ReposImpl/bean home for BeanImpl).

_getRepositoryHome

public javax.ejb.EJBLocalHome _getRepositoryHome()
Description copied from interface: atg.repository.tojava.runtime.RJBeanObject
Gets the repository home that corresponds to this bean. This is needed so that beans can get the repository impl that corresponds to it for copying to it before save/update/etc.

Specified by:
_getRepositoryHome in interface atg.repository.tojava.runtime.RJBeanObject
Returns:
The Repository Impl home.

getPrimaryKey

public java.lang.Object getPrimaryKey()
                               throws javax.ejb.EJBException
Specified by:
getPrimaryKey in interface javax.ejb.EJBLocalObject
Throws:
javax.ejb.EJBException

isIdentical

public boolean isIdentical(javax.ejb.EJBLocalObject obj)
Description copied from interface: atg.repository.tojava.runtime.RJObject
Returns true if the given object is identical to this one.

Specified by:
isIdentical in interface atg.repository.tojava.runtime.RJObject
Specified by:
isIdentical in interface javax.ejb.EJBLocalObject
Parameters:
obj - The object to compare.
Returns:
True if the given object is identical to this one.

remove

public void remove()
            throws javax.ejb.RemoveException
Description copied from interface: atg.repository.tojava.runtime.RJObject
Removes this object from the repository. This is a no-op for bean impls.

Specified by:
remove in interface atg.repository.tojava.runtime.RJObject
Specified by:
remove in interface javax.ejb.EJBLocalObject
Throws:
javax.ejb.RemoveException - If the remove fails.