atg.svc.repository.beans.methods
Class OrganizationValueMethods
java.lang.Object
atg.svc.repository.beans.methods.BaseMethods
atg.svc.repository.beans.methods.OrganizationValueMethods
public class OrganizationValueMethods
- extends BaseMethods
Defines extension methods for the OrganizationValue object.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- See Also:
- Constant Field Values
OrganizationValueMethods
public OrganizationValueMethods()
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.