|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.inf.team.StandardContainerTeamService
Use the newStandardContainerTeamService
static factory method(s),
not the StandardContainerTeamService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardContainerTeamService()
|
Method Summary | |
private StatusInfo |
_processRefreshGroups()
|
private StatusInfo |
_recomputeAllCtmedObjects()
|
ContainerTeamManaged |
activate(ContainerTeamManaged container)
activate/start the ContainerTeamManaged object Supported API: true |
private Vector |
activateMember(WTPrincipal princ,
ContainerTeamManaged container,
Vector invitationsToSend)
|
private void |
addAdHocsForConfirmedWTOrg(WTOrganization usersOrg,
ContainerTeamManaged container)
|
private void |
addAdHocsForWTPrincipal(WTPrincipal principal,
ContainerTeamManaged container)
|
void |
addGuestMember(ContainerTeam team,
WTPrincipal principal)
This method adds the principal to guest group. |
void |
addMember(ContainerTeam team,
Role role,
WTPrincipal principal)
This method adds the user to the necessary groups in the containers that use the container team. |
private HashMap |
addPrincipalToHashMap(HashMap hash,
String role,
WTPrincipal principal)
|
private List |
addPrincipalToTeam(ContainerTeam team,
Role role,
WTPrincipal principal,
List containers)
|
private Vector |
addPrincipalToUserVector(Vector userVector,
WTPrincipal principal)
|
private void |
addToContainer(ContainerTeamManaged container,
Role role,
WTUser user,
WTOrganization org,
boolean emitEvent)
|
private void |
addUserToOrgGroup(WTUser user,
WTOrganization org,
ContainerTeamManaged container,
WTGroup group)
|
private void |
autoPopulateAdminRole(ContainerTeamManaged container,
Role role)
|
private Timestamp |
calculateScheduleTime(String time,
int day)
|
void |
confirmParticipation(ContainerTeamManaged container,
WTUser user)
Given a WTContainer object and a WTUser, record the fact that the user has confirmed they will be participating in the container. |
private ContainerTeam |
copyContainerTeam(ContainerTeam team,
String copyName,
AdminDomainRef domain,
boolean persist)
|
private WTGroup |
createAndOrGetGroup(ContainerTeamManaged container,
String nodeName,
String groupName)
|
ContainerTeamReference |
createContainerTeam(String name,
OrgContainer orgContainer,
String desc,
TeamCategory category)
Creates a new Container Team. |
private void |
createOrUpdateMyPageQueryableLink(ContainerTeamManaged container,
WTUser user,
boolean enabled)
|
private ProcessingQueue |
createQueue(String queue_name,
int queue_interval)
Creates, sets and starts processing queues. |
private void |
deleteMyPageQueryableLink(ContainerTeamManaged container,
WTUser user)
|
private void |
deletePreviousEntries(QueryResult entries)
|
protected void |
dispatchVetoableEvent(String eventType,
ContainerTeamManaged object,
WTUser replacedUser,
WTUser newUser,
ContainerTeamManagedState state,
boolean reassign)
|
private List |
findAHCObjects(WTContainer container,
WTPrincipalReference user_ref)
|
private List |
findContainersForTeam(ContainerTeam team)
|
WTGroup |
findContainerTeamGroup(ContainerTeamManaged container,
String searchBase,
String groupName)
This method returns a group stored in the container team ldap hiearchy. |
Enumeration |
findContainerTeamGroups(ContainerTeamManaged container,
String searchBase)
This method returns groups stored in the container team ldap hiearchy. |
private Set |
findContainerTeamManagedObjects(WTGroup principal)
|
private QueryResult |
findContainerTeamManagedObjects(WTUser user)
|
private Enumeration |
findExternalGroups(ContainerTeamManaged container)
|
private WTGroup |
findGroup(ContainerTeamManaged container,
String nodeName,
String groupName)
|
private QueryResult |
findPreviousEntries(String method_name)
Deletes a previous schedule entry for the method and target object specified. |
QueryResult |
findRolePrincipalMap(Role role,
WTPrincipal principal,
ContainerTeam containerTeam)
Based on the input parameters, return a QueryResult of RolePrincipalMap objects Supported API: false |
Enumeration |
findRoles(ContainerTeamReference containerTeamReference,
WTPrincipal principal)
Find all the roles which this principal is a member of in the container team. |
private Enumeration |
findRoles2(ContainerTeam team,
WTUser user)
|
private List |
findSubscriptions(WTContainer container,
WTUser user)
|
Enumeration |
findUsers(ContainerTeamManaged container)
Supported API: true |
void |
fixInternalOrgGroups(WTUser user)
Given a WTUser object this API will 'fix' the internal Org groups. |
private void |
fixInternalOrgGroups(WTUser user,
ContainerTeamManaged container)
|
String |
getConceptualClassname()
Deprecated. |
static Enumeration |
getContainerRootDomains(ObjectIdentifier containerOID,
boolean includeSystemDomain)
|
ContainerTeam |
getContainerTeam(ContainerTeamManaged container)
Returns the container team for the specified container. |
private DirectoryContextProvider |
getContextProvider(ContainerTeam team)
|
private DirectoryContextProvider |
getContextProvider(ContainerTeamManaged container,
String searchBase)
|
private String |
getDeletedTeamName(ContainerTeam team)
|
private InvitationTemplateProcessor |
getInvitationTemplateProcessor()
|
QueryResult |
getMembersOf(ContainerSpec spec,
int membership_state)
Returns the WTUser s that are members of the containers
specified by the ContainerSpec . |
private String |
getName(Object obj)
|
private DirectoryInfrastructureNode |
getNode(ContainerTeam team,
String name)
|
private ObjectIdentifier |
getOid(Object obj)
|
private WTOrganization |
getOrganization(WTUser user)
|
private String |
getOrgGroupName(WTOrganization o)
|
ProcessingQueue |
getRecomputeQueue()
|
private String |
getRoleGroupName(Role role)
|
private List |
getRoles(ContainerTeam team,
WTUser user)
|
private static ScheduleQueue |
getScheduleQueue()
|
private String |
getStringOfObjectIdentities(QueryResult qr)
|
private DirectorySubtree |
getSubtree(ContainerTeam team)
|
private DirectorySubtree |
getSubtree(ContainerTeamManaged container,
String nodeName)
|
static boolean |
getUseAllGroup()
|
private void |
handleDisabledWTGroup(WTGroup principal)
|
private void |
handleDisabledWTUser(WTUser principal)
|
private WTContainer |
hasCheckedOutObjs(List containers,
WTUser user)
Returns a container in the given list in which the has a checked out object; if there isn't a container in this situation, null is returned. |
ContainerTeamManaged |
inactivate(ContainerTeamManaged container,
ContainerTeamManagedState state)
inactivate/suspend the ContainerTeamManaged object Supported API: true |
private boolean |
isAccessNode(String nodeName)
|
boolean |
isConfirmedParticipant(ContainerTeamManaged container,
WTUser user)
Given a WTUser and a WTContainer return true/false - whether that user is a confirmed participant in that particular container. |
private boolean |
isContainerAdHocApplicable(Object target)
|
private boolean |
isContainerAdHocApplicable(WTContainer container)
|
private boolean |
isExplicitMember(ContainerTeam team,
WTPrincipal principal,
Role role)
|
boolean |
isMember(ContainerTeamManaged container,
WTUser user)
Given a WTUser and Container, return whether that user is a member of the container's team. |
private boolean |
isMember(ContainerTeam team,
WTPrincipal principal,
Role role)
|
private boolean |
isMemberOfTeam(ContainerTeam team,
WTGroup group)
|
private boolean |
isMemberOfTeam(ContainerTeam team,
WTUser user)
|
private boolean |
isObjectAdHocApplicable(Object target,
boolean enforcePredecessorCheck)
|
private boolean |
isPrincipalEquivOrNested(WTPrincipal principal,
WTPrincipal lookingFor)
|
private boolean |
isRole(ContainerTeam team,
Role role)
|
private boolean |
isUserEquivOrNested(WTPrincipalReference principalRef,
WTUser user)
|
private boolean |
isVirtuallyEmpty(WTGroup group)
|
private void |
markContainerTeamDeleted(ContainerTeamManaged container)
|
private void |
markContainerTeamRestored(ContainerTeamManaged container)
|
private void |
markSelectedTeamsAsRefreshed(long[] oids)
|
private void |
markTeamsToBeRefreshed(WTGroup group)
|
static StandardContainerTeamService |
newStandardContainerTeamService()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
private void |
populateMyPageQueryable(ContainerTeamManaged container,
WTUser user,
Role role)
|
static StatusInfo |
processRefreshGroups()
|
private void |
queuePeriodicRecompute()
|
private void |
queueTeamsNeedingRefresh()
|
private void |
reassignPermission(AdHocControlled ahc_obj,
WTPrincipalReference old_user_ref,
WTPrincipalReference new_user_ref)
|
private void |
reassignPermissions(ContainerTeamManaged container,
WTUser old_user,
WTUser new_user)
|
private void |
reassignSubscription(ObjectSubscription subscription,
WTUser old_user,
WTUser new_user)
|
private void |
reassignSubscriptions(ContainerTeamManaged container,
WTUser old_user,
WTUser new_user)
|
private void |
recompute(ContainerTeamManaged container)
|
static void |
recompute(ObjectIdentifier container_obj_id)
|
static StatusInfo |
recomputeAllCtmedObjects()
|
void |
recomputeMembership(ContainerTeamManaged container)
Synchs the ContainerTeamMembership with the LDAP groups. |
private void |
recomputeMembership(ObjectIdentifier oid)
|
void |
recomputeMembership(WTGroup group)
Synchs the ContainerTeamMembership with the LDAP groups. |
protected void |
registerAsListener()
Register as a listener for dispatched events. |
void |
registerEvents()
|
private void |
removeAdHocsForConfirmedOrg(WTOrganization usersOrg,
ContainerTeamManaged container)
|
private void |
removeAdHocsForExternalGroup(WTGroup group,
ContainerTeamManaged container)
|
private void |
removeAdHocsForUser(WTUser user,
ContainerTeamManaged container)
|
private void |
removeFromContainer(ContainerTeamManaged container,
Role role,
WTUser user,
WTOrganization org,
boolean emitEvent,
boolean autoPopAdminGroup)
|
private void |
removeFromContainerInternals(ContainerTeamManaged container,
WTUser user,
WTOrganization org,
boolean emitEvent)
|
void |
removeGuestMember(ContainerTeam team,
WTPrincipal principal)
This method removes the principal from the guest group. |
void |
removeMember(ContainerTeam team,
Role role,
WTPrincipal principal)
This method removed the user from the necessary groups in the containers that use the container team. |
private void |
removePrincipalFromTeam(ContainerTeam team,
Role role,
WTPrincipal principal)
|
void |
removeRole(ContainerTeam team,
Role role)
This method removes the user participating in the role from the necessary groups in the containers that use the container team. |
private void |
removeUserFromOrgGroup(WTUser user,
WTOrganization org,
ContainerTeamManaged container,
WTGroup group)
|
private void |
removeWTPrincipalAdHocs(ContainerTeamManaged container)
|
static void |
removeWTPrincipalAdHocs(ObjectIdentifier oid)
Used for queued processing of deleted containers Supported API: false |
private void |
renameLDAPnode(ContainerTeamManaged container)
|
static void |
renameLDAPnode(ObjectIdentifier oid)
Used for queued processing of deleted and restored containers Supported API: false |
void |
replaceUser(ContainerTeamReference teamReference,
WTUser replacedUser,
WTUser newUser,
boolean reassign)
Deprecated. |
void |
replaceUser(ContainerTeamReference teamReference,
WTUser replacedUser,
WTUser newUser,
boolean reassign,
boolean removed)
Replace the user in all containers that use the container team. |
private void |
sendInvite(ContainerTeamManaged container,
WTUser invitee,
WTUser replacedUser)
|
private void |
sendReplaceInvitation(List containers,
WTUser new_user,
WTUser old_user)
|
WTContained |
setDefaultAdHocAcl(ContainerTeamManaged container,
WTContained contained)
Supported API: false |
private WTCollection |
setDefaultAdHocAcl(Folder location,
WTCollection collection)
|
private WTCollection |
setDefaultAdHocAcl(WTCollection collection)
|
AdHocControlled |
setPrincipalAdHocAcl(ContainerTeamManaged container,
AdHocControlled per,
Vector perms,
WTPrincipal principal)
Set the ad-hoc access rights for a given user or group. |
AdHocControlled |
setRoleAdHocAcl(ContainerTeamManaged container,
AdHocControlled per,
Vector perms,
String roleName)
Set the ad-hoc access rights for a given role in the container's team. |
private String |
showList(List list)
|
private void |
terminateProcesses(Enumeration enum)
|
private void |
undoCheckouts(List containers,
WTUser user)
|
private void |
updateContainerTeamName(WTContainer container)
|
private QueryResult |
whereUsed(ContainerTeam team)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static StandardContainerTeamService service
private static final String RECOMPUTE_MEMBERSHIP_QUEUE_NAME
private ProcessingQueue ctmdRecomputeMembershipQueue
private static final boolean USE_RECOMPUTE_QUEUE
private static final int RECOMPUTE_QUEUE_INTERVAL
private static ScheduleQueue ctScheduleQueue
private static final String SCHEDULE_QUEUE_NAME
private static final boolean USE_SCHEDULED_RECOMPUTE
private static final int RECOMPUTE_MEMBERSHIP_QUEUE_DAY
private static final String RECOMPUTE_MEMBERSHIP_QUEUE_TIME
private static final boolean USE_SCHEDULED_REFRESH_GROUPS
private static final String REFRESH_GROUPS_QUEUE_TIME
private static final String TOP_CLASS
private static final boolean DEBUG
private static final DebugWriter LOG
private static final boolean VERBOSE
private static final String SERVICE_NAME
private static final String DEFAULT_SENDER_EMAIL
private static final Vector ALL_PERMISSION
private static final boolean WTUSERS_USE_ACCESSPOLICYRULES
private static final boolean USE_ALL_GROUP
private static final Vector READ_PERMISSION
public static final Object FORCE_USER_REMOVE
Constructor Detail |
public StandardContainerTeamService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardContainerTeamService newStandardContainerTeamService() throws WTException
WTException
public boolean isConfirmedParticipant(ContainerTeamManaged container, WTUser user) throws WTException
isConfirmedParticipant
in interface ContainerTeamServiceSvr
container
- The container of interest.user
- The WTUser of interest.
WTException
public Enumeration findRoles(ContainerTeamReference containerTeamReference, WTPrincipal principal) throws WTException
findRoles
in interface ContainerTeamServiceSvr
containerTeamReference
- The container to search for the user's roles.principal
- The principal to search for membership in roles.
WTException
public boolean isMember(ContainerTeamManaged container, WTUser user) throws WTException
isMember
in interface ContainerTeamServiceSvr
container
- The container to search for membership of user.user
- The user to determine membership of.
WTException
public Enumeration findUsers(ContainerTeamManaged container) throws WTException
findUsers
in interface ContainerTeamServiceSvr
container
-
WTException
public void fixInternalOrgGroups(WTUser user) throws WTException
fixInternalOrgGroups
in interface ContainerTeamServiceSvr
user
-
WTException
public void confirmParticipation(ContainerTeamManaged container, WTUser user) throws WTException
confirmParticipation
in interface ContainerTeamService
container
- user
- The user that is confirming participation in the project
WTException
public WTContained setDefaultAdHocAcl(ContainerTeamManaged container, WTContained contained) throws WTException, ClassNotFoundException
setDefaultAdHocAcl
in interface ContainerTeamService
container
- contained
-
WTException
ClassNotFoundException
public ContainerTeamReference createContainerTeam(String name, OrgContainer orgContainer, String desc, TeamCategory category) throws WTException
createContainerTeam
in interface ContainerTeamService
name
- The name of the container team.orgContainer
- The OrgContainer where the container is being created.desc
- A description of the container team.category
- Enumerated TeamCategory value.
WTException
public void addMember(ContainerTeam team, Role role, WTPrincipal principal) throws WTException
addMember
in interface ContainerTeamService
team
- The team where the participant should be added to the specified role.role
- The role where the participant will be added as a team member.principal
- The principal to be added to the role in the team.
WTException
public void removeMember(ContainerTeam team, Role role, WTPrincipal principal) throws WTException
removeMember
in interface ContainerTeamService
team
- The team where the participant should be removed from the specified role.role
- The role where the participant will be removed as a team member.principal
- The principal to be removed from the role in the team.
WTException
public void removeRole(ContainerTeam team, Role role) throws WTException
removeRole
in interface ContainerTeamService
team
- The team where the role and should be removed. Participants who do not belong to additional roles in the team will be removed completely from the container team.role
- The role that should be removed from the team.
WTException
public void replaceUser(ContainerTeamReference teamReference, WTUser replacedUser, WTUser newUser, boolean reassign) throws WTException
replaceUser
in interface ContainerTeamService
teamReference
- A reference to the ContainerTeam where the user should be replaced.replacedUser
- The user being replaced.newUser
- The user taking the place of the replaced user.reassign
- A flag that indicates whether or not ad hoc acls and object subscriptions should be assigned to the new user.
WTException
public void recomputeMembership(ContainerTeamManaged container) throws WTException
recomputeMembership
in interface ContainerTeamService
container
- The container that should be synched with the team.
WTException
public void recomputeMembership(WTGroup group) throws WTException
recomputeMembership
in interface ContainerTeamService
group
-
WTException
public ContainerTeamManaged inactivate(ContainerTeamManaged container, ContainerTeamManagedState state) throws WTException
inactivate
in interface ContainerTeamService
container
- the containerTeamManaged object to be inactiviated/suspendedstate
- the ContainerTeamManagedState that the inactivated container should be set to
WTException
public ContainerTeamManaged activate(ContainerTeamManaged container) throws WTException
activate
in interface ContainerTeamService
container
- the ContainerTeamManaged object to be activated/started
WTException
public QueryResult findRolePrincipalMap(Role role, WTPrincipal principal, ContainerTeam containerTeam) throws WTException
findRolePrincipalMap
in interface ContainerTeamService
role
- principal
- containerTeam
-
WTException
public Enumeration findContainerTeamGroups(ContainerTeamManaged container, String searchBase) throws WTException
findContainerTeamGroups
in interface ContainerTeamService
container
- searchBase
-
WTException
public ContainerTeam getContainerTeam(ContainerTeamManaged container) throws WTException
getContainerTeam
in interface ContainerTeamService
container
- The container of interest.
WTException
public WTGroup findContainerTeamGroup(ContainerTeamManaged container, String searchBase, String groupName) throws WTException
findContainerTeamGroup
in interface ContainerTeamService
container
- searchBase
- groupName
-
WTException
public QueryResult getMembersOf(ContainerSpec spec, int membership_state) throws WTException
WTUser
s that are members of the containers
specified by the ContainerSpec
.
getMembersOf
in interface ContainerTeamService
spec
- Defines the set of containers to search inmembership_state
- The membership state of the users that are returned. This is one of the membership state constants defined in ContainerSpec
.
WTException
ContainerSpec
public void addGuestMember(ContainerTeam team, WTPrincipal principal) throws WTException
addGuestMember
in interface ContainerTeamService
team
- The team where the participant should be added to the specified role.principal
- The principal to be added to the role in the team.
WTException
public void removeGuestMember(ContainerTeam team, WTPrincipal principal) throws WTException
removeGuestMember
in interface ContainerTeamService
team
- The team where the participant should be removed from the specified role.principal
- The principal to be removed from the role in the team.
WTException
public void replaceUser(ContainerTeamReference teamReference, WTUser replacedUser, WTUser newUser, boolean reassign, boolean removed) throws WTException
replaceUser
in interface ContainerTeamService
teamReference
- A reference to the ContainerTeam where the user should be replaced.replacedUser
- The user being replaced.newUser
- The user taking the place of the replaced user.reassign
- A flag that indicates whether or not ad hoc acls and object subscriptions should be assigned to the new user.removed
- This should be true if this was called as a result of the user being removed from the container. This boolean is needed to determine the message to display if the user cannot be removed due to checked out objects.
WTException
public AdHocControlled setRoleAdHocAcl(ContainerTeamManaged container, AdHocControlled per, Vector perms, String roleName) throws WTException
setRoleAdHocAcl
in interface ContainerTeamService
container
- The Container for which the object is located in and for which to get the role from.per
- The object to set access on.perms
- a list of wt.access.AccessPermissions to grant to the role. If MODIFY is specified, a READ permission will be implicitly added as well. If the list is empty, all permissions will be removed for the role.roleName
- The role name that is used to find the container's role. Example, for out-of-the box roles, pass is all upper-case forms of the role name in english: "MANUFACTURER". For custom roles, pass in the string exactly as entered in the modify team ui: "my Custom Role".
WTException
public AdHocControlled setPrincipalAdHocAcl(ContainerTeamManaged container, AdHocControlled per, Vector perms, WTPrincipal principal) throws WTException
setPrincipalAdHocAcl
in interface ContainerTeamService
container
- The Container for which the object is located in and for which to get the role from.per
- The object to set access on.perms
- a list of wt.access.AccessPermissions to grant to the role. If MODIFY is specified, a READ permission will be implicitly added as well. If the list is empty, all permissions will be removed for the role.principal
- The user or group that is getting the new access level.
WTException
protected void performStartupProcess() throws ManagerException
StandardManager
performStartupProcess
in class StandardManager
ManagerException
protected void registerAsListener() throws ManagerException
ManagerException
public void registerEvents()
protected void dispatchVetoableEvent(String eventType, ContainerTeamManaged object, WTUser replacedUser, WTUser newUser, ContainerTeamManagedState state, boolean reassign) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private boolean isContainerAdHocApplicable(Object target) throws WTException
WTException
private boolean isContainerAdHocApplicable(WTContainer container)
private boolean isObjectAdHocApplicable(Object target, boolean enforcePredecessorCheck)
private QueryResult whereUsed(ContainerTeam team) throws WTException
WTException
public static final void removeWTPrincipalAdHocs(ObjectIdentifier oid) throws WTException
oid
- The oid of the container of interest.
WTException
private void removeWTPrincipalAdHocs(ContainerTeamManaged container) throws WTException
WTException
private void handleDisabledWTUser(WTUser principal) throws WTException
WTException
private void handleDisabledWTGroup(WTGroup principal) throws WTException
WTException
private void autoPopulateAdminRole(ContainerTeamManaged container, Role role) throws WTException
WTException
private void markContainerTeamDeleted(ContainerTeamManaged container) throws WTException
WTException
private void markContainerTeamRestored(ContainerTeamManaged container) throws WTException
WTException
private ContainerTeam copyContainerTeam(ContainerTeam team, String copyName, AdminDomainRef domain, boolean persist) throws WTException
WTException
private List addPrincipalToTeam(ContainerTeam team, Role role, WTPrincipal principal, List containers) throws WTException
WTException
private void addToContainer(ContainerTeamManaged container, Role role, WTUser user, WTOrganization org, boolean emitEvent) throws WTException
WTException
private Vector activateMember(WTPrincipal princ, ContainerTeamManaged container, Vector invitationsToSend) throws WTException
WTException
private void populateMyPageQueryable(ContainerTeamManaged container, WTUser user, Role role) throws WTException
WTException
private void createOrUpdateMyPageQueryableLink(ContainerTeamManaged container, WTUser user, boolean enabled) throws WTException
WTException
private void addUserToOrgGroup(WTUser user, WTOrganization org, ContainerTeamManaged container, WTGroup group) throws WTException
WTException
private void addAdHocsForWTPrincipal(WTPrincipal principal, ContainerTeamManaged container) throws WTException
WTException
private void addAdHocsForConfirmedWTOrg(WTOrganization usersOrg, ContainerTeamManaged container) throws WTException
WTException
private void removePrincipalFromTeam(ContainerTeam team, Role role, WTPrincipal principal) throws WTException
WTException
private void removeFromContainer(ContainerTeamManaged container, Role role, WTUser user, WTOrganization org, boolean emitEvent, boolean autoPopAdminGroup) throws WTException
WTException
private boolean isVirtuallyEmpty(WTGroup group) throws WTException
WTException
private void removeFromContainerInternals(ContainerTeamManaged container, WTUser user, WTOrganization org, boolean emitEvent) throws WTException
WTException
private void removeUserFromOrgGroup(WTUser user, WTOrganization org, ContainerTeamManaged container, WTGroup group) throws WTException
WTException
private void deleteMyPageQueryableLink(ContainerTeamManaged container, WTUser user) throws WTException
WTException
private void removeAdHocsForUser(WTUser user, ContainerTeamManaged container) throws WTException
WTException
private void removeAdHocsForConfirmedOrg(WTOrganization usersOrg, ContainerTeamManaged container) throws WTException
WTException
private void removeAdHocsForExternalGroup(WTGroup group, ContainerTeamManaged container) throws WTException
WTException
private List getRoles(ContainerTeam team, WTUser user) throws WTException
WTException
private WTContainer hasCheckedOutObjs(List containers, WTUser user) throws WTException
WTException
private void undoCheckouts(List containers, WTUser user) throws WTException
WTException
private void reassignSubscriptions(ContainerTeamManaged container, WTUser old_user, WTUser new_user) throws WTException
WTException
private List findSubscriptions(WTContainer container, WTUser user) throws WTException
WTException
private void reassignSubscription(ObjectSubscription subscription, WTUser old_user, WTUser new_user) throws WTException
WTException
private void reassignPermissions(ContainerTeamManaged container, WTUser old_user, WTUser new_user) throws WTException
WTException
private List findAHCObjects(WTContainer container, WTPrincipalReference user_ref) throws WTException
WTException
private void reassignPermission(AdHocControlled ahc_obj, WTPrincipalReference old_user_ref, WTPrincipalReference new_user_ref) throws WTException
WTException
public ProcessingQueue getRecomputeQueue() throws WTException
WTException
private ProcessingQueue createQueue(String queue_name, int queue_interval) throws WTException
queue_name
- - queue namequeue_interval
- - queue polling interval
WTException
public static void recompute(ObjectIdentifier container_obj_id) throws WTException
WTException
private void recompute(ContainerTeamManaged container) throws WTException
WTException
private void queuePeriodicRecompute() throws WTException
WTException
private void queueTeamsNeedingRefresh() throws WTException
WTException
private QueryResult findPreviousEntries(String method_name) throws WTException
This is to prevent multiple triggering of the same method.
WTException
private void deletePreviousEntries(QueryResult entries) throws WTException
WTException
private static ScheduleQueue getScheduleQueue() throws WTException
WTException
public static StatusInfo recomputeAllCtmedObjects() throws WTException
WTException
private StatusInfo _recomputeAllCtmedObjects() throws WTException
WTException
public static StatusInfo processRefreshGroups() throws WTException
WTException
private StatusInfo _processRefreshGroups() throws WTException
WTException
private Timestamp calculateScheduleTime(String time, int day)
private HashMap addPrincipalToHashMap(HashMap hash, String role, WTPrincipal principal) throws WTException
WTException
private Vector addPrincipalToUserVector(Vector userVector, WTPrincipal principal) throws WTException
WTException
private void fixInternalOrgGroups(WTUser user, ContainerTeamManaged container) throws WTException
WTException
private void sendInvite(ContainerTeamManaged container, WTUser invitee, WTUser replacedUser) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private InvitationTemplateProcessor getInvitationTemplateProcessor()
private void sendReplaceInvitation(List containers, WTUser new_user, WTUser old_user)
private QueryResult findContainerTeamManagedObjects(WTUser user) throws WTException
WTException
private boolean isExplicitMember(ContainerTeam team, WTPrincipal principal, Role role) throws WTException
WTException
private boolean isMember(ContainerTeam team, WTPrincipal principal, Role role) throws WTException
WTException
private boolean isRole(ContainerTeam team, Role role) throws WTException
WTException
private boolean isMemberOfTeam(ContainerTeam team, WTGroup group) throws WTException
WTException
private boolean isMemberOfTeam(ContainerTeam team, WTUser user) throws WTException
WTException
private Enumeration findExternalGroups(ContainerTeamManaged container) throws WTException
WTException
private WTGroup createAndOrGetGroup(ContainerTeamManaged container, String nodeName, String groupName) throws WTException
WTException
private WTGroup findGroup(ContainerTeamManaged container, String nodeName, String groupName) throws WTException
WTException
private DirectoryContextProvider getContextProvider(ContainerTeamManaged container, String searchBase) throws WTException
WTException
private DirectoryContextProvider getContextProvider(ContainerTeam team) throws WTException
WTException
private DirectorySubtree getSubtree(ContainerTeam team) throws WTException
WTException
private DirectorySubtree getSubtree(ContainerTeamManaged container, String nodeName) throws WTException
WTException
private boolean isAccessNode(String nodeName)
private String getRoleGroupName(Role role) throws WTException
WTException
private String getOrgGroupName(WTOrganization o) throws WTException
WTException
private Set findContainerTeamManagedObjects(WTGroup principal) throws WTException
WTException
private List findContainersForTeam(ContainerTeam team) throws WTException
WTException
private WTOrganization getOrganization(WTUser user) throws WTException
WTException
private ObjectIdentifier getOid(Object obj) throws WTException
WTException
private String getStringOfObjectIdentities(QueryResult qr) throws WTException
WTException
private Enumeration findRoles2(ContainerTeam team, WTUser user) throws WTException
WTException
private boolean isUserEquivOrNested(WTPrincipalReference principalRef, WTUser user) throws WTException
WTException
private boolean isPrincipalEquivOrNested(WTPrincipal principal, WTPrincipal lookingFor) throws WTException
WTException
private String showList(List list) throws WTException
WTException
private String getName(Object obj) throws WTException
WTException
private void updateContainerTeamName(WTContainer container) throws WTException
WTException
public static final void renameLDAPnode(ObjectIdentifier oid) throws WTException
oid
- The oid of the container of interest.
WTException
private void renameLDAPnode(ContainerTeamManaged container) throws WTException
WTException
private String getDeletedTeamName(ContainerTeam team)
private DirectoryInfrastructureNode getNode(ContainerTeam team, String name) throws WTException
WTException
private void terminateProcesses(Enumeration enum) throws WTException
WTException
public static boolean getUseAllGroup()
private WTCollection setDefaultAdHocAcl(WTCollection collection) throws WTException, ClassNotFoundException
WTException
ClassNotFoundException
private WTCollection setDefaultAdHocAcl(Folder location, WTCollection collection) throws WTException, ClassNotFoundException
WTException
ClassNotFoundException
private void recomputeMembership(ObjectIdentifier oid) throws WTException
WTException
private void markSelectedTeamsAsRefreshed(long[] oids) throws WTException
WTException
private void markTeamsToBeRefreshed(WTGroup group) throws WTException
WTException
public static Enumeration getContainerRootDomains(ObjectIdentifier containerOID, boolean includeSystemDomain) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |