|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public UserModel
Interface for a user model used to search for user and groups
Method Summary | |
---|---|
AnonymousMode |
getAnonymousMode()
Returns the mode in which the anonymous user is accessing the system. |
Deferred |
findCurrentUser()
Returns the current user. |
Deferred |
findUsersByAttribute(String attributeName,
String attributeValue)
Returns a user array that matches the LDAP query attributeName=attributeValue |
Deferred |
findGroupByID(String id)
Returns the group with the given id or null if no such group exists |
Deferred |
findGroupsByAttribute(String attributeName,
String attributeValue)
Returns a group array that matches the LDAP query attributeName=attributeValue |
Attribute[] |
findGroupAttributes()
Returns an array of attributes for the searchable Group attributes in the user repository. |
Attribute[] |
findUserAttributes()
Returns an array of attributes for the searchable User attributes in the user repository. |
User[] |
getVirtualUsers()
Returns an array of Virtual Users (like Anonymous) |
Group[] |
getVirtualGroups()
Returns an array of Virtual Groups (like All Authenticated) |
String[] |
getLookasideAttributeNames()
Returns the attribute names for Lookaside properties as string array. |
Methods inherited from interface com.ibm.mashups.enabler.Commitable |
---|
isDirty, commit |
Methods inherited from interface com.ibm.mashups.enabler.ListModel |
---|
iterator |
Methods inherited from interface com.ibm.mashups.enabler.model.Model |
---|
setStrategy, getStrategies, getStrategy, addStrategy, removeStrategy |
Methods inherited from interface com.ibm.mashups.enabler.Locator |
---|
find |
Methods inherited from interface com.ibm.mashups.enabler.Locator |
---|
find |
Method Detail |
---|
AnonymousMode getAnonymousMode()
null
.Deferred findCurrentUser()
null
.Deferred findUsersByAttribute(String attributeName, String attributeValue)
attributeName
-
name of the LDAP queryattributeValue
-
value of the LDAP query
null
.Deferred findGroupByID(String id)
id
-
the id
null
.Deferred findGroupsByAttribute(String attributeName, String attributeValue)
attributeName
-
name of the LDAP queryattributeValue
-
value of the LDAP query
null
.Attribute[] findGroupAttributes()
null
.Attribute[] findUserAttributes()
null
.User[] getVirtualUsers()
null
.Group[] getVirtualGroups()
null
.String[] getLookasideAttributeNames()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |