|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.ObjectProfileSearch
public class ObjectProfileSearch
Class that provides an interface for searching for object profiles that reside in the data store. Since object profiles can be registered with the platform in a non-persistent manner (see ProfileLocator), searches performed here may not return every object profile known to the platform.
ObjectProfileEntity
Constructor Summary | |
---|---|
ObjectProfileSearch()
Default constructor. |
Method Summary | |
---|---|
java.util.Collection |
getAllLifecycleProfiles(DistinguishedName tenantDN)
This method gets all lifecycle profiles in the data store. |
java.util.Collection |
getAllServiceProfiles(DistinguishedName tenantDN)
Returns all service profiles in the data store. |
java.util.Collection |
getLifeCycleProfilebyServiceTarget(DistinguishedName tenantDN,
DistinguishedName targetDN)
This method gets all lifecycle profiles pointing to particular service. |
java.util.Collection |
getProfilesInCategory(DistinguishedName tenantDN,
java.lang.String category)
Returns all object profiles with the given category in the data store. |
ObjectProfileEntity |
lookup(DistinguishedName dn)
Searches for an object profile with the given distinguished name. |
ObjectProfileEntity |
lookup(DistinguishedName tenantDN,
java.lang.String profileName)
Searches for an object profile in the data store with the given profile name. |
java.util.Collection<ObjectProfileEntity> |
searchByCustomClass(DistinguishedName tenantDN,
java.lang.String customClass)
Searches for object profile(s) in the data store with the given custom class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectProfileSearch()
Method Detail |
---|
public ObjectProfileEntity lookup(DistinguishedName dn) throws ObjectNotFoundException, ModelCommunicationException
dn
- DistinguishedName to search with.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public ObjectProfileEntity lookup(DistinguishedName tenantDN, java.lang.String profileName) throws ObjectNotFoundException, ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.profileName
- Profile name to search with.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to an invalid
profile name, or the entity may have been removed by
another client.public java.util.Collection<ObjectProfileEntity> searchByCustomClass(DistinguishedName tenantDN, java.lang.String customClass) throws ObjectNotFoundException, ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.customClass
- name of the custom class to be searched.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to an invalid
profile name, or the entity may have been removed by
another client.public java.util.Collection getProfilesInCategory(DistinguishedName tenantDN, java.lang.String category) throws ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.category
- Category of object profiles to return.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.public java.util.Collection getAllServiceProfiles(DistinguishedName tenantDN) throws ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.public java.util.Collection getAllLifecycleProfiles(DistinguishedName tenantDN) throws ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.public java.util.Collection getLifeCycleProfilebyServiceTarget(DistinguishedName tenantDN, DistinguishedName targetDN) throws ModelCommunicationException
tenantDN
- Distinguished name of the tenant (system root) to
provide the base of the search.targetDN
- Distinguished name of the target service.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |