|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubscriberInterface
Subscriber interface.
Field Summary | |
---|---|
static int |
SUBSCRIBER_CONTENT
Type: Content subscriber. |
static int |
SUBSCRIBER_EVENT
Type: Event subscriber. |
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 | |
---|---|
ContentDestination |
getContentDestination()
Get the content destination for this subscriber |
java.lang.String |
getDeliveryTransport()
Gets the preferred delivery transport for this subscriber. |
MessageQueueInterface |
getMessageQueue()
Gets the queue to deliver to for this subscriber. |
MessageQueueInterface |
getMessageQueue(boolean goToServer)
Gets the queue to deliver to for this subscriber. |
PersonInterface |
getPerson()
Returns the user this subscriber identity belongs to. |
java.lang.String |
getQueueName()
Gets the queue name to deliver to for this subscriber. |
java.util.List |
getSubscribedChannels()
Get a list of the channels subscribed to by this Subscriber identity. |
void |
setContentDestination(DirectoryInterface basePathDirectory,
java.lang.String relativePath)
Set the content destination for this subscriber. |
void |
setDeliveryTransport(java.lang.String deliveryTransport)
Sets the delivery transport for this subscriber. |
void |
setMessageQueue(MessageQueueInterface messageQueue)
Adds the queue to deliver to for this subscriber. |
void |
setPerson(PersonInterface person)
Sets the user this subscriber identity belongs to. |
void |
setQueueName(java.lang.String queueName)
Sets the queue name this subscriber receives data on. |
ServiceException |
validate(FolderInterface folder)
Validate a publishing framework subscriber. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
static final int SUBSCRIBER_CONTENT
static final int SUBSCRIBER_EVENT
Method Detail |
---|
PersonInterface getPerson() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.void setPerson(PersonInterface person) throws ServiceException, java.rmi.RemoteException
person
- The person
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.java.lang.String getDeliveryTransport() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.void setDeliveryTransport(java.lang.String deliveryTransport) throws ServiceException, java.rmi.RemoteException
deliveryTransport
- The new transport.
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.MessageQueueInterface getMessageQueue() throws ServiceException, java.rmi.RemoteException
null
if there is no assigned queue.
If the
queue is null
, use getQueueName()
to
determine if a queue was assigned using the 9.1.3 model.
ServiceException
- if unable to read the assigned queue.
java.rmi.RemoteException
- if a network anomaly is encountered.getQueueName()
MessageQueueInterface getMessageQueue(boolean goToServer) throws ServiceException, java.rmi.RemoteException
goToServer
- Force a trip to the server for the most recent data.gotoServer
- if true, force a trip to the server for the data. If false,
take the default behavior (go to the server if the data has not been retrieved, but
don't go to the server if the data is already in the cache).
null
if there is no assigned queue.
If the
queue is null
, use getQueueName()
to
determine if a queue was assigned using the 9.1.3 model.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure
ServiceException
- if unable to read the assigned queue.
java.rmi.RemoteException
- if a network anomaly is encountered.getQueueName()
void setMessageQueue(MessageQueueInterface messageQueue) throws ServiceException, java.rmi.RemoteException
messageQueue
- The message queue this subscriber recieves published information
on or null
if there is no assigned queue.
If the
queue is null
, use getQueueName()
to
determine if a queue was assigned using the 9.1.3 model.
ServiceException
- if unable to read the assigned queue.
java.rmi.RemoteException
- if a network anomaly is encountered.getMessageQueue()
java.lang.String getQueueName() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.void setQueueName(java.lang.String queueName) throws ServiceException, java.rmi.RemoteException
queueName
- The new queue name to deliver to for this subscriber.
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- if a network anomaly is encountered.ContentDestination getContentDestination() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setContentDestination(DirectoryInterface basePathDirectory, java.lang.String relativePath) throws ServiceException, java.rmi.RemoteException
basePathDirectory
- A Directory representing the content destination's base path.relativePath
- Relative path.
ServiceException
- If a serice level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getSubscribedChannels() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.ServiceException validate(FolderInterface folder) throws java.rmi.RemoteException
folder
- Folder containing subscribers.
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 |