|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentInstance
ContentInstanceHome
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 |
---|---|---|---|
body | String |
R, W, Cch, Qry | |
contentId | String |
R, W, Cch, Qry, Req | |
enabledYn | boolean | R, W, Cch, Qry, Req | |
instanceType | InstanceObjectInstanceType |
R, W, Cch, Qry, Req | |
mimeType | String |
R, W, Cch, Qry, Req | |
otherContext | String |
R, W, Cch, Qry | |
url | String |
R, W, Cch, Qry | |
urlYn | boolean | R, W, Cch, Qry, Req |
Property body: String
getBody()
setBody(java.lang.String)
Property contentId: String
getContentId()
setContentId(java.lang.String)
Property enabledYn: boolean
InstanceObject.isEnabledYn()
InstanceObject.setEnabledYn(boolean)
Property instanceType: InstanceObjectInstanceType
InstanceObject.getInstanceType()
InstanceObject.setInstanceType(atg.svc.repository.beans.InstanceObjectInstanceType)
Attribute Name | Attribute Value |
---|---|
useCodeForValue | false |
Property mimeType: String
getMimeType()
setMimeType(java.lang.String)
Property otherContext: String
getOtherContext()
setOtherContext(java.lang.String)
Property url: String
getUrl()
setUrl(java.lang.String)
Property urlYn: boolean
isUrlYn()
setUrlYn(boolean)
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(ContentInstance destination)
Copies the property values of this instance to another instance of the same data type. |
java.lang.String |
getBody()
Getter for property body |
java.lang.String |
getContentId()
Getter for property contentId |
java.lang.String |
getMimeType()
Getter for property mimeType |
java.lang.String |
getOtherContext()
Getter for property otherContext |
java.lang.String |
getUrl()
Getter for property url |
boolean |
isRemoved()
Returns true if the underlying object has been removed. |
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 |
setBody(java.lang.String value)
Setter for property body . |
void |
setContentId(java.lang.String value)
Setter for property contentId . |
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 interface atg.svc.repository.beans.InstanceObject |
---|
copyTo, getInstanceType, isEnabledYn, setEnabledYn, setInstanceType |
Method Detail |
---|
java.lang.String getBody() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setBody(java.lang.String 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
- String
javax.ejb.EJBException
java.lang.String getContentId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setContentId(java.lang.String 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
- String
javax.ejb.EJBException
java.lang.String getMimeType() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setMimeType(java.lang.String 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
- String
javax.ejb.EJBException
java.lang.String getOtherContext() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setOtherContext(java.lang.String 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
- String
javax.ejb.EJBException
java.lang.String getUrl() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setUrl(java.lang.String 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
- String
javax.ejb.EJBException
boolean isUrlYn() throws javax.ejb.EJBException
javax.ejb.EJBException
void setUrlYn(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
boolean isRemoved() throws javax.ejb.EJBException
isRemoved
in interface InstanceObject
javax.ejb.EJBException
void copyTo(ContentInstance destination) throws javax.ejb.EJBException
javax.ejb.EJBException
void writeInstance() throws javax.ejb.EJBException
writeInstance
in interface InstanceObject
javax.ejb.EJBException
void prepareInstanceForWrite() throws javax.ejb.EJBException
prepareInstanceForWrite
in interface InstanceObject
javax.ejb.EJBException
boolean _isMutable()
_isMutable
in interface InstanceObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |