|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.application.communities.MembershipCriteria
com.bea.netuix.application.communities.MemberMembershipCriteria
public class MemberMembershipCriteria
The MemberMembershipCriteria object is used to specify attributes used to find specific CommunityMembership objects for a particular user. To use this object, construct a new instance, and call any of the set...
methods to specify constraints on the search. Only constraints set using a set...
method will be used during the search. All specified constraints are used in conjunction (AND rather than OR). Setting some constraints will automatically un-set others, so view the documentation for each set...
method to understand the consequences. <p/> For example, to specify a search criteria to find all disabled memberships for a particular member, the following would work:
MemberMembershipCriteria criteria = new MemberMembershipCriteria(username); criteria.setMembershipActive(false);
<p/>The overview of community functionality contains a description of the community framework.
MembershipCriteria
, CommunityMembershipCriteria
, Serialized FormField Summary |
---|
Fields inherited from class com.bea.netuix.application.communities.MembershipCriteria |
---|
ORDER_BY_JOIN_DATE, ORDER_BY_LAST_ACCESS_DATE, ORDER_BY_MEMBER_ACTIVE, ORDER_BY_MEMBER_EXTERNAL, ORDER_BY_MEMBERSHIP_ACTIVE, ORDER_BY_USERNAME |
Constructor Summary | |
---|---|
MemberMembershipCriteria(CommunityMemberId memberId) Constructor for a MemberMembershipCriteria object which creates a unconstrained search criteria-- by default, all criteria are not used during a search, and all CommunityMemberships will be selected. |
|
MemberMembershipCriteria(String username) Constructor for a MemberMembershipCriteria object which creates a unconstrained search criteria-- by default, all criteria are not used during a search, and all CommunityMemberships will be selected. |
Method Summary | |
---|---|
MemberMembershipCriteria |
copy() Creates a copy of this MemberMembershipCriteria object. |
boolean |
equals(Object o) |
void |
setWebAppName(String webAppName) Specifies the web app name a CommunityMembership must match to be included. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MemberMembershipCriteria(CommunityMemberId memberId)
memberId
- the member to search for memberships for.public MemberMembershipCriteria(String username)
username
- the username of the member to search for memberships for.Method Detail |
---|
public MemberMembershipCriteria copy()
public void setWebAppName(String webAppName)
null
is used as the argument, web app name is not used as a criteria for selecting memberships.webAppName
- the web app name memberships must match to be included. If null, web app name is not used as a criteria for selection.public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.