Enum SpaceListAccess.Type
- java.lang.Object
-
- java.lang.Enum<SpaceListAccess.Type>
-
- org.exoplatform.social.core.space.SpaceListAccess.Type
-
- All Implemented Interfaces:
Serializable,Comparable<SpaceListAccess.Type>
- Enclosing class:
- SpaceListAccess
public static enum SpaceListAccess.Type extends Enum<SpaceListAccess.Type>
The space list access Type Enum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESSIBLEGets the accessible spaces of the user.ACCESSIBLE_FILTERGets the accessible spaces of the user by filter.ALLGets the all spaces (for super user).ALL_FILTERGets the all spaces by filter.INVITEDGets the invited spaces of the user.INVITED_FILTERGets the invited spaces of the user by filter.LASTEST_ACCESSEDProvides SpaceNavigation to get the lastest spaces accessedMANAGERGets the spaces which the user has the "manager" role.MANAGER_FILTERGets the spaces which the user has the "manager" role by filter.MEMBERGets the spaces which the user has the "member" role.MEMBER_FILTERGets the spaces which the user has the "member" role by filter.PENDINGGets the pending spaces of the user.PENDING_FILTERGets the pending spaces of the user by filter.PENDING_REQUESTSProvides Relationship of Users requesting to join a SpacePUBLICGets the public spaces of the user.PUBLIC_FILTERGets the public spaces of the user by filter.PUBLIC_SUPER_USERGets the public spaces of the super user.SETTINGGets the spaces which the user has setting permission.SETTING_FILTERGets the spaces which the user has setting permission by filter.UNIFIED_SEARCHProvides Unified Search to get the spaces which are visible and not include these spaces hiddenVISIBLEGets the spaces which are visible and not include these spaces hiddenVISITEDGets the spaces which are visited at least once
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpaceListAccess.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SpaceListAccess.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SpaceListAccess.Type ALL
Gets the all spaces (for super user).
-
ALL_FILTER
public static final SpaceListAccess.Type ALL_FILTER
Gets the all spaces by filter.
-
ACCESSIBLE
public static final SpaceListAccess.Type ACCESSIBLE
Gets the accessible spaces of the user.
-
ACCESSIBLE_FILTER
public static final SpaceListAccess.Type ACCESSIBLE_FILTER
Gets the accessible spaces of the user by filter.
-
INVITED
public static final SpaceListAccess.Type INVITED
Gets the invited spaces of the user.
-
INVITED_FILTER
public static final SpaceListAccess.Type INVITED_FILTER
Gets the invited spaces of the user by filter.
-
PENDING
public static final SpaceListAccess.Type PENDING
Gets the pending spaces of the user.
-
PENDING_FILTER
public static final SpaceListAccess.Type PENDING_FILTER
Gets the pending spaces of the user by filter.
-
PUBLIC
public static final SpaceListAccess.Type PUBLIC
Gets the public spaces of the user.
-
PUBLIC_FILTER
public static final SpaceListAccess.Type PUBLIC_FILTER
Gets the public spaces of the user by filter.
-
PUBLIC_SUPER_USER
public static final SpaceListAccess.Type PUBLIC_SUPER_USER
Gets the public spaces of the super user.
-
SETTING
public static final SpaceListAccess.Type SETTING
Gets the spaces which the user has setting permission.
-
SETTING_FILTER
public static final SpaceListAccess.Type SETTING_FILTER
Gets the spaces which the user has setting permission by filter.
-
MEMBER
public static final SpaceListAccess.Type MEMBER
Gets the spaces which the user has the "member" role.
-
MEMBER_FILTER
public static final SpaceListAccess.Type MEMBER_FILTER
Gets the spaces which the user has the "member" role by filter.
-
MANAGER
public static final SpaceListAccess.Type MANAGER
Gets the spaces which the user has the "manager" role.
-
MANAGER_FILTER
public static final SpaceListAccess.Type MANAGER_FILTER
Gets the spaces which the user has the "manager" role by filter.
-
VISIBLE
public static final SpaceListAccess.Type VISIBLE
Gets the spaces which are visible and not include these spaces hidden
-
UNIFIED_SEARCH
public static final SpaceListAccess.Type UNIFIED_SEARCH
Provides Unified Search to get the spaces which are visible and not include these spaces hidden
-
LASTEST_ACCESSED
public static final SpaceListAccess.Type LASTEST_ACCESSED
Provides SpaceNavigation to get the lastest spaces accessed
-
PENDING_REQUESTS
public static final SpaceListAccess.Type PENDING_REQUESTS
Provides Relationship of Users requesting to join a Space
-
VISITED
public static final SpaceListAccess.Type VISITED
Gets the spaces which are visited at least once
-
-
Method Detail
-
values
public static SpaceListAccess.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpaceListAccess.Type c : SpaceListAccess.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpaceListAccess.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-