|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.dmsapi.SmDmsObject
com.netegrity.sdk.dmsapi.SmDmsOrganization
public class SmDmsOrganization
Represents an organization, such as Engineering or Human Resources, within a directory.
A SiteMinder user directory is a conceptual view of a single organizational unit (such as Engineering or Human Resources) within a larger entity (such as a corporation). SiteMinder user directories make managing an entire directory structure easier by breaking up the directory into smaller, more manageable, and logically related segments.
| Field Summary |
|---|
| Fields inherited from class com.netegrity.sdk.dmsapi.SmDmsObject |
|---|
DMSOBJECT_CLASS_DIRECTORY, DMSOBJECT_CLASS_GROUP, DMSOBJECT_CLASS_ORGANIZATION, DMSOBJECT_CLASS_ROLE, DMSOBJECT_CLASS_UNKNOWN, DMSOBJECT_CLASS_USER |
| Method Summary | |
|---|---|
SmApiResult |
getGroups(SmDmsCursor cursorObj,
java.util.Vector attrNames,
java.util.Vector groups,
int direction)
Gets a list of groups in the organization, and also gets information about the group attributes specified in attrNames. |
SmApiResult |
getGroups(java.util.Vector groups)
Gets a list of groups in the organization. |
SmApiResult |
getGroupsNoAdminCheck(SmDmsCursor cursorObj,
java.util.Vector attrNames,
java.util.Vector groups,
int direction)
|
SmApiResult |
getGroupsNoAdminCheck(java.util.Vector groups)
|
SmApiResult |
getOrganizations(java.util.Vector organizations)
Gets organizations within an organization. |
SmApiResult |
getOrganizationsNoAdminCheck(java.util.Vector organizations)
|
SmApiResult |
getRoles(java.util.Vector roles)
Gets roles of an organization. |
SmApiResult |
getRolesNoAdminCheck(java.util.Vector roles)
|
SmDmsGroup |
newGroup(java.lang.String dn)
Gets a new SmDmsGroup object. |
SmDmsOrganization |
newOrganization(java.lang.String dn)
Gets a new SmDmsOrganization object. |
SmDmsRole |
newRole(java.lang.String dn)
Gets a new SmDmsRole object for a given distinguished name. |
SmDmsUser |
newUser(java.lang.String dn)
Gets a new SmDmsUser object. |
SmApiResult |
search(SmDmsSearch searchObj)
Searches an organization for the specified search criteria. |
SmApiResult |
search(SmDmsSearch searchObj,
int direction)
Searches an organization for the specified search criteria and in the specified direction. |
SmApiResult |
search(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
Searches an organization for the specified search criteria, sorts the result set, and fetches the first page. |
SmApiResult |
search(SmDmsSearch searchObj,
SmDmsCursor cursorObj,
int direction)
Searches an organization for the specified search criteria according to the specified cursor description and search direction. |
SmApiResult |
searchBack(SmDmsSearch searchObj)
Searches backward in an organization for the specified search criteria. |
SmApiResult |
searchBack(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
Fetches the previous page in the result set and refreshes the search if necessary. |
SmApiResult |
searchBackNoAdminCheck(SmDmsSearch searchObj)
|
SmApiResult |
searchBackNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
|
SmApiResult |
searchForward(SmDmsSearch searchObj)
Searches forward in an organization for the specified search criteria. |
SmApiResult |
searchForward(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
Fetches the next page in the result set and refreshes the search if necessary. |
SmApiResult |
searchForwardNoAdminCheck(SmDmsSearch searchObj)
|
SmApiResult |
searchForwardNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
|
SmApiResult |
searchNoAdminCheck(SmDmsSearch searchObj)
|
SmApiResult |
searchNoAdminCheck(SmDmsSearch searchObj,
int direction)
|
SmApiResult |
searchNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
|
SmApiResult |
searchNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj,
int direction)
|
SmApiResult |
searchRefresh(SmDmsSearch searchObj)
Repeats the search for the specified search criteria. |
SmApiResult |
searchRefresh(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
Repeats the search for the specified search criteria, sorts the result, and fetches the same page currently being viewed. |
SmApiResult |
searchRefreshNoAdminCheck(SmDmsSearch searchObj)
|
SmApiResult |
searchRefreshNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public SmDmsUser newUser(java.lang.String dn)
throws SmApiException
SmDmsUser object.
This method does not create a user in a directory. To add a
user in a directory, call addObject() on the
SmDmsUser object.
dn - The distinguished name of the user.
SmDmsUser object.
SmApiException
public SmDmsGroup newGroup(java.lang.String dn)
throws SmApiException
SmDmsGroup object.
This method does not add a group in a directory. To add a
group to a directory, call addObject() on the
SmDmsGroup object.
dn - The distinguished name of the group.
SmDmsGroup object.
SmApiException
public SmDmsOrganization newOrganization(java.lang.String dn)
throws SmApiException
SmDmsOrganization object.
This method does not add an organization in a directory. To add an
organization to a directory, call addObject() on the
SmDmsOrganization object.
dn - The distinguished name of the organization.
SmDmsOrganization object.
SmApiException
public SmDmsRole newRole(java.lang.String dn)
throws SmApiException
SmDmsRole object for a given distinguished name.
This method does not add a role. To add a
role, call addObject() on the
SmDmsRole object.
dn - The distinguished name of the role.
SmDmsRole object.
SmApiException
public SmApiResult getOrganizations(java.util.Vector organizations)
throws SmApiException
Gets organizations within an organization.
This method requires an organization administrator session or higher.
organizations - Vector containing organization DNs (String).
SmApiException
public SmApiResult getOrganizationsNoAdminCheck(java.util.Vector organizations)
throws SmApiException
SmApiException
public SmApiResult getGroups(java.util.Vector groups)
throws SmApiException
getGroups(SmDmsCursor, Vector, Vector, int).
groups - When this method returns successfully, this output
parameter is filled with a Vector of strings containing
the distinguished names of groups.
SmApiException
public SmApiResult getGroupsNoAdminCheck(java.util.Vector groups)
throws SmApiException
SmApiException
public SmApiResult getGroups(SmDmsCursor cursorObj,
java.util.Vector attrNames,
java.util.Vector groups,
int direction)
throws SmApiException
attrNames.
SmDmsCursor.
getGroups(Vector).
getGroups() is not supported with
ODBC databases. Use an
SmDmsOrganization.search...
method instead, or use the
getGroups(Vector)
version that retrieves group names but not attribute information.
cursorObj - The object containing cursor sorting and paging information.attrNames - A Vector of strings containing
the names of the attributes to retrieve.groups - When this method returns successfully, this output
parameter is filled with a Vector of
SmDmsObject objects containing the
distinguished names of the retrieved groups
and the specified attribute information.direction - The search direction. One of the following:
SmDmsSearch.Forward
SmDmsSearch.Back
SmDmsSearch.Refresh
SmDmsSearch.Reset
SmApiException
public SmApiResult getGroupsNoAdminCheck(SmDmsCursor cursorObj,
java.util.Vector attrNames,
java.util.Vector groups,
int direction)
throws SmApiException
SmApiException
public SmApiResult getRoles(java.util.Vector roles)
throws SmApiException
Gets roles of an organization.
This method requires an organization administrator session or higher.
roles - Vector output parameter containing
distinguished names of roles (String).
SmApiException
public SmApiResult getRolesNoAdminCheck(java.util.Vector roles)
throws SmApiException
SmApiException
public SmApiResult search(SmDmsSearch searchObj)
throws SmApiException
Searches an organization for the specified search criteria.
To retrieve the result, callgetResults().
searchObj - SmDmsSearch object containing the
search expression.
SmApiExceptionsearch(SmDmsSearch, int),
search(SmDmsSearch, SmDmsCursor),
search(SmDmsSearch, SmDmsCursor, int)
public SmApiResult searchNoAdminCheck(SmDmsSearch searchObj)
throws SmApiException
SmApiException
public SmApiResult search(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
getResults().
searchObj - SmDmsSearch object containing the
search expression.cursorObj - SmDmsCursor object containing cursor
sorting and paging information.
SmApiExceptionsearch(SmDmsSearch),
search(SmDmsSearch, int),
search(SmDmsSearch, SmDmsCursor, int)
public SmApiResult searchNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
SmApiException
public SmApiResult searchForward(SmDmsSearch searchObj)
throws SmApiException
Searches forward in an organization for the specified search criteria.
To search forward and sort the result set, callsearchForward(SmDmsSearch, SmDmsCursor).
getResults().
searchObj - SmDmsSearch object containing the
search expression.
SmApiException
public SmApiResult searchForwardNoAdminCheck(SmDmsSearch searchObj)
throws SmApiException
SmApiException
public SmApiResult searchForward(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
Fetches the next page in the result set and refreshes the search if necessary. If the search is refreshed, the result is sorted.
This method implicitly advances the cursor's offset to point to the beginning of the next page.searchForward(SmDmsSearch).
getResults().
searchObj - SmDmsSearch object containing the
search expression.cursorObj - SmDmsCursor object containing cursor
sorting and paging information.
SmApiException
public SmApiResult searchForwardNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
SmApiException
public SmApiResult searchBack(SmDmsSearch searchObj)
throws SmApiException
Searches backward in an organization for the specified search criteria.
To search backward and sort the result set, call
.
searchBack(SmDmsSearch, SmDmsCursor)
To retrieve the result, call
.
getResults()
This method requires an organization administrator session
or higher.
searchObj - SmDmsSearch object containing the
search expression.
SmApiException
public SmApiResult searchBackNoAdminCheck(SmDmsSearch searchObj)
throws SmApiException
SmApiException
public SmApiResult searchBack(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
Fetches the previous page in the result set and refreshes the search if necessary. If the search is refreshed, the result is sorted.
This method implicitly regresses the cursor's offset to point to the beginning of the previous page.searchBack(SmDmsSearch).
getResults().
searchObj - SmDmsSearch object containing the
search expression.cursorObj - SmDmsCursor object containing cursor
sorting and paging information.
SmApiException
public SmApiResult searchBackNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
SmApiException
public SmApiResult searchRefresh(SmDmsSearch searchObj)
throws SmApiException
Repeats the search for the specified search criteria.
To refresh the search and sort the result set, callsearchRefresh(SmDmsSearch, SmDmsCursor).
getResults().
searchObj - SmDmsSearch object containing the
search expression.
SmApiException
public SmApiResult searchRefreshNoAdminCheck(SmDmsSearch searchObj)
throws SmApiException
SmApiException
public SmApiResult searchRefresh(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
Repeats the search for the specified search criteria, sorts the result, and fetches the same page currently being viewed.
This method does not modify the cursor's offset.searchRefresh(SmDmsSearch).
getResults().
searchObj - SmDmsSearch object containing the
search expression.cursorObj - SmDmsCursor object containing cursor
sorting and paging information.
SmApiException
public SmApiResult searchRefreshNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj)
throws SmApiException
SmApiException
public SmApiResult search(SmDmsSearch searchObj,
int direction)
throws SmApiException
getResults().
searchObj - SmDmsSearch object containing the
search expression.direction - Direction of the search defined in SmDmsSearch.
One of the following:
SmDmsSearch.Forward
SmDmsSearch.Back
SmDmsSearch.Refresh
SmDmsSearch.Reset
search().
SmApiExceptionsearch(SmDmsSearch),
search(SmDmsSearch, SmDmsCursor),
search(SmDmsSearch, SmDmsCursor, int)
public SmApiResult searchNoAdminCheck(SmDmsSearch searchObj,
int direction)
throws SmApiException
SmApiException
public SmApiResult search(SmDmsSearch searchObj,
SmDmsCursor cursorObj,
int direction)
throws SmApiException
getResults().
searchObj - SmDmsSearch object containing the
search expression.cursorObj - SmDmsCursor object containing cursor
sorting and paging information.direction - Direction of the search defined in SmDmsSearch.
One of the following:
SmDmsSearch.Forward
SmDmsSearch.Back
SmDmsSearch.Refresh
SmDmsSearch.Reset
search(SmDmsSearch,SmDmsCursor).
SmApiExceptionsearch(SmDmsSearch),
search(SmDmsSearch, int),
search(SmDmsSearch, SmDmsCursor)
public SmApiResult searchNoAdminCheck(SmDmsSearch searchObj,
SmDmsCursor cursorObj,
int direction)
throws SmApiException
SmApiException
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||