|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.repository.beans._ContentInstance_Impl
atg.svc.repository.beans._ContentInstance_BeanImpl
public class _ContentInstance_BeanImpl
Field Summary |
---|
Fields inherited from interface atg.repository.tojava.runtime.RJBeanObject |
---|
CLASS_VERSION |
Constructor Summary | |
---|---|
_ContentInstance_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 |
getBody()
Getter for property body |
java.lang.String |
getContentId()
Getter for property contentId |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
Gets the home associated with this repository object. |
InstanceObjectInstanceType |
getInstanceType()
Getter for property instanceType |
java.lang.String |
getMimeType()
Getter for property mimeType |
java.lang.String |
getOtherContext()
Getter for property otherContext |
java.lang.Object |
getPrimaryKey()
|
java.lang.String |
getUrl()
Getter for property url |
boolean |
isEnabledYn()
Getter for property enabledYn |
boolean |
isIdentical(javax.ejb.EJBLocalObject obj)
Returns true if the given object is identical to this one. |
boolean |
isUrlYn()
Getter for property urlYn |
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 |
setBody(java.lang.String value)
Setter for property body . |
void |
setContentId(java.lang.String value)
Setter for property contentId . |
void |
setEnabledYn(boolean value)
Setter for property enabledYn . |
void |
setInstanceType(InstanceObjectInstanceType value)
Setter for property instanceType . |
void |
setMimeType(java.lang.String value)
Setter for property mimeType . |
void |
setOtherContext(java.lang.String value)
Setter for property otherContext . |
void |
setUrl(java.lang.String value)
Setter for property url . |
void |
setUrlYn(boolean value)
Setter for property urlYn . |
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._ContentInstance_Impl |
---|
_getItemDescriptorName, _getObjectInterfaceClass, copyTo, 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 _ContentInstance_BeanImpl()
Method Detail |
---|
public java.lang.String getBody()
ContentInstance
getBody
in interface ContentInstance
getBody
in interface atg.svc.repository.beans.pv.ContentInstance_PV
String
public void setBody(java.lang.String value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setBody
in interface ContentInstance
setBody
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- String
public java.lang.String getContentId()
ContentInstance
getContentId
in interface ContentInstance
getContentId
in interface atg.svc.repository.beans.pv.ContentInstance_PV
String
public void setContentId(java.lang.String value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setContentId
in interface ContentInstance
setContentId
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- String
public boolean isEnabledYn()
InstanceObject
isEnabledYn
in interface InstanceObject
isEnabledYn
in interface atg.svc.repository.beans.pv.InstanceObject_PV
public void setEnabledYn(boolean value)
InstanceObject
InstanceObject.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 InstanceObject
setEnabledYn
in interface atg.svc.repository.beans.pv.InstanceObject_PV
value
- booleanpublic InstanceObjectInstanceType getInstanceType()
InstanceObject
getInstanceType
in interface InstanceObject
getInstanceType
in interface atg.svc.repository.beans.pv.InstanceObject_PV
InstanceObjectInstanceType
public void setInstanceType(InstanceObjectInstanceType value)
InstanceObject
InstanceObject.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 InstanceObject
setInstanceType
in interface atg.svc.repository.beans.pv.InstanceObject_PV
value
- InstanceObjectInstanceType
public java.lang.String getMimeType()
ContentInstance
getMimeType
in interface ContentInstance
getMimeType
in interface atg.svc.repository.beans.pv.ContentInstance_PV
String
public void setMimeType(java.lang.String value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setMimeType
in interface ContentInstance
setMimeType
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- String
public java.lang.String getOtherContext()
ContentInstance
getOtherContext
in interface ContentInstance
getOtherContext
in interface atg.svc.repository.beans.pv.ContentInstance_PV
String
public void setOtherContext(java.lang.String value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setOtherContext
in interface ContentInstance
setOtherContext
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- String
public java.lang.String getUrl()
ContentInstance
getUrl
in interface ContentInstance
getUrl
in interface atg.svc.repository.beans.pv.ContentInstance_PV
String
public void setUrl(java.lang.String value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setUrl
in interface ContentInstance
setUrl
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- String
public boolean isUrlYn()
ContentInstance
isUrlYn
in interface ContentInstance
isUrlYn
in interface atg.svc.repository.beans.pv.ContentInstance_PV
public void setUrlYn(boolean value)
ContentInstance
ContentInstance.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The ContentInstance.prepareInstanceForWrite()
method may need to be called before making any changes.
setUrlYn
in interface ContentInstance
setUrlYn
in interface atg.svc.repository.beans.pv.ContentInstance_PV
value
- booleanpublic void writeInstance() throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
writeInstance
in interface atg.repository.tojava.runtime.RJObject
writeInstance
in interface ContentInstance
writeInstance
in interface InstanceObject
writeInstance
in interface atg.svc.repository.beans.pv.ContentInstance_PV
writeInstance
in interface atg.svc.repository.beans.pv.InstanceObject_PV
javax.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.RJObject
prepareInstanceForWrite
in interface ContentInstance
prepareInstanceForWrite
in interface InstanceObject
prepareInstanceForWrite
in interface atg.svc.repository.beans.pv.ContentInstance_PV
prepareInstanceForWrite
in interface atg.svc.repository.beans.pv.InstanceObject_PV
javax.ejb.EJBException
- If the operation fails.public boolean _isMutable()
_isMutable
in interface ContentInstance
_isMutable
in interface InstanceObject
_isMutable
in interface atg.svc.repository.beans.pv.ContentInstance_PV
_isMutable
in interface atg.svc.repository.beans.pv.InstanceObject_PV
public javax.ejb.EJBLocalHome getEJBLocalHome()
atg.repository.tojava.runtime.RJObject
getEJBLocalHome
in interface atg.repository.tojava.runtime.RJObject
getEJBLocalHome
in interface javax.ejb.EJBLocalObject
public 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.EJBLocalObject
javax.ejb.EJBException
public boolean isIdentical(javax.ejb.EJBLocalObject obj)
atg.repository.tojava.runtime.RJObject
isIdentical
in interface atg.repository.tojava.runtime.RJObject
isIdentical
in interface javax.ejb.EJBLocalObject
obj
- The object to compare.
public void remove() throws javax.ejb.RemoveException
atg.repository.tojava.runtime.RJObject
remove
in interface atg.repository.tojava.runtime.RJObject
remove
in interface javax.ejb.EJBLocalObject
javax.ejb.RemoveException
- If the remove fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |