com.plumtree.server
Class PT_COMMUNITY_MEMBERSHIPTYPE

java.lang.Object
  extended by com.plumtree.server.PT_COMMUNITY_MEMBERSHIPTYPE

public final class PT_COMMUNITY_MEMBERSHIPTYPE
extends java.lang.Object

Enumeration of the different membership types of a Community. Community membership only controls if a Community shows up in users My Communities list, also possibly as a mandatory tab.

Author:
Robert Zhang

Field Summary
static int PT_COMMUNITYMEMBER_FREE
          This is the only applicable membership for users.
static int PT_COMMUNITYMEMBER_MANDATORY
          Can only be set for groups.
static int PT_COMMUNITYMEMBER_TAB
          Same as Mandatory membership, but also adds a mandatory tab for this Community to members navigation.
 
Constructor Summary
PT_COMMUNITY_MEMBERSHIPTYPE()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PT_COMMUNITYMEMBER_FREE

public static final int PT_COMMUNITYMEMBER_FREE
This is the only applicable membership for users. Community shows up in a User's or a Group's list of My Communities. This membership type allows users and groups to quit from a Community at anytime.

See Also:
Constant Field Values

PT_COMMUNITYMEMBER_MANDATORY

public static final int PT_COMMUNITYMEMBER_MANDATORY
Can only be set for groups. Community shows up in My Communities list and users cannot remove themselves from this Community.

See Also:
Constant Field Values

PT_COMMUNITYMEMBER_TAB

public static final int PT_COMMUNITYMEMBER_TAB
Same as Mandatory membership, but also adds a mandatory tab for this Community to members navigation. Can only be applied to groups.

See Also:
Constant Field Values
Constructor Detail

PT_COMMUNITY_MEMBERSHIPTYPE

public PT_COMMUNITY_MEMBERSHIPTYPE()