|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.sas.services.information.metadata.Metadata
|
+--com.sas.services.information.metadata.Content
|
+--com.sas.services.publish.metadata.DavBinaryPackage
DAV implementation of a PackageInterface (DAVBinaryPackageInterface) for a binary package.
| Fields inherited from class com.sas.services.information.metadata.Metadata |
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Constructor Summary | |
DavBinaryPackage()
Creates a new DAVBinarypackage |
|
DavBinaryPackage(DAVBinarypackage o)
Creates a new DAVBinarypackage that incorporates the DAV binary package object passed to the constructor |
|
| Method Summary | |
String |
getAbstract()
Return the abstract. |
ChannelInterface |
getChannel()
Get the Channel that this archive belongs to, if any. |
ContentDestination |
getContentDestination()
Get the ContentDestination that represents the archive path information. |
long |
getCreationDate()
Get the date the package was created. |
String |
getCreationDateString()
Get a formatted string representing the date and time the package was created. |
String |
getDescription()
Return the description. |
long |
getExpirationDate()
Get the expiration date of the package. |
String |
getExpirationDateString()
Get the expiration date of the package. |
AttributeMapInterface |
getProperties()
Get the name/value pairs for this package. |
PersonInterface |
getPublisher()
Get a com.sas.services.information.metadata.Person object which represents the publisher of the package. |
String |
getPublisherAlias()
Get the alias for the publisher. |
String |
getType()
Get the object type. |
Object |
newServiceObject()
For objects that support it, get an "active" interface for the metadata object. |
EventDataInterface |
publish(ResultPackageInterface rPkg,
InputStream inputStream)
Publishes the result package to the DAV binarypackage entity. |
void |
setDescription(String description)
Sets the description for this object. |
void |
setName(String name)
Set this object's name. |
| Methods inherited from class com.sas.services.information.metadata.Content |
getContentAsBytes, getContentAsStream, getContentAsString, getContentType, getProperty, setContent, setContentFromBytes, setContentFromStream, setContentType, setProperty |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DavBinaryPackage()
throws RemoteException
RemoteException - if unable to export the remote object to the RMI system.
public DavBinaryPackage(DAVBinarypackage o)
throws RemoteException
RemoteException - if unable to export the remote object to the RMI system.| Method Detail |
public String getType()
throws RemoteException
MetadataInterfacegetType in interface MetadataInterfacegetType in class Contentcom.sas.services.information.metadata.MetadataInterfaceRemoteException - if an error occurs
public void setName(String name)
throws RemoteException
MetadataInterfacesetName in interface MetadataInterfacesetName in class Metadatacom.sas.services.information.metadata.MetadataInterfacename - a String for the object name.RemoteException - if an error occurs
public void setDescription(String description)
throws RemoteException
MetadataInterfacesetDescription in interface MetadataInterfacesetDescription in class Metadatacom.sas.services.information.metadata.MetadataInterfacedescription - The object description.RemoteException - if an error occurs
public long getCreationDate()
throws RemoteException
PackageInterfacegetCreationDate in interface PackageInterfacecom.sas.services.publish.metadata.PackageInterface
public String getCreationDateString()
throws RemoteException
PackageInterfacegetCreationDateString in interface PackageInterfacecom.sas.services.publish.metadata.PackageInterface
public long getExpirationDate()
throws RemoteException
PackageInterfacegetExpirationDate in interface PackageInterfacecom.sas.services.publish.metadata.PackageInterface
public String getExpirationDateString()
throws RemoteException
PackageInterfacegetExpirationDateString in interface PackageInterfacecom.sas.services.publish.metadata.PackageInterface
public String getAbstract()
throws RemoteException
getAbstract in interface PackageInterfaceRemoteException - in the event of remote object failure.
public AttributeMapInterface getProperties()
throws RemoteException
PackageInterfacegetProperties in interface PackageInterfacecom.sas.services.publish.metadata.PackageInterface
public ChannelInterface getChannel()
throws ServiceException,
RemoteException
PackageInterfacegetChannel in interface PackageInterface
public PersonInterface getPublisher()
throws RemoteException
getPublisher in interface PackageInterfaceRemoteException - in the event of remote object failure.
public String getPublisherAlias()
throws RemoteException
getPublisherAlias in interface PackageInterfaceRemoteException - in the event of remote object failure.
public Object newServiceObject()
throws ServiceException,
RemoteException
MetadataInterfacenewServiceObject in interface MetadataInterfacenewServiceObject in class Metadatacom.sas.services.information.metadata.MetadataInterfaceServiceException - if an error occursRemoteException - if an error occurs
public ContentDestination getContentDestination()
throws RemoteException
getContentDestination in interface PackageInterfaceRemoteException - in the event of a remote object failure.
public EventDataInterface publish(ResultPackageInterface rPkg,
InputStream inputStream)
throws ServiceException,
RemoteException
publish in interface DavBinaryPackageInterfacerPkg - The result package to be publishedinputStream - The stream representing the archive binaryRemoteException - in the event of remote object failure.ServiceException - in the event of a publish failure.public String getDescription()
getDescription in interface MetadataInterfacegetDescription in class Metadata
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||