com.ptc.windchill.enterprise.change2.tags
Class VarianceOwnerInitializeTag

java.lang.Object
  extended by SimpleTagSupport
      extended by com.ptc.windchill.enterprise.change2.tags.VarianceOwnerInitializeTag

public class VarianceOwnerInitializeTag
extends SimpleTagSupport

VarianceOwnerUserTag sets attributes of the varianceOwnerUserTag tag. The userFullName and userUFID are optional attribute.

Tag parameterDescriptionObject Type
userFullName Returns the variance owner's user Full Name java.lang.String
userUFID Returns the Variance Owner User's ufid java.lang.String


Supported API: true

Extendable: false


Method Summary
 void doTag()
          This is the required method to process the tag in the JSP page.
 String getUserFullName()
          Method to get the attribute representing the user full name.
 String getUserUFID()
          Method to get the user ufid attribute name.
protected  WTPrincipalReference getWTPrincipalReference()
          Method to get the varianceOwner from the current Variance object.
protected  WTVariance getWTVarianceObject()
          This method gets a Variance object and returns it.
 void setUserFullName(String s)
          Method to set the attribute name representing the user full name.
 void setUserUFID(String s)
          Method to set the user ufid attribute name

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUserFullName

public String getUserFullName()
Method to get the attribute representing the user full name.

Supported API: true

Returns:
The String value of the user full name

setUserFullName

public void setUserFullName(String s)
Method to set the attribute name representing the user full name.

Supported API: true

Parameters:
s - The full name of the user as a String

getUserUFID

public String getUserUFID()
Method to get the user ufid attribute name.

Supported API: true

Returns:
The String value of the user UFID

setUserUFID

public void setUserUFID(String s)
Method to set the user ufid attribute name

Supported API: true

Parameters:
s - The UFID of the user

getWTPrincipalReference

protected WTPrincipalReference getWTPrincipalReference()
                                                throws JspException
Method to get the varianceOwner from the current Variance object.

Supported API: true

Returns:
WTPrincipalReference is returned.
Throws:
JspException - Thrown if an exception has occurred.

getWTVarianceObject

protected WTVariance getWTVarianceObject()
                                  throws WTException
This method gets a Variance object and returns it.

Supported API: true

Returns:
The Variance object from the command bean
Throws:
A - WTException exception is thrown if processing of returning the Variance object fails
WTException

doTag

public void doTag()
           throws JspException
This is the required method to process the tag in the JSP page. If the page does not contain an instantiated com.ptc.netmarkets.util.beans.NmCommandBean object no JSP page attributes will be modified.

Supported API: true

Throws:
JspException - If an exception is raised during processing it will be wrapped into a JspException.