|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.wps.services.Service com.ibm.workplace.wcm.api.SyndicationService
@Deprecated public abstract class SyndicationService
SyndicationService enables access to control syndication between Syndicator
and
Subscriber
.
To ensure that the service is available at runtime, the below line must be added to the services.properties file (<WPS profile home>\PortalServer\config\config\services.properties),
com.ibm.workplace.wcm.api.SyndicationService = com.ibm.workplace.wcm.api.SyndicationServiceImpl
Here is an example of how to retrieve the SyndicationService
:
try { // Construct and inital Context InitialContext ctx = new InitialContext(); // Retrieve SyndicationService using JNDI name SyndicationService syndicationService = (SyndicationService) ctx.lookup("portal:service/wcm/SyndicationService"); } catch (NamingException ne) { System.out.print("Naming Exception: " + ne); }
Field Summary |
---|
Fields inherited from interface com.ibm.workplace.wcm.api.WcmSyndicationService |
---|
JNDI_NAME |
Constructor Summary | |
---|---|
SyndicationService()
Deprecated. Constructor |
Method Summary | |
---|---|
abstract Subscriber |
getSubscriberByName(Workspace workspace,
java.lang.String subscriberName)
Deprecated. Returns the Subscriber with the specified name, or
null if a Subscriber with that name
does not exist or the caller does not have access |
abstract java.util.Iterator<Subscriber> |
getSubscribers(Workspace workspace)
Deprecated. Returns an iterator of all Subscriber objects visible
to the user of the Workspace . |
abstract Syndicator |
getSyndicatorByName(Workspace workspace,
java.lang.String syndicatorName)
Deprecated. Returns the Syndicator with the specified name, or
null if a Syndicator with that name
does not exist or the caller does not have access |
abstract java.util.Iterator<Syndicator> |
getSyndicators(Workspace workspace)
Deprecated. Returns an iterator of all Syndicator objects visible
to the user of the Workspace . |
Methods inherited from class com.ibm.wps.services.Service |
---|
destroy, expand, init, init, init, inspect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyndicationService()
Method Detail |
---|
public abstract java.util.Iterator<Syndicator> getSyndicators(Workspace workspace)
Syndicator
objects visible
to the user of the Workspace
.
getSyndicators
in interface WcmSyndicationService
workspace
- the workspace
Syndicator
objectspublic abstract Syndicator getSyndicatorByName(Workspace workspace, java.lang.String syndicatorName)
Syndicator
with the specified name, or
null
if a Syndicator
with that name
does not exist or the caller does not have access
getSyndicatorByName
in interface WcmSyndicationService
workspace
- the workspacesyndicatorName
- the name of the Syndicator
to
retrieve
Syndicator
object representing the syndicator
with the given name, or null
if it does not exist.public abstract java.util.Iterator<Subscriber> getSubscribers(Workspace workspace)
Subscriber
objects visible
to the user of the Workspace
.
getSubscribers
in interface WcmSyndicationService
workspace
- the workspace
Subscriber
objectspublic abstract Subscriber getSubscriberByName(Workspace workspace, java.lang.String subscriberName)
Subscriber
with the specified name, or
null
if a Subscriber
with that name
does not exist or the caller does not have access
getSubscriberByName
in interface WcmSyndicationService
workspace
- the workspacesubscriberName
- the name of the Subscriber
to
retrieve
Subscriber
object representing the subscriber
with the given name, or null
if it does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |