|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ContentInterface
Manipulation of the actual content of a Content smart object
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
|---|---|
abstract byte[] |
getContentAsBytes()
Get the content as a byte array. |
abstract java.io.InputStream |
getContentAsStream()
Get the content as an input stream. |
abstract java.lang.String |
getContentAsString()
Get the content as a String. |
abstract java.lang.String |
getContentType()
Gets the content type for the object. |
abstract java.lang.String |
getProperty(java.lang.String propertyName)
Deprecated. As of 9.1.3SP4, replaced by MetadataInterface.getAttribute(String) |
abstract void |
setContent(java.lang.String content)
Set the content from a String |
abstract void |
setContentFromBytes(byte[] content)
Set the content from a byte array |
abstract void |
setContentFromStream(java.io.InputStream content)
Set the content from a stream.For remote deployment the InputStream should be wrapped in an InputStreamAdapter |
abstract void |
setContentType(java.lang.String contentType)
Set the content type for the object. |
abstract void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Deprecated. As of 9.1.3SP4, replaced by MetadataInterface.setAttribute(String, String) |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
java.lang.String getContentType()
throws java.rmi.RemoteException
java.rmi.RemoteException - In the event of remote object failure.
java.io.InputStream getContentAsStream()
throws java.rmi.RemoteException
java.rmi.RemoteException - In the event of remote object failure.
byte[] getContentAsBytes()
throws java.rmi.RemoteException
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getContentAsString()
throws java.rmi.RemoteException
java.rmi.RemoteException - In the event of remote object failure.
void setContentType(java.lang.String contentType)
throws java.rmi.RemoteException
contentType - The new content type for the content.
java.rmi.RemoteException - In the event of remote object failure.
void setContent(java.lang.String content)
throws java.rmi.RemoteException
content - The new content for this object.
java.rmi.RemoteException - In the event of remote object failure.
void setContentFromStream(java.io.InputStream content)
throws java.rmi.RemoteException
InputStreamAdapter
content - An InputStream that streams the content.
java.rmi.RemoteException - In the event of remote object failure.
void setContentFromBytes(byte[] content)
throws java.rmi.RemoteException
content - A ByteArray containing the content.
java.rmi.RemoteException - In the event of remote object failure.
void setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
throws java.rmi.RemoteException
MetadataInterface.setAttribute(String, String)
propertyName - The name, including namespace, of the property to be setpropertyValue - The value of the property to be set
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getProperty(java.lang.String propertyName)
throws java.rmi.RemoteException
MetadataInterface.getAttribute(String)
propertyName - The name, including namespace, of the property to get
java.rmi.RemoteException - In the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||