|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.svc.repository.beans._InstanceObject_Impl
atg.svc.repository.beans._InstanceObject_BeanImpl
public class _InstanceObject_BeanImpl
| Field Summary |
|---|
| Fields inherited from interface atg.repository.tojava.runtime.RJBeanObject |
|---|
CLASS_VERSION |
| Constructor Summary | |
|---|---|
_InstanceObject_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. |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
Gets the home associated with this repository object. |
InstanceObjectInstanceType |
getInstanceType()
Getter for property instanceType |
java.lang.Object |
getPrimaryKey()
|
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 |
setEnabledYn(boolean value)
Setter for property enabledYn . |
void |
setInstanceType(InstanceObjectInstanceType value)
Setter for property instanceType . |
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._InstanceObject_Impl |
|---|
_getItemDescriptorName, _getObjectInterfaceClass, copyTo, 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 |
|---|
public _InstanceObject_BeanImpl()
| Method Detail |
|---|
public boolean isEnabledYn()
InstanceObject
isEnabledYn in interface InstanceObjectisEnabledYn in interface atg.svc.repository.beans.pv.InstanceObject_PVpublic void setEnabledYn(boolean value)
InstanceObjectInstanceObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The InstanceObject.prepareInstanceForWrite() method may need to be called before making any changes.
setEnabledYn in interface InstanceObjectsetEnabledYn in interface atg.svc.repository.beans.pv.InstanceObject_PVvalue - booleanpublic InstanceObjectInstanceType getInstanceType()
InstanceObject
getInstanceType in interface InstanceObjectgetInstanceType in interface atg.svc.repository.beans.pv.InstanceObject_PVInstanceObjectInstanceTypepublic void setInstanceType(InstanceObjectInstanceType value)
InstanceObjectInstanceObject.writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The InstanceObject.prepareInstanceForWrite() method may need to be called before making any changes.
setInstanceType in interface InstanceObjectsetInstanceType in interface atg.svc.repository.beans.pv.InstanceObject_PVvalue - InstanceObjectInstanceType
public void writeInstance()
throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
writeInstance in interface atg.repository.tojava.runtime.RJObjectwriteInstance in interface InstanceObjectwriteInstance in interface atg.svc.repository.beans.pv.InstanceObject_PVjavax.ejb.EJBException - If the operation fails.
public void prepareInstanceForWrite()
throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
prepareInstanceForWrite in interface atg.repository.tojava.runtime.RJObjectprepareInstanceForWrite in interface InstanceObjectprepareInstanceForWrite in interface atg.svc.repository.beans.pv.InstanceObject_PVjavax.ejb.EJBException - If the operation fails.public boolean _isMutable()
_isMutable in interface InstanceObject_isMutable in interface atg.svc.repository.beans.pv.InstanceObject_PVpublic javax.ejb.EJBLocalHome getEJBLocalHome()
atg.repository.tojava.runtime.RJObject
getEJBLocalHome in interface atg.repository.tojava.runtime.RJObjectgetEJBLocalHome in interface javax.ejb.EJBLocalObjectpublic javax.ejb.EJBLocalHome _getRepositoryHome()
atg.repository.tojava.runtime.RJBeanObject
_getRepositoryHome in interface atg.repository.tojava.runtime.RJBeanObject
public java.lang.Object getPrimaryKey()
throws javax.ejb.EJBException
getPrimaryKey in interface javax.ejb.EJBLocalObjectjavax.ejb.EJBExceptionpublic boolean isIdentical(javax.ejb.EJBLocalObject obj)
atg.repository.tojava.runtime.RJObject
isIdentical in interface atg.repository.tojava.runtime.RJObjectisIdentical in interface javax.ejb.EJBLocalObjectobj - The object to compare.
public void remove()
throws javax.ejb.RemoveException
atg.repository.tojava.runtime.RJObject
remove in interface atg.repository.tojava.runtime.RJObjectremove in interface javax.ejb.EJBLocalObjectjavax.ejb.RemoveException - If the remove fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||