public JetspeedPrincipalQueryContext(java.lang.String nameFilter,
long offset,
long length)
JetspeedPrincipalQueryContext
public JetspeedPrincipalQueryContext(java.lang.String nameFilter,
long offset,
long length,
java.lang.String order,
java.util.List<java.lang.String> roles,
java.util.List<java.lang.String> groups,
java.util.List<java.lang.String> users,
java.util.Map<java.lang.String,java.lang.String> attributes)
Method Detail
getNameFilter
public java.lang.String getNameFilter()
Return the filter for the principals name. The name can contain a
wildcard at the right end.
Returns:
the nameFilter
getSecurityAttributes
public java.util.Map<java.lang.String,java.lang.String> getSecurityAttributes()
Returns all security attributes for the principal. All security
attributes MUST exist for the principal.
Returns:
the securityAttributes
getAssociatedRoles
public java.util.List<java.lang.String> getAssociatedRoles()
Returns all roles the principal must be member of.
Returns:
the associatedRoles
getAssociatedGroups
public java.util.List<java.lang.String> getAssociatedGroups()
Returns all groups the principal must be member of.
Returns:
the associatedGroups
getAssociatedUsers
public java.util.List<java.lang.String> getAssociatedUsers()
Returns all users the principal must contain.
Returns:
the associatedUsers
getOrder
public java.lang.String getOrder()
Returns the sort order for the principals name. If it is 'desc' the
principals are sorted backwards according to their names, all other
values result in normal order.
Returns:
the orderDesc
getOffset
public java.lang.Long getOffset()
Returns:
the offset
getLength
public java.lang.Long getLength()
Returns:
the length
getJetspeedPrincipalType
public java.lang.String getJetspeedPrincipalType()