|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.dsws.Consumer
com.businessobjects.dsws.bicatalog.BICatalog
BIPlatform as a replacement.
public class BICatalog
The BICatalog class is a proxy that can consume the BICatalog Web Service and that is mapped on its WSDL.
BICatalog provides service methods to list and search for categories, documents and folders either
separately or simultaneously. Using BICatalog a user can also see ResourceRights and ObjectProperties.
Example: Initializing a BICatalog instance.
Connection connection;
URL boConURL = new URL("'http://
connection = new com.businessobjects.dsws.Connection(boConURL);
Session boSession = new Session(connection);
EnterpriseCredential credential = EnterpriseCredential.Factory.newInstance();
credential.setLogin("username");
credential.setDomain("domain");
credential.setPassword("password");
SessionInfo boSI = boSession.login(credential);
String[] strBICatURL = boSession.getAssociatedServicesURL("BICatalog");
BICatalog boCat = BICatalog.getInstance(boSession,strBICatURL[0]);
Connection,
AuthenticationCredential,
Session,
SearchPattern,
Serialized Form| Constructor Summary | |
|---|---|
BICatalog()
Deprecated. |
|
BICatalog(Connection objConnection,
ConnectionState objConnectionState)
Deprecated. Instantiate a new BICatalog object using Connection and ConnectionState objects. |
|
BICatalog(java.lang.String strImplementation,
ConnectionState objConnectionState)
Deprecated. Internal Use Only. |
|
| Method Summary | |
|---|---|
BICatalogObject[] |
getCatalog(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] bicatalogObjectType,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
Deprecated. The getCatalog method returns an array of BICatalogObject, that is to say the documents, folders and categories available to the current users. |
Category[] |
getCategoryList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames)
Deprecated. The getCategoryList method returns an array of Categories available to the current user. |
Document[] |
getDocumentList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
Deprecated. The getDocumentList method returns an array of Documents available to the current user. |
Folder[] |
getFolderList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames)
Deprecated. The getCategoryList method returns an array of Folders available to the current user. |
static BICatalog |
getInstance(Consumer objConsumer,
java.lang.String strURL)
Deprecated. |
ObjectProperty[] |
getObjectProperties(java.lang.String objectUID)
Deprecated. Return a complete list of ObjectProperty of a specific resources. |
ResourceRight[] |
getResourceRights(java.lang.String objectUID)
Deprecated. Return a complete list of ResourceRight for a specific resource. |
void |
readExternal(java.io.ObjectInput in)
Deprecated. |
BICatalogObject[] |
search(SearchPattern searchPattern,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
Deprecated. The Search method returns an array of BICatalogObject corresponding to a SearchPattern. |
void |
writeExternal(java.io.ObjectOutput out)
Deprecated. |
| Methods inherited from class com.businessobjects.dsws.Consumer |
|---|
displayException, GetAxisFaultDetails, getConnection, getConnection, getConnectionState, getConsumer, getConsumer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BICatalog(java.lang.String strImplementation,
ConnectionState objConnectionState)
throws AxisFault
Internal Use Only.
AxisFault
public BICatalog(Connection objConnection,
ConnectionState objConnectionState)
throws AxisFault
Example: Initializing a BICatalog instance.
Connection connection = new Connection(boConURL);
SessionInfo boSI = boSession.login(credential);
String[] strBICatURL = boSession.getAssociatedServicesURL("BICatalog");
BICatalog boCat = BICatalog.getInstance(boSession,strBICatURL[0]);
objConnection - a valid Connection object with the URL set to the BICatalog service.objConnectionState - the ConnectionState of the current user session.
AxisFaultConnection,
ConnectionStatepublic BICatalog()
| Method Detail |
|---|
public static BICatalog getInstance(Consumer objConsumer,
java.lang.String strURL)
throws AxisFault
objConsumer - one of the current user's consumer objects.strURL - URL to connect to the BICatalog web service.
com.businessobjects.dsws.AxisFault - Exception raised either as a Web Service SOAP Fault or as a Consumer side trapped exception.
Example: Initializing a BICatalog instance.
Connection connection;
URL boConURL = new URL("'http://
connection = new com.businessobjects.dsws.Connection(boConURL);
Session boSession = new Session(connection);
EnterpriseCredential credential = EnterpriseCredential.Factory.newInstance();
credential.setLogin("username");
credential.setDomain("domain");
credential.setPassword("password");
SessionInfo boSI = boSession.login(credential);
String[] strBICatURL = boSession.getAssociatedServicesURL("BICatalog");
BICatalog boCat = BICatalog.getInstance(boSession,strBICatURL[0]);
AxisFaultConnection,
AuthenticationCredential,
Session
public BICatalogObject[] getCatalog(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] bicatalogObjectType,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
throws AxisFault
objectUID - To recuperated a list of BICatalogObject from a specific folder or category set to the specific
UID. To return all objects from the root directory set as an empty string.depth - Number of levels to retrieve. sort - an array of SortType to sort the returned list of BICatalogObjects.
Precedence of SortTypes follows the index of the sort array. Set this value to null if no sort is required.bicatalogObjectType - an array of strings containing the name of the bicatalogObjectType you want to retrieve.
Types can be either:resourceRightNames - an array of strings containing the name of the
ResourceRights to be retrieved with each
BICatalogObject. If you pass a non-handled ResourceRight name this method will ignore it. Pass null
and no ResourceRights are returned.objectPropertyNames - an array of strings containing the name of the
ObjectProperties to be retrieved with each
BICatalogObject. Pass a non-handled ObjectProperty name this method will ignore it.
Pass null and no ObjectProperties are returned.instanceRetrievalType - the Document instance type to filter on. The filter only impacts
Document objects, and not Folders or Categories.
AxisFaultCategory,
Folder,
Document,
BICatalogObject,
SortType,
ResourceRight,
ObjectProperty,
InstanceRetrievalType
public Document[] getDocumentList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
throws AxisFault
Documents available to the current user.
objectUID - To recuperated a list of Documents from a specific folder or category set to the specific
UID. To return all objects from the root directory set as an empty string.depth - Number of levels to retrieve. sort - an array of SortType to sort the returned list of BICatalogObjects.
Precedence of SortTypes follows the index of the sort array. Set this value to null if no sort is required.resourceRightNames - an array of strings containing the name of the
ResourceRights to be retrieved with each
BICatalogObject. If you pass a non-handled ResourceRight name this method will ignore it. Pass null
and no ResourceRights are returned.objectPropertyNames - an array of strings containing the name of the
ObjectProperties to be retrieved with each
BICatalogObject. Pass a non-handled ObjectProperty name this method will ignore it.
Pass null and no ObjectProperties are returned.instanceRetrievalType - Document instance type to filter on. The filter only impacts
Document objects, and not Folders or Categories.
AxisFaultDocument,
BICatalogObject,
SortType,
ResourceRight,
ObjectProperty,
InstanceRetrievalType
public Category[] getCategoryList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames)
throws AxisFault
Categories available to the current user.
objectUID - To recuperated a list of Categories from a specific folder or category set to the specific
UID. To return all objects from the root directory set as an empty string.depth - Number of levels to retrieve. sort - an array of SortType to sort the returned list of BICatalogObjects.
Precedence of SortTypes follows the index of the sort array. Set this value to null if no sort is required.resourceRightNames - an array of strings containing the name of the
ResourceRights to be retrieved with each
BICatalogObject. If you pass a non-handled ResourceRight name this method will ignore it. Pass null
and no ResourceRights are returned.objectPropertyNames - an array of strings containing the name of the
ObjectProperties to be retrieved with each
BICatalogObject. Pass a non-handled ObjectProperty name this method will ignore it.
Pass null and no ObjectProperties are returned.
AxisFaultBICatalogObject,
SortType,
ResourceRight,
ObjectProperty,
InstanceRetrievalType
public Folder[] getFolderList(java.lang.String objectUID,
int depth,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames)
throws AxisFault
Folders available to the current user.
objectUID - To recuperated a list of Categories from a specific folder or category set to the specific
UID. To return all objects from the root directory set as an empty string.depth - Number of levels to retrieve. sort - an array of SortType to sort the returned list of BICatalogObjects.
Precedence of SortTypes follows the index of the sort array. Set this value to null if no sort is required.resourceRightNames - an array of strings containing the name of the
ResourceRights to be retrieved with each
BICatalogObject. If you pass a non-handled ResourceRight name this method will ignore it. Pass null
and no ResourceRights are returned.objectPropertyNames - an array of strings containing the name of the
ObjectProperties to be retrieved with each
BICatalogObject. Pass a non-handled ObjectProperty name this method will ignore it.
Pass null and no ObjectProperties are returned.
AxisFaultBICatalogObject,
SortType,
ResourceRight,
ObjectProperty,
InstanceRetrievalType
public BICatalogObject[] search(SearchPattern searchPattern,
SortType.Enum[] sort,
java.lang.String[] resourceRightNames,
java.lang.String[] objectPropertyNames,
InstanceRetrievalType.Enum instanceRetrievalType)
throws AxisFault
searchPattern - a SearchPattern object correspond
to your search request.sort - an array of SortType to sort the returned list of BICatalogObjects.
Precedence of SortTypes follows the index of the sort array. Set this value to null if no sort is required.resourceRightNames - an array of strings containing the name of the
ResourceRights to be retrieved with each
BICatalogObject. If you pass a non-handled ResourceRight name this method will ignore it. Pass null
and no ResourceRights are returned.objectPropertyNames - an array of strings containing the name of the
ObjectProperties to be retrieved with each
BICatalogObject. Pass a non-handled ObjectProperty name this method will ignore it.
Pass null and no ObjectProperties are returned.instanceRetrievalType - the Document instance type to filter on. The filter only impacts
Document objects, and not Folders or Catgeories.
AxisFaultSearchPattern,
BICatalogObject,
SortType,
ResourceRight,
ObjectProperty,
InstanceRetrievalType,
SimpleSearch
public ResourceRight[] getResourceRights(java.lang.String objectUID)
throws AxisFault
objectUID - The specific ID of the BICatalogObject for which the user wishes to know the ResourceRights.
AxisFaultResourceRight
public ObjectProperty[] getObjectProperties(java.lang.String objectUID)
throws AxisFault
objectUID - The specific ID of the BICatalogObject for which the user wishes to know the ObjectProperty.
AxisFaultObjectProperty
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||