|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.search.FilterSpecification
com.arsdigita.search.filters.PermissionFilterSpecification
A filter specification for supplying a party and privilege to filter against.
Field Summary | |
static String |
PARTY
|
static String |
PRIVILEGE
|
Constructor Summary | |
PermissionFilterSpecification()
Creates a new permission filter spec with 'The Public' party and the READ privilege |
|
PermissionFilterSpecification(Party party)
Creates a new permission filter spec for a party with READ privilege |
|
PermissionFilterSpecification(Party party,
PrivilegeDescriptor privilege)
Creates a new permission filter spec for a party with a specified privilege |
Method Summary | |
Party |
getParty()
Returns the party to check permissions for |
PrivilegeDescriptor |
getPrivilege()
Returns the privilege to check against |
Methods inherited from class com.arsdigita.search.FilterSpecification |
equals, get, getType, hashCode, set |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PARTY
public static final String PRIVILEGE
Constructor Detail |
public PermissionFilterSpecification()
public PermissionFilterSpecification(Party party)
party
- the party to check permissions forpublic PermissionFilterSpecification(Party party, PrivilegeDescriptor privilege)
party
- the party to check permissions forprivilege
- the privilege to checkMethod Detail |
public Party getParty()
public PrivilegeDescriptor getPrivilege()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |