public class ObjectBrowser extends Object
package description| Modifier and Type | Method and Description |
|---|---|
ObjectBrowser |
addCuids(Collection<String> cuids)
Adds all objects identified by specified cuid(s) as primary resources.
|
ObjectBrowser |
addCuids(String... cuids)
Adds all objects identified by specified cuid(s) as primary resources.
|
ObjectBrowser |
addObjects(Collection<IInfoObject> objects)
Adds all specified objects as primary resources.
|
ObjectBrowser |
addObjects(IInfoObject... objects)
Adds all specified objects as primary resources.
|
ObjectBrowser |
addQuery(ObjectMatcher matcher)
Adds all objects denoted by specified matcher as primary resources.
|
ObjectBrowser |
addQuery(String query)
Adds all objects returned by specified query as primary resources.
|
ObjectBrowser |
clear()
Clears all previously selected resources.
|
ObjectBrowser |
computeDependencies()
Requests for dependency computation for current set of primary resources.
|
ObjectBrowser |
computeSecurityDependencies()
Requests for security dependency computation for current set of primary resources.
|
Collection<String> |
getCuids()
Returns all previously selected resources by their cuid.
|
Map<IInfoObject,Set<IInfoObject>> |
getDependencies()
Returns forward dependencies for each and every current primary resource.
|
Set<IInfoObject> |
getDependencies(IInfoObject primary)
Returns forward dependencies for given primary resource.
|
Map<IInfoObject,Set<IInfoObject>> |
getReverseDependencies()
Returns backward dependencies for each and every current dependent resource.
|
ObjectBrowser |
removeCuids(Collection<String> cuids)
Removes objects of given cuids from current set of primary resources.
|
ObjectBrowser |
removeCuids(String... cuids)
Removes objects of given cuids from current set of primary resources.
|
ObjectBrowser |
removeObject(IInfoObject obj)
Removes given object from current set of primary resources.
|
public Collection<String> getCuids() throws com.businessobjects.lcm.utilities.LCMException
com.businessobjects.lcm.utilities.LCMException - in case of errorpublic ObjectBrowser clear()
public ObjectBrowser addQuery(String query) throws SDKException
query - query defining objects to be addedSDKException - in case of errorpublic ObjectBrowser addCuids(String... cuids)
cuids - cuid list to be addedpublic ObjectBrowser addCuids(Collection<String> cuids)
cuids - cuid collection to be addedpublic ObjectBrowser addObjects(IInfoObject... objects) throws SDKException
objects - object list to be addedSDKException - in case of errorpublic ObjectBrowser addObjects(Collection<IInfoObject> objects) throws SDKException
objects - object collection to be addedSDKException - in case of errorpublic ObjectBrowser computeDependencies() throws com.businessobjects.lcm.utilities.LCMException, SDKException
Computed dependencies are not added automatically to selected resources.
Note that this task is time consuming.
After an initial call dependencies are valid as long as primary resources are not modified.
com.businessobjects.lcm.utilities.LCMException - in case of errorSDKException - in case of errorpublic ObjectBrowser computeSecurityDependencies() throws com.businessobjects.lcm.utilities.LCMException, SDKException
Computed security dependencies are not added automatically to selected resources.
Note that this task is time consuming.
After an initial call dependencies are valid as long as primary resources are not modified.
com.businessobjects.lcm.utilities.LCMException - in case of errorSDKException - in case of errorpublic Set<IInfoObject> getDependencies(IInfoObject primary) throws com.businessobjects.lcm.utilities.LCMException, SDKException
Note that computeDependencies() must have been called before.
primary - object whose dependencies are to be computedcom.businessobjects.lcm.utilities.LCMException - in case of errorSDKException - in case of errorpublic Map<IInfoObject,Set<IInfoObject>> getDependencies() throws com.businessobjects.lcm.utilities.LCMException, SDKException
Note that computeDependencies() must have been called before.
com.businessobjects.lcm.utilities.LCMException - in case of errorSDKException - in case of errorpublic Map<IInfoObject,Set<IInfoObject>> getReverseDependencies() throws com.businessobjects.lcm.utilities.LCMException, SDKException
In others words indicates by who a dependency is required.
Note that computeDependencies() must have been called before.
com.businessobjects.lcm.utilities.LCMException - in case of errorSDKException - in case of errorpublic ObjectBrowser addQuery(ObjectMatcher matcher) throws SDKException
matcher - matcher defining objects to be addedSDKException - in case of errorpublic ObjectBrowser removeObject(IInfoObject obj) throws SDKException
obj - object to be removedSDKException - in case of errorpublic ObjectBrowser removeCuids(String... cuids)
cuids - list of object cuids to be removedpublic ObjectBrowser removeCuids(Collection<String> cuids)
cuids - collection of object cuids to be removed