| java.lang.Object com.sun.portal.admin.server.mbeans.PSResource com.sun.portal.fabric.mbeans.AMObjectSearch
Method Summary | |
protected int | findScope(int jmxscope) | public void | init(PSConfigContext cc, PortalDomainContext pdc, List path) | public boolean | isValidDN(String dn) Check if the DN passed in is a valid DN. | public String | queryDefaultOrgDN() Query AM for default ORG DN for the current userDN . | public Integer | queryObjectType(String dn) | public Map | queryObjectTypes() Query AM for label and object type identifier that correspond
to USER, ROLE and ORGANIZATION.
A map object whose key represents the label andthe value corresponding to the key in the map isthe object type identifier. | public String | queryRootSuffix() Query AM for Root Suffix. | public Map | searchObjects(AMStoreConnection conn, AMOrganization startOrg, int objType, int scope, String filter) | public Map | searchObjects(String baseDN, String filter, Integer objType, Integer jmxscope) Perform a search for a given AM object type using the filter within
a given scope starting from a particular DN.
Parameters: baseDN - the starting DN of the search Parameters: filter - the filter against the naming attribute of the object Parameters: objType - the object type of the search Parameters: scope - the scope of the searchBASE(0), ONE(1) or SUB(2). | protected Map | setToMap(AMSearchResults results, String namingAttr) |
findScope | protected int findScope(int jmxscope)(Code) | | |
isValidDN | public boolean isValidDN(String dn) throws PSMBeanException(Code) | | Check if the DN passed in is a valid DN.
Parameters: dn - String boolean |
queryDefaultOrgDN | public String queryDefaultOrgDN() throws PSMBeanException(Code) | | Query AM for default ORG DN for the current userDN .
A String object which represents the default ORGDN |
queryObjectTypes | public Map queryObjectTypes() throws PSMBeanException(Code) | | Query AM for label and object type identifier that correspond
to USER, ROLE and ORGANIZATION.
A map object whose key represents the label andthe value corresponding to the key in the map isthe object type identifier. The results are notin any particular order in the map. |
queryRootSuffix | public String queryRootSuffix() throws PSMBeanException(Code) | | Query AM for Root Suffix.
A String object which represents the Root Suffix |
searchObjects | public Map searchObjects(AMStoreConnection conn, AMOrganization startOrg, int objType, int scope, String filter) throws SSOException, AMException(Code) | | |
searchObjects | public Map searchObjects(String baseDN, String filter, Integer objType, Integer jmxscope) throws PSMBeanException(Code) | | Perform a search for a given AM object type using the filter within
a given scope starting from a particular DN.
Parameters: baseDN - the starting DN of the search Parameters: filter - the filter against the naming attribute of the object Parameters: objType - the object type of the search Parameters: scope - the scope of the searchBASE(0), ONE(1) or SUB(2). a map of keys and values pair where keys are DNs of objectsfound and values are their short names. |
setToMap | protected Map setToMap(AMSearchResults results, String namingAttr)(Code) | | |
Methods inherited from com.sun.portal.admin.server.mbeans.PSResource | public String getAttributeValue(String type, String name) throws PSMBeanException(Code)(Java Doc) public Set getAttributeValues(String type, String name) throws PSMBeanException(Code)(Java Doc) public String getDomainID()(Code)(Java Doc) public String getID()(Code)(Java Doc) public Map getMultipleAttributeValues(String type, Set names) throws PSMBeanException(Code)(Java Doc) public PSConfigContext getPSConfigContext()(Code)(Java Doc) public List getPath()(Code)(Java Doc) public PortalDomainContext getPortalDomainContext()(Code)(Java Doc) public String getStackTrace(Throwable t)(Code)(Java Doc) public void init(PSConfigContext cc, PortalDomainContext pdc, List path)(Code)(Java Doc) public Object invokeRemoteOperation(String host, ObjectName mBeanName, String operationName, Object[] params, String[] signature) throws PSMBeanException(Code)(Java Doc) protected boolean isResourceAvailable(String type, String id) throws PSMBeanException(Code)(Java Doc) public void setAttributeValue(String type, String name, String value) throws PSMBeanException(Code)(Java Doc) public void setAttributeValues(String type, String name, Set values) throws PSMBeanException(Code)(Java Doc) public void setMultipleAttributeValues(String type, Map attributes) throws PSMBeanException(Code)(Java Doc)
|
|
|