Пример #1
0
 /**
  * Removes the rule applying to the given People Container guid with the given filter string.
  *
  * @param filter filter string of the rule to be removed
  * @param guid guid of which the rule applies to
  * @exception UMSException Failure
  * @supported.api
  */
 public void removePeopleContainerRule(Guid guid, String filter) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   mt.removeRule(guid, filter);
 }
Пример #2
0
 /**
  * Sets the default People Container for user entries under the organization.
  *
  * @param guid guid of the default People Container
  * @exception UMSException Failure
  * @supported.api
  */
 public void setDefaultPeopleContainer(Guid guid) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   mt.setDefault(guid);
 }
Пример #3
0
 /**
  * Gets People Container associated with the user.
  *
  * @param user user object to lookup
  * @return guid identifying People Container associated with the user, null if no match found
  * @exception UMSException Failure
  */
 private String getPeopleContainer(User user) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   return mt.getPeopleContainer(user);
 }