|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchiveInterface
This is a generic interface to represent a published SAS package persisted to a file system.
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 |
setAbstract(java.lang.String text)
Set the archive abstract. |
void |
setChannel(ChannelInterface channel)
Set the Channel that this Archive belongs to. |
void |
setCreationDate(long date)
Set the creation date for an archive. |
void |
setDescription(java.lang.String text)
Set the Archive description. |
void |
setDirectory(DirectoryInterface directory)
Set the directory this archive exists in. |
void |
setExpirationDate(long date)
Set the expiration date for an archive. |
void |
setProperties(AttributeMapInterface map)
Set the name/value pairs on the Archive. |
void |
setPublisher(PersonInterface publisher)
Set the identity of the person who performed the publish. |
Methods inherited from interface com.sas.services.publish.metadata.PackageInterface |
---|
getAbstract, getChannel, getContentDestination, getCreationDate, getCreationDateString, getDisplayDescription, getDisplayName, getExpirationDate, getExpirationDateString, getProperties, getPublisher, getPublisherAlias, isExpired |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
void setChannel(ChannelInterface channel) throws ServiceException, java.rmi.RemoteException
channel
- The Channel that owns this archive.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setAbstract(java.lang.String text) throws ServiceException, java.rmi.RemoteException
text
- The new archive abstract text.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setDescription(java.lang.String text) throws java.rmi.RemoteException
setDescription
in interface MetadataInterface
text
- The object description.
java.rmi.RemoteException
- if an error occursvoid setProperties(AttributeMapInterface map) throws ServiceException, java.rmi.RemoteException
map
- The map of attributes to set on this Archive.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setCreationDate(long date) throws ServiceException, java.rmi.RemoteException
date
- A long representing the creation date/time of the archive file.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setExpirationDate(long date) throws ServiceException, java.rmi.RemoteException
date
- A long representing the expiration date/time of the archive file.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setDirectory(DirectoryInterface directory) throws ServiceException, java.rmi.RemoteException
directory
- A Directory object this archive is contained in.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setPublisher(PersonInterface publisher) throws ServiceException, java.rmi.RemoteException
publisher
- The person who published the archive.
ServiceException
- If a repository or service 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 |