|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The content object is used to provide access to any type of content.
This is the base interface for all Content objects.
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.
Attribute: identifier
Attribute: 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-*'".
ContentManager,
ExpressionHelper,
Document| Field Summary |
| Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
RESERVED_PROPERTY_SET |
| Method Summary | |
ContentValue |
getContentByValue()
Deprecated. No longer needed - use Content object instead. |
String |
getIdentifier()
Deprecated. Get the unique identifier of this piece of Content. |
String |
getMimeType()
Deprecated. Get the value of mimeType |
void |
setContentByValue(ContentValue value)
Deprecated. Not implemented. |
void |
setMimeType(String mimeType)
Deprecated. Set the value of mimeType |
| Methods inherited from interface com.bea.p13n.property.ConfigurableEntity |
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty |
| Method Detail |
public ContentValue getContentByValue()
throws RemoteException
RemoteException - thrown on a communication error.
public String getIdentifier()
throws RemoteException
RemoteException - thrown on a communication error.
public String getMimeType()
throws RemoteException
RemoteException - thrown on a communication error.
public void setContentByValue(ContentValue value)
throws RemoteException
Note: Primary key attributes are not set.
RemoteException - thrown on a communication error.
public void setMimeType(String mimeType)
throws RemoteException
mimeType - mimeType to be added
RemoteException - thrown on a communication error.
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||