|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.team.ContainerTeamHelper
Selects the MyPageQueryable
s specified by the ContainerSpec
Supported API: true
Extendable: false
Nested Class Summary | |
private static class |
ContainerTeamHelper.MembershipClasses
|
Field Summary | |
static String |
ACCESS_GROUPS
Supported API: false |
static String |
ALL
|
private static String |
CLASSNAME
|
static String |
CONFIRMED
Supported API: false |
private static boolean |
DEBUG
|
static String |
DEFAULT_ROLE
Supported API: false |
static String |
GUEST
Supported API: false |
private static String |
INVALID_CHARACTERS_FOR_ROLE_NAME
|
static String |
INVITED
Supported API: false |
private static DebugWriter |
LOG
|
static String |
MEMBERSHIP_GROUPS
Supported API: false |
static String |
MY_PAGE_QUERYABLE
Supported API: false |
protected static String |
ORG_GROUP_SUFFIX
When the system generates an 'Organization' group, name of that group is set to the organization name + this constant. |
static String |
ORG_GROUPS
Supported API: false |
static String |
OTHER_GROUPS
Supported API: false |
private static String |
RESOURCE
|
static String |
ROLE_GROUPS
Supported API: false |
static ContainerTeamService |
service
Supported API: false |
static String |
USERS
Supported API: false |
private static boolean |
VERBOSE
|
private static int[] |
ZERO
|
Constructor Summary | |
ContainerTeamHelper()
|
Method Summary | |
private static String |
checkAccessToObject(AccessControlled object,
Locale locale)
|
static Role |
getDefaultRole()
Supported API: true |
static String |
getDisplayName(WTGroup group)
Deprecated. at 7.0 |
static String |
getDisplayName(WTGroup group,
Locale locale)
Supported API: false |
static QuerySpec |
getMembershipQuery(ContainerSpec spec)
Supported API: false |
protected static QuerySpec |
getMembershipQuery(ContainerSpec spec,
int membership_state)
|
static WhereExpression |
getWhereStateIs(ContainerTeamManagedState state)
Supported API: false |
static ContainerTeamManaged |
setAllowUserToConfigureAccess(ContainerTeamManaged container,
boolean allowUserToConfigureAccess)
Supported API: true |
static ContainerTeamManaged |
setContainerTeam(ContainerTeamManaged object,
ContainerTeam containerTeam)
Set the ContainerTeam of the ContainerTeamManaged object.. |
static ContainerTeamManaged |
setContainerTeam(ContainerTeamManaged object,
ContainerTeamReference ctRef)
Set the ContainerTeam of the ContainerTeamManaged object. |
static ContainerTeamManaged |
setRequireConfirmation(ContainerTeamManaged container,
boolean requireConfirmation)
Supported API: true |
static ContainerTeamManaged |
setSendInvitations(ContainerTeamManaged container,
boolean sendInvitations)
Supported API: true |
static void |
validateRoleName(String roleName)
Verify that the String representation of the role name does not contain any 'invalid' special characters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
protected static final String ORG_GROUP_SUFFIX
public static final String ACCESS_GROUPS
public static final String MEMBERSHIP_GROUPS
public static final String ROLE_GROUPS
public static final String ORG_GROUPS
public static final String OTHER_GROUPS
public static final String GUEST
public static final String CONFIRMED
public static final String USERS
public static final String INVITED
public static final String MY_PAGE_QUERYABLE
public static final String DEFAULT_ROLE
public static final ContainerTeamService service
private static final boolean DEBUG
private static final DebugWriter LOG
public static final String ALL
private static final int[] ZERO
private static boolean VERBOSE
private static String INVALID_CHARACTERS_FOR_ROLE_NAME
Constructor Detail |
public ContainerTeamHelper()
Method Detail |
public static QuerySpec getMembershipQuery(ContainerSpec spec) throws WTException
spec
-
WTException
public static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object, ContainerTeam containerTeam) throws WTException, WTPropertyVetoException
object
- the ContainerTeamManaged object whose containerTeam will be setcontainerTeam
- the containerTeam to be set on the ContainerTeamManaged object.
WTException
WTPropertyVetoException
public static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object, ContainerTeamReference ctRef) throws WTException, WTPropertyVetoException
object
- the ContainerTeamManaged object whose container team should be setctRef
- the ContainerTeamReference of the ContainerTeam that should be set on the ContainerTeamManaged object.
WTException
WTPropertyVetoException
public static String getDisplayName(WTGroup group)
group
-
public static String getDisplayName(WTGroup group, Locale locale)
group
- locale
-
public static void validateRoleName(String roleName) throws WTException
roleName
-
WTException
public static WhereExpression getWhereStateIs(ContainerTeamManagedState state) throws WTException
state
-
WTException
public static ContainerTeamManaged setRequireConfirmation(ContainerTeamManaged container, boolean requireConfirmation) throws WTException, WTPropertyVetoException
container
- requireConfirmation
-
WTException
WTPropertyVetoException
public static ContainerTeamManaged setSendInvitations(ContainerTeamManaged container, boolean sendInvitations) throws WTException, WTPropertyVetoException
container
- the ContainerTeamManaged object whose containerTeam will be setsendInvitations
- the containerTeam to be set on the ContainerTeamManaged object.
WTException
WTPropertyVetoException
public static ContainerTeamManaged setAllowUserToConfigureAccess(ContainerTeamManaged container, boolean allowUserToConfigureAccess) throws WTException, WTPropertyVetoException
container
- allowUserToConfigureAccess
-
WTException
WTPropertyVetoException
public static Role getDefaultRole()
protected static QuerySpec getMembershipQuery(ContainerSpec spec, int membership_state) throws WTException
WTException
private static String checkAccessToObject(AccessControlled object, Locale locale) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |