atg.svc.ui.util
Class PropertyFormatter.StatementValueFormatter

java.lang.Object
  extended by atg.svc.ui.util.PropertyFormatter.StatementValueFormatter
All Implemented Interfaces:
PropertyFormatter.ValueFormatter
Enclosing class:
PropertyFormatter

protected class PropertyFormatter.StatementValueFormatter
extends java.lang.Object
implements PropertyFormatter.ValueFormatter


Constructor Summary
protected PropertyFormatter.StatementValueFormatter()
           
 
Method Summary
 java.lang.String format(Solution pSolution, java.lang.String pPropertyName, java.lang.Object pPropertyValue)
           
 java.lang.String format(java.lang.String pPropertyName, java.lang.Object pPropertyValue)
          Deprecated. Use format(Solution, String, Object) NOTE: If you use this method, you must disable attachment security checking based on the user's ability to view the solution the attachment is contained in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFormatter.StatementValueFormatter

protected PropertyFormatter.StatementValueFormatter()
Method Detail

format

public java.lang.String format(java.lang.String pPropertyName,
                               java.lang.Object pPropertyValue)
                        throws SvcException
Deprecated. Use format(Solution, String, Object) NOTE: If you use this method, you must disable attachment security checking based on the user's ability to view the solution the attachment is contained in.

Specified by:
format in interface PropertyFormatter.ValueFormatter
Parameters:
pPropertyName - Name of the solution property
pPropertyValue - The text value of the statement property
Throws:
SvcException
See Also:
WARNING: Disabling security will make the attachment visible to users that are unable to access the solution containing the attachment.

format

public java.lang.String format(Solution pSolution,
                               java.lang.String pPropertyName,
                               java.lang.Object pPropertyValue)
                        throws SvcException
Throws:
SvcException