| 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The content object is used to provide access to any type of content.
This is the EJBObject interface to a Content EJB.
It has a unique identifier and a mimeType. The mimeType is used to describe to the user which application to use to interpret the specific content. The content home will also have a specialized finder that uses the Search class to specify a sql-like expression.
 Primary Key = com.beasys.commerce.axiom.content.ContentPk
 
 Attribute: identifier
 mimeType
 When constructing queries for Contents, the above property/attribute names will compare against the explicit attributes on the Content interface. For example, to find content whose mime type matches "application/x-*", you could use a query string like "mimeType like 'application/x-*'".
ContentPk, 
ContentHome, 
ContentImpl, 
ContentValue, 
DocumentRemote| Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity | 
RESERVED_SCOPE_NAME | 
| Method Summary | |
 ContentValue | 
getContentByValue()
Get all of Content's attributes.  | 
 java.lang.String | 
getIdentifier()
Get the unique identifier of this piece of Content.  | 
 java.lang.String | 
getMimeType()
Get the value of mimeType  | 
 void | 
setContentByValue(ContentValue value)
Set all of Content's attributes to the passed in value.  | 
 void | 
setMimeType(java.lang.String mimeType)
Set the value of mimeType  | 
| Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity | 
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor | 
| Methods inherited from interface com.beasys.commerce.foundation.BusinessPolicyManager | 
addBusinessPolicy, getBusinessPolicy, removeBusinessPolicy | 
| Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference | 
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey | 
| Method Detail | 
public ContentValue getContentByValue()
                               throws java.rmi.RemoteException
getContentByValue in interface Contentjava.rmi.RemoteException - thrown on a communication error.
public void setContentByValue(ContentValue value)
                       throws java.rmi.RemoteException
Note: Primary key attributes are not set.
setContentByValue in interface ContentContentValue - the Content value objectjava.rmi.RemoteException - thrown on a communication error.
public java.lang.String getIdentifier()
                               throws java.rmi.RemoteException
getIdentifier in interface Contentjava.rmi.RemoteException - thrown on a communication error.
public java.lang.String getMimeType()
                             throws java.rmi.RemoteException
getMimeType in interface Contentjava.rmi.RemoteException - thrown on a communication error.
public void setMimeType(java.lang.String mimeType)
                 throws java.rmi.RemoteException
setMimeType in interface ContentmimeType - mimeType to be addedjava.rmi.RemoteException - thrown on a communication error.
  | 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||