com.ptc.windchill.uwgm.common.container
Class OrganizationHelper

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.container.OrganizationHelper

public class OrganizationHelper
extends Object

Retrieve organization information


Field Summary
private static Log log
          logging
 
Constructor Summary
private OrganizationHelper()
           
 
Method Summary
 WTPrincipalReference getUserOrganizationReference(WTPrincipal principal)
          returns user's organization reference
static void setOrganizationInfo(WTCollection docs)
          Make sure the Organization information is properly set for each document in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log
logging

Constructor Detail

OrganizationHelper

private OrganizationHelper()
Method Detail

getUserOrganizationReference

public WTPrincipalReference getUserOrganizationReference(WTPrincipal principal)
                                                  throws WTException
returns user's organization reference

Parameters:
principal - WTPrincipal
Returns:
WTPrincipalReference Organization reference
Throws:
WTException

setOrganizationInfo

public static void setOrganizationInfo(WTCollection docs)
                                throws WTException
Make sure the Organization information is properly set for each document in the collection.

Parameters:
docs - Collection of EPMDocument objects
Throws:
WTException