|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.publish.metadata.DavBinaryPackage
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 MetadataInterface
getType
in class Content
java.rmi.RemoteException
- in the case of network failurespublic void setName(java.lang.String name) throws java.rmi.RemoteException
Metadata
setName
in interface MetadataInterface
setName
in class Metadata
name
- 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 MetadataInterface
setDescription
in class Metadata
description
- 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 PackageInterface
java.rmi.RemoteException
- In the event of remote object failure.public java.lang.String getCreationDateString() throws java.rmi.RemoteException
PackageInterface
getCreationDateString
in interface PackageInterface
java.rmi.RemoteException
- In the event of remote object failure.public long getExpirationDate() throws java.rmi.RemoteException
PackageInterface
getExpirationDate
in interface PackageInterface
java.rmi.RemoteException
- In the event of remote object failure.public java.lang.String getExpirationDateString() throws java.rmi.RemoteException
PackageInterface
getExpirationDateString
in interface PackageInterface
java.rmi.RemoteException
- In the event of remote object failure.public java.lang.String getAbstract() throws java.rmi.RemoteException
getAbstract
in interface PackageInterface
java.rmi.RemoteException
- in the event of remote object failure.public AttributeMapInterface getProperties() throws java.rmi.RemoteException
PackageInterface
getProperties
in interface PackageInterface
java.rmi.RemoteException
- In the event of remote object failure.public ChannelInterface getChannel() throws ServiceException, java.rmi.RemoteException
PackageInterface
getChannel
in interface PackageInterface
ServiceException
- 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 PackageInterface
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.String getPublisherAlias() throws java.rmi.RemoteException
getPublisherAlias
in interface PackageInterface
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.Object newServiceObject() throws ServiceException, java.rmi.RemoteException
Metadata
newServiceObject
in interface MetadataInterface
newServiceObject
in class Metadata
ServiceException
- if an error occurs
java.rmi.RemoteException
- in the event of remote object failurepublic ContentDestination getContentDestination() throws java.rmi.RemoteException
getContentDestination
in interface PackageInterface
java.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 DavBinaryPackageInterface
rPkg
- 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 MetadataInterface
getDescription
in class Metadata
public java.lang.String getDisplayName() throws ServiceException, java.rmi.RemoteException
getDisplayName
in interface PackageInterface
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- if an error occurspublic java.lang.String getDisplayDescription() throws ServiceException, java.rmi.RemoteException
getDisplayDescription
in interface PackageInterface
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- if an error occurspublic boolean isExpired() throws java.rmi.RemoteException, ServiceException
isExpired
in interface PackageInterface
true
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 |