|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceObject
InstanceObjectHome
Attribute Name | Attribute Value |
---|---|
atg.repository.query.SupportedQueries | and, comparison, constant, inFolders, includesAny, includes, includesItem, isNull, matchId, not, or, patternMatch, property, propertyOf, unconstrained, patternMatch, textSearch |
Property Name | Property Type | Property Description | Flags |
---|---|---|---|
enabledYn | boolean | R, W, Cch, Qry, Req | |
instanceType | InstanceObjectInstanceType |
R, W, Cch, Qry, Req |
Property enabledYn: boolean
isEnabledYn()
setEnabledYn(boolean)
Property instanceType: InstanceObjectInstanceType
getInstanceType()
setInstanceType(atg.svc.repository.beans.InstanceObjectInstanceType)
Attribute Name | Attribute Value |
---|---|
useCodeForValue | false |
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(InstanceObject destination)
Copies the property values of this instance to another instance of the same data type. |
InstanceObjectInstanceType |
getInstanceType()
Getter for property instanceType |
boolean |
isEnabledYn()
Getter for property enabledYn |
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 |
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 interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
boolean isEnabledYn() throws javax.ejb.EJBException
javax.ejb.EJBException
void setEnabledYn(boolean value) throws javax.ejb.EJBException
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.
value
- boolean
javax.ejb.EJBException
InstanceObjectInstanceType getInstanceType() throws javax.ejb.EJBException
InstanceObjectInstanceType
javax.ejb.EJBException
void setInstanceType(InstanceObjectInstanceType value) throws javax.ejb.EJBException
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.
value
- InstanceObjectInstanceType
javax.ejb.EJBException
boolean isRemoved() throws javax.ejb.EJBException
javax.ejb.EJBException
void copyTo(InstanceObject destination) throws javax.ejb.EJBException
javax.ejb.EJBException
void writeInstance() throws javax.ejb.EJBException
javax.ejb.EJBException
void prepareInstanceForWrite() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean _isMutable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |