|
| 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.Folder
|
+--com.sas.services.information.metadata.LdapChannel
The Channel class is a "smart" object that implements a generic interface to an IT Channel and hides differences in metadata repositories (OMR and LDAP).
| 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.ChannelInterface |
ARCHIVE_TRANSPORT, NO_TRANSPORT, SMART_OBJECT_TYPE, UNSUPPORTED_TRANSPORT, WEBDAV_TRANSPORT |
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Fields inherited from interface com.sas.services.information.metadata.FolderInterface |
FOLDER_TYPE_BIP |
| Constructor Summary | |
LdapChannel()
|
|
LdapChannel(RepositoryInterface repos,
String name,
FolderInterface parent)
|
|
LdapChannel(Saschannel channel)
|
|
| Method Summary | |
void |
addContentSubscriber(ContentSubscriberInterface subscriber)
Adds a subscriber to this channel. |
void |
addEventSubscriber(EventSubscriberInterface subscriber)
Adds an event subscriber to this channel. |
void |
addSubscriberGroup(GroupInterface group)
Add a subscriber group to this channel. |
ContentDestination |
getArchivePath()
Returns a the archive path content information to use as the archive path for this channel. |
ContentDestination |
getContentDestination()
Get the content destination for this subscriber |
String |
getDavUrlType()
Sets the type of url. |
int |
getDeliveryTransport()
Gets the default transport defined for this channel. |
String |
getFrequency()
Gets the frequency for this channel. |
String |
getName()
Get the name for this object. |
String |
getPresentationLanguage()
Returns the channel's presentation language. |
String |
getSubject()
Returns this channel's subject. |
String |
getType()
Return a type string to identify this object. |
boolean |
isContentSubscription(ContentSubscriberInterface subscriber)
Determines if a user is subscribed to this channel as a content subscriber. |
boolean |
isEventSubscription(EventSubscriberInterface subscriber)
Determines if a user is subscribed to this channel as an event subscriber. |
boolean |
isGroupContentSubscription(ContentSubscriberInterface subscriber)
Determines if a user is subscribed to this channel through a group. |
boolean |
isGroupEventSubscription(EventSubscriberInterface subscriber)
Determines if a user is subscribed to this channel through a group. |
List |
packageList()
Returns an iteration of all the packages contained in this channel. |
List |
packageList(Comparator compare)
Returns a sorted List of all the archives contained in this channel. |
void |
removeContentSubscriber(ContentSubscriberInterface subscriber)
Removes a subscriber from this channel. |
void |
removeEventSubscriber(EventSubscriberInterface subscriber)
Removes an event subscriber from this channel. |
void |
removeSubscriberGroup(GroupInterface group)
Remove a subscriber group from this channel. |
void |
setArchivePath(DirectoryInterface basePathDir,
String relativePath)
Set the location of the archive path to use for this channel. |
void |
setArchivePath(ServerInterface server,
String relativePath)
Set the location of the archive path to use for this channel. |
void |
setArchivePath(String path)
Set the location of the archive path to use for this channel. |
void |
setContentDestination(DirectoryInterface basePathDir,
String relativePath)
Set the content destination for this subscriber. |
void |
setDavUrlType(String type)
Sets the type of url. |
void |
setDeliveryTransport(int transport)
Sets the delivery transport for this channel. |
void |
setDeliveryTransport(String transport)
Sets the delivery transport for this channel. |
void |
setFrequency(String frequency)
Sets the frequency string for this channel. |
void |
setPresentationLanguage(String language)
Sets the channel presentation language. |
void |
setSubject(String subject)
Sets this channel's subject. |
List |
subscriberGroupsList(int subscriberType)
Returns a ListIterator of Group objects that are subscribed to this channel. |
List |
subscriberList(int subscriberType)
Returns an iteration of all this channel's subscribers. |
List |
subscriberList(int subscriberType,
Comparator compare)
Returns a sorted iteration of all this channel's subscribers. |
List |
subscriberNameList(int subscriberType)
Return an Iterator of subscriber names |
String |
toString()
|
| Methods inherited from class com.sas.services.information.metadata.Folder |
addItem, addNewItem, addSubfolder, delete, deleteItem, deleteSubfolder, getFolderRefresh, getFolderType, getItem, getItemByClass, getItemByType, getItemRefresh, getItems, getItemsByClass, getItemsByType, getParent, getPath, getSubfolder, getSubfolders, makeSubfolder, mapNameToFilesystem, mapUrlToFilesystem, removeItem, removeSubfolder, setFolderRefresh, setFolderType, setItemRefresh, setName, setRepository |
| 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, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LdapChannel()
throws RemoteException
public LdapChannel(Saschannel channel)
throws RemoteException
public LdapChannel(RepositoryInterface repos,
String name,
FolderInterface parent)
throws RemoteException
| Method Detail |
public String getName()
throws RemoteException
MetadataInterfacegetName in interface MetadataInterfacegetName in class Metadatacom.sas.services.information.metadata.MetadataInterfaceRemoteException - if an error occurs
public String getType()
throws RemoteException
getType in interface MetadataInterfacegetType in class FolderRemoteException - if a network anomaly is encountered.
public ContentDestination getArchivePath()
throws ServiceException,
RemoteException
getArchivePath in interface ChannelInterfaceServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void setArchivePath(DirectoryInterface basePathDir,
String relativePath)
throws ServiceException,
RemoteException
setArchivePath in interface ChannelInterfacebasePathDir - A DirectoryInterface representing the base path for this
channelrelativePath - A String with the relative path for the channel archive
destination.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void setArchivePath(String path)
throws ServiceException,
RemoteException
setArchivePath in interface ChannelInterfacepath - A String that identifies the absolute physical path.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void setArchivePath(ServerInterface server,
String relativePath)
throws ServiceException,
RemoteException
setArchivePath in interface ChannelInterfaceserver - A ServerInterface representing the FTP server.relativePath - A String with the relative path for the
channel archive destination.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public String getSubject()
throws RemoteException
getSubject in interface ChannelInterfaceRemoteException - if a network anomaly is encountered.
public void setSubject(String subject)
throws RemoteException
This change is not persisted to the enterprise directory until updateStore is called.
setSubject in interface ChannelInterfacesubject - The subject.RemoteException - if a network anomaly is encountered.
public String getPresentationLanguage()
throws RemoteException
getPresentationLanguage in interface ChannelInterfaceRemoteException - if a network anomaly is encountered.
public void setPresentationLanguage(String language)
throws RemoteException
This change is not persisted until update is called.
setPresentationLanguage in interface ChannelInterfacelanguage - The new presentation language.RemoteException - in the event of a network error.
public void setDeliveryTransport(String transport)
throws RemoteException
transport - The new delivery transport.RemoteException - in the event of a network error.
public String getFrequency()
throws RemoteException
getFrequency in interface ChannelInterfaceRemoteException - in the event of network error.
public void setFrequency(String frequency)
throws RemoteException
setFrequency in interface ChannelInterfacefrequency - The new frequency string.RemoteException - in the event of network error.
public ContentDestination getContentDestination()
throws RemoteException
getContentDestination in interface ChannelInterfaceRemoteException - in the event of remote object failure.
public void setContentDestination(DirectoryInterface basePathDir,
String relativePath)
throws RemoteException
setContentDestination in interface ChannelInterfacebasePathDir - A Directory representing the content destination.RemoteException - in the event of remote object failure.
public List subscriberList(int subscriberType)
throws RemoteException
subscriberList in interface ChannelInterface
public List subscriberList(int subscriberType,
Comparator compare)
throws RemoteException
subscriberList in interface ChannelInterfacecompare - A Comparator for sorting, or null for no sorting.
public void addContentSubscriber(ContentSubscriberInterface subscriber)
throws RemoteException
addContentSubscriber in interface ChannelInterfacesubscriber - The subscriber to add.
public void addEventSubscriber(EventSubscriberInterface subscriber)
throws RemoteException
addEventSubscriber in interface ChannelInterfacesubscriber - The event subscriber to add.RemoteException - in the event of network error.
public void removeContentSubscriber(ContentSubscriberInterface subscriber)
throws RemoteException
removeContentSubscriber in interface ChannelInterfacesubscriber - The subscriber to remove.
public void removeEventSubscriber(EventSubscriberInterface subscriber)
throws RemoteException
removeEventSubscriber in interface ChannelInterfacesubscriber - The event subscriber to remove.RemoteException - in the event of network error.
public boolean isGroupContentSubscription(ContentSubscriberInterface subscriber)
throws RemoteException
isGroupContentSubscription in interface ChannelInterfacesubscriber - The subscriber
public boolean isContentSubscription(ContentSubscriberInterface subscriber)
throws RemoteException
isContentSubscription in interface ChannelInterfacesubscriber - The subscriberRemoteException - in the event of network error.
public boolean isGroupEventSubscription(EventSubscriberInterface subscriber)
throws RemoteException
isGroupEventSubscription in interface ChannelInterfacesubscriber - The subscriberRemoteException - in the event of network error.
public boolean isEventSubscription(EventSubscriberInterface subscriber)
throws RemoteException
isEventSubscription in interface ChannelInterfacesubscriber - The subscriberRemoteException - in the event of network error.
public List subscriberNameList(int subscriberType)
throws RemoteException
subscriberNameList in interface ChannelInterfacecom.sas.services.information.metadata.ChannelInterfacesubscriberType - Identifies the type of subscriber to return
information for. Valid subscriber types
include SubscriberInterface.SUBSCRIBER_CONTENT or SubscriberInterface.SUBSCRIBER_EVENT. The subscriber type can be ORed in
order to return names for multiple subscriber types.ServiceException - if a repository error occurs.RemoteException - in the event of network error.
public List subscriberGroupsList(int subscriberType)
throws RemoteException
subscriberGroupsList in interface ChannelInterface
public void addSubscriberGroup(GroupInterface group)
throws RemoteException,
ServiceException
addSubscriberGroup in interface ChannelInterfacegroup - The new subscriber group.RemoteException - in the event of a remote object failure.ServiceException - if a repository error occurs.
public void removeSubscriberGroup(GroupInterface group)
throws RemoteException,
ServiceException
removeSubscriberGroup in interface ChannelInterfacegroup - The group to unsubscribe.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.public String toString()
toString in class RemoteObject
public String getDavUrlType()
throws RemoteException
getDavUrlType in interface ChannelInterface
public void setDavUrlType(String type)
throws RemoteException
setDavUrlType in interface ChannelInterfacetype - The type of url, parent or collection.
public List packageList()
throws RemoteException
packageList in interface ChannelInterfacecom.sas.services.publish.metadata.PackageInterface
objects that were published to this channel.RemoteException - in the event of remote object failure.
public List packageList(Comparator compare)
throws RemoteException
packageList in interface ChannelInterfacecompare - A Comparator for sorting, or null for no sorting.com.sas.services.publish.metadata.PackageInterface
objects published to this channel.RemoteException - in the event of remote object failure.
public int getDeliveryTransport()
throws RemoteException
ChannelInterfacegetDeliveryTransport in interface ChannelInterfacecom.sas.services.information.metadata.ChannelInterfaceChannelInterface.UNSUPPORTED_TRANSPORT, ChannelInterface.NO_TRANSPORT,
ChannelInterface.ARCHIVE_TRANSPORT or ChannelInterface.WEBDAV_TRANSPORT.RemoteException - in the event of network error.
public void setDeliveryTransport(int transport)
throws RemoteException,
IllegalArgumentException
setDeliveryTransport in interface ChannelInterfacetransport - The new delivery transport.RemoteException - in the event of a network error.IllegalArgumentException - if an invalid transport
is specified.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||