|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.publish.metadata.DavBinaryPackage
@SASScope(value="ALL") @BinaryCompatibilityOnly public class DavBinaryPackage
DAV implementation of a PackageInterface (DAVBinaryPackageInterface) for a binary package.
| Field Summary |
|---|
| Fields inherited from class com.sas.services.information.metadata.Metadata |
|---|
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH |
| 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 |
| 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 | |
|---|---|
java.lang.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. |
java.lang.String |
getCreationDateString()
Get a formatted string representing the date and time the package was created. |
java.lang.String |
getDescription()
Return the description. |
java.lang.String |
getDisplayDescription()
Get the display description for this object. |
java.lang.String |
getDisplayName()
Get the display name for this object. |
long |
getExpirationDate()
Get the expiration date of the package. |
java.lang.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. |
java.lang.String |
getPublisherAlias()
Get the alias for the publisher. |
java.lang.String |
getType()
Get the smartobject type - this is a "content" provider |
boolean |
isExpired()
Determines if the package has expired. |
java.lang.Object |
newServiceObject()
For objects that support it, get an "active" interface for the metadata object. |
EventDataInterface |
publish(ResultPackageInterface rPkg,
java.io.InputStream inputStream)
Publishes the result package to the DAV binarypackage entity. |
void |
setDescription(java.lang.String description)
Set the object description. |
void |
setName(java.lang.String name)
Set the name of the object. |
| Methods inherited from class com.sas.services.information.metadata.Content |
|---|
getContentAsBytes, getContentAsStream, getContentAsString, getContentType, getProperty, setContent, setContentFromBytes, setContentFromStream, setContentType, setProperty |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Constructor Detail |
|---|
public DavBinaryPackage()
throws java.rmi.RemoteException
java.rmi.RemoteException - if unable to export the remote object to the RMI system.
public DavBinaryPackage(DAVBinarypackage o)
throws java.rmi.RemoteException
java.rmi.RemoteException - if unable to export the remote object to the RMI system.| Method Detail |
|---|
public java.lang.String getType()
throws java.rmi.RemoteException
Content
getType in interface MetadataInterfacegetType in class Contentjava.rmi.RemoteException - in the case of network failures
public void setName(java.lang.String name)
throws java.rmi.RemoteException
Metadata
setName in interface MetadataInterfacesetName in class Metadataname - The name of the object in the repository.
java.rmi.RemoteException - in the event of remote object failure.
public void setDescription(java.lang.String description)
throws java.rmi.RemoteException
Metadata
setDescription in interface MetadataInterfacesetDescription in class Metadatadescription - The description String for the object.
java.rmi.RemoteException - in the event of remote object failure.
public long getCreationDate()
throws java.rmi.RemoteException
PackageInterface
getCreationDate in interface PackageInterfacejava.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getCreationDateString()
throws java.rmi.RemoteException
PackageInterface
getCreationDateString in interface PackageInterfacejava.rmi.RemoteException - In the event of remote object failure.
public long getExpirationDate()
throws java.rmi.RemoteException
PackageInterface
getExpirationDate in interface PackageInterfacejava.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getExpirationDateString()
throws java.rmi.RemoteException
PackageInterface
getExpirationDateString in interface PackageInterfacejava.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getAbstract()
throws java.rmi.RemoteException
getAbstract in interface PackageInterfacejava.rmi.RemoteException - in the event of remote object failure.
public AttributeMapInterface getProperties()
throws java.rmi.RemoteException
PackageInterface
getProperties in interface PackageInterfacejava.rmi.RemoteException - In the event of remote object failure.
public ChannelInterface getChannel()
throws ServiceException,
java.rmi.RemoteException
PackageInterface
getChannel in interface PackageInterfaceServiceException - If a repository or service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public PersonInterface getPublisher()
throws java.rmi.RemoteException
getPublisher in interface PackageInterfacejava.rmi.RemoteException - in the event of remote object failure.
public java.lang.String getPublisherAlias()
throws java.rmi.RemoteException
getPublisherAlias in interface PackageInterfacejava.rmi.RemoteException - in the event of remote object failure.
public java.lang.Object newServiceObject()
throws ServiceException,
java.rmi.RemoteException
Metadata
newServiceObject in interface MetadataInterfacenewServiceObject in class MetadataServiceException - if an error occurs
java.rmi.RemoteException - in the event of remote object failure
public ContentDestination getContentDestination()
throws java.rmi.RemoteException
getContentDestination in interface PackageInterfacejava.rmi.RemoteException - in the event of a remote object failure.
public EventDataInterface publish(ResultPackageInterface rPkg,
java.io.InputStream inputStream)
throws ServiceException,
java.rmi.RemoteException
publish in interface DavBinaryPackageInterfacerPkg - The result package to be publishedinputStream - The stream representing the archive binary
java.rmi.RemoteException - in the event of remote object failure.
ServiceException - in the event of a publish failure.public java.lang.String getDescription()
getDescription in interface MetadataInterfacegetDescription in class Metadata
public java.lang.String getDisplayName()
throws ServiceException,
java.rmi.RemoteException
getDisplayName in interface PackageInterfaceServiceException - If a repository or service level error occurs.
java.rmi.RemoteException - if an error occurs
public java.lang.String getDisplayDescription()
throws ServiceException,
java.rmi.RemoteException
getDisplayDescription in interface PackageInterfaceServiceException - If a repository or service level error occurs.
java.rmi.RemoteException - if an error occurs
public boolean isExpired()
throws java.rmi.RemoteException,
ServiceException
isExpired in interface PackageInterfacetrue if the package has expired; otherwise false
ServiceException - If a repository or service level error occurs.
java.rmi.RemoteException - if an error occurs
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||