|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FederatedDocumentsService
Portal service to retrieve the configured documents services. This service reads the configuration from the federated documents resource environment provider.
Use the WebSphere Portal JNDI portlet service lookup mechanism to locate the service implementation.
Usage Example:
javax.naming.Context ctx = new javax.naming.InitialContext();
FederatedDocumentsService service = null;
try {
service = (FederatedDocumentsService) ctx.lookup(FederatedDocumentsService.JNDI_NAME);
} catch(javax.naming.NameNotFoundException ex) {
... error handling ...
}
...
if (service != null) {
Collection documents = service.getDocumentsServices();
...
}
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
The JNDI name that can be used to lookup instances of this service |
Method Summary | |
---|---|
com.ibm.wps.services.federateddocuments.DocumentsService |
getDocumentsService(java.lang.String documentsServiceID)
Returns the federated documents services configuration for the given ID or null if the ID has not been used to configure
any pre-defined documents service. |
java.util.Collection<com.ibm.wps.services.federateddocuments.DocumentsService> |
getDocumentsServices()
Retrieves the configured documents services. |
java.lang.String |
getQuery()
Returns the custom query string that is configured for all documents services. |
java.lang.String |
getVaultAdapterType()
Retrieves the optional configuration property that specifies the vault adapter type that is used by the federated documents vault management datasink when creating the credential vault segment for transient credential vault slots. |
boolean |
isCustomServerSelectionEnabled()
Retrieves the optional configuration property that specifies if selection of non-configured servers is enabled in the user interface. |
boolean |
isQDSSupportEnabled()
Returns true if the Federated Documents Picker of IBM Portal
allows users to access Quickr document services feeds,
false if the Federated Documents Picker of IBM Portal
does not support Quickr document services feeds.
|
boolean |
isVaultSelectionEnabledForPZN()
Retrieves the optional configuration property that specifies if selection of credential vault slots for PZN is enabled. |
boolean |
isVaultSelectionEnabledForWCM()
Retrieves the optional configuration property that specifies if selection of credential vault slots for WCM RTE is enabled. |
Field Detail |
---|
static final java.lang.String JNDI_NAME
Method Detail |
---|
boolean isVaultSelectionEnabledForWCM()
boolean isVaultSelectionEnabledForPZN()
boolean isCustomServerSelectionEnabled()
boolean isQDSSupportEnabled()
true
if the Federated Documents Picker of IBM Portal
allows users to access Quickr document services feeds,false
if the Federated Documents Picker of IBM Portal
does not support Quickr document services feeds.
true
if the property is not setjava.util.Collection<com.ibm.wps.services.federateddocuments.DocumentsService> getDocumentsServices()
null
com.ibm.wps.services.federateddocuments.DocumentsService getDocumentsService(java.lang.String documentsServiceID)
null
if the ID has not been used to configure
any pre-defined documents service.
documentsServiceID
- the ID of the pre-defined federated documents services configuration,
not null
null
java.lang.String getQuery()
null
if no such configuration is exists.
Important: The configured query string is expected to be encoded already.
null
java.lang.String getVaultAdapterType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |