|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface DAVItemInterface
| Method Summary | |
|---|---|
abstract void |
checkin()
Check in the item |
abstract void |
checkout()
Check out the item |
abstract int |
getContentLength()
Get the length of the content |
abstract java.io.InputStream |
getContents()
Get the contents of the item as an input stream. |
abstract byte[] |
getContentsAsBytes()
Get the contents of the item as a byte array |
abstract int |
getContentsStatus()
Get the content status field. |
abstract java.lang.String |
getContentType()
Get the content type for the item. |
abstract boolean |
hasContentsUpdates()
Does this item have any new content that should be updated/persisted ? |
abstract void |
setContents(byte[] contents)
Set the contents of the item using a byte array |
abstract void |
setContents(java.io.InputStream contents)
Set the contents of the item from an input stream. |
abstract void |
setContentsfromStore(DAVResourceInterface resource)
Set the contents of the item from store |
abstract void |
setContentsStatus(int contentsStatus)
Set the content status field. |
abstract void |
setContentType(java.lang.String contentType)
Set the content type for the item. |
abstract void |
uncheckout()
Uncheckout the item |
| Methods inherited from interface com.sas.services.information.metadata.dav.DAVEntityInterface |
|---|
addAccessControlEntry, copy, delete, getAccessControlList, getACL, getCreateDate, getDAVResource, getDescription, getFolder, getGUID, getModifyDate, getName, getProperties, getRemarksKeys, getRemoveUpdates, getReposId, getRepository, getSetUpdates, getType, getUpdateableACL, getUrl, getURL, isCollection, isDeleted, isUpdatePending, move, refresh, refresh, removeAccessControlEntry, setACL, setContentClass, setDeleted, setDescription, setGUID, setName, setRemarksKeys, setReposId, update |
| Methods inherited from interface com.sas.services.information.metadata.dav.AttributesInterface |
|---|
addAttribute, addAttributes, deleteAttribute, deleteAttributes, getAttribute, getAttributes, setAttribute, setAttributes |
| Method Detail |
|---|
void setContentType(java.lang.String contentType)
contentType - The contentType of the resource (eg. text/plain, image/gif)java.lang.String getContentType()
java.io.InputStream getContents()
throws java.rmi.RemoteException
java.rmi.RemoteException - in the case of network failurevoid setContents(byte[] contents)
contents - The actual contents for the resource as a byte arrayvoid setContents(java.io.InputStream contents)
InputStreamAdapter
contents - The content input streamint getContentLength()
byte[] getContentsAsBytes()
boolean hasContentsUpdates()
void setContentsfromStore(DAVResourceInterface resource)
resource - A DAV Resource from which the contents of the item will be setvoid setContentsStatus(int contentsStatus)
contentsStatus - The content status to be setint getContentsStatus()
void checkout()
throws java.rmi.RemoteException
java.rmi.RemoteException
void checkin()
throws java.rmi.RemoteException
java.rmi.RemoteException
void uncheckout()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||