|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentInterface
This is a simple interface for representing documents that are coming from a metadata repository.
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 | |
---|---|
void |
addObject(MetadataInterface newObject)
Add an object to the document's Objects association. |
java.lang.String |
getDocumentType()
|
java.util.List |
getObjects()
Get the List of Objects associated to this Document. |
java.lang.String |
getTextRole()
|
java.lang.String |
getTextType()
|
java.lang.String |
getURI()
|
void |
removeObject(MetadataInterface object)
Remove an object from the document's Objects association. |
void |
setObjects(java.util.List objectList)
Set the list of objects in the document's Objects association. |
void |
setTextRole(java.lang.String role)
|
void |
setTextType(java.lang.String type)
|
void |
setURI(java.lang.String uri)
|
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
java.lang.String getTextRole() throws ServiceException, java.rmi.RemoteException
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getTextType() throws ServiceException, java.rmi.RemoteException
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getURI() throws ServiceException, java.rmi.RemoteException
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.void setTextRole(java.lang.String role) throws ServiceException, java.rmi.RemoteException
role
- The new text role for the document.
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.void setTextType(java.lang.String type) throws ServiceException, java.rmi.RemoteException
type
- The new text type for the document.
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.void setURI(java.lang.String uri) throws ServiceException, java.rmi.RemoteException
uri
- The new document URI.
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getDocumentType() throws ServiceException, java.rmi.RemoteException
ServiceException
- In the event of a service level error.
java.rmi.RemoteException
- in the event of remote object failure.void addObject(MetadataInterface newObject) throws ServiceException, java.rmi.RemoteException
newObject
- The object add to the Objects association.
ServiceException
- In case of a service level error.
java.rmi.RemoteException
- In the event of remote object failure.void removeObject(MetadataInterface object) throws ServiceException, java.rmi.RemoteException
object
- The object to remove from the Objects association.
ServiceException
- In case of a service level error.
java.rmi.RemoteException
- In the event of remote object failure.void setObjects(java.util.List objectList) throws ServiceException, java.rmi.RemoteException
objectList
- The list of Objects associated to this document.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getObjects() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a serice level error occurs.
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 |