atg.svc.repository.beans.methods
Class OrganizationValueMethods

java.lang.Object
  extended by atg.svc.repository.beans.methods.BaseMethods
      extended by atg.svc.repository.beans.methods.OrganizationValueMethods

public class OrganizationValueMethods
extends BaseMethods

Defines extension methods for the OrganizationValue object.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
OrganizationValueMethods()
           
 
Method Summary
 java.lang.String getDisplayName(atg.svc.repository.beans.OrganizationValue pOrganizationValue)
          Gets the display name of the OrganizationValue.
 boolean getIsVisible(atg.svc.repository.beans.OrganizationValue pOrganizationValue)
          Returns true if the property is visible for the current user.
 
Methods inherited from class atg.svc.repository.beans.methods.BaseMethods
getServiceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Constructor Detail

OrganizationValueMethods

public OrganizationValueMethods()
Method Detail

getIsVisible

public boolean getIsVisible(atg.svc.repository.beans.OrganizationValue pOrganizationValue)
Returns true if the property is visible for the current user.

Returns:
True if the property is visible for the current user.

getDisplayName

public java.lang.String getDisplayName(atg.svc.repository.beans.OrganizationValue pOrganizationValue)
Gets the display name of the OrganizationValue. The display name is calculated by first trying to lookup the organization in the profile repository to get its name and if it exists return it. Otherwise, the organizationName property is returned.

Parameters:
pOrganizationValue - The OrganizationValue to compute the display name for.
Returns:
The display name String.