|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.BasicWildfireNavBarActionDelegate
com.ptc.windchill.cadx.editattrs.EditAttributesActionDelegate
com.ptc.windchill.cadx.editattrs.EditAttributesURLActionDelegate
Supported API: false
Extendable: false
Field Summary | |
private String |
actionName
|
private static String |
CLASSNAME
|
private String |
classURL
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected NavBarURLActionDelegateHelper |
helper
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class com.ptc.windchill.cadx.editattrs.EditAttributesActionDelegate |
CONTEXT_SERVICE_NAME |
Fields inherited from class com.ptc.windchill.cadx.common.BasicWildfireNavBarActionDelegate |
state |
Fields inherited from interface wt.enterprise.URLActionDelegate |
ACTION_NAME, CLASS_URL |
Constructor Summary | |
EditAttributesURLActionDelegate()
|
Method Summary | |
private void |
actionNameValidate(String a_ActionName)
|
private void |
classURLValidate(String a_ClassURL)
|
String |
getActionName()
Gets the value of the attribute: actionName. |
String |
getClassURL()
Gets the value of the attribute: classURL. |
String |
getURLLabel(Locale locale)
Returns a localized label for a URL for the actions. |
boolean |
isURLProvider(HashMap queryValueMap,
Object object)
Returns boolean flag indicating if the the current HashMap of name values pairs from the QueryString was generated by the current NavBarURLActionDelegate. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(EditAttributesURLActionDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setActionName(String a_ActionName)
Sets the value of the attribute: actionName. |
void |
setClassURL(String a_ClassURL)
Sets the value of the attribute: classURL. |
void |
setMethod(String method)
Sets the method in URLAction to specify on the URL Supported API: false Supported API: false Supported API: false |
void |
setResourceBundleStr(String resourceBundle)
Sets the name of the fully qualified classname of the resource bundle to use. |
void |
setResourceKey(String key)
Sets the integer reference of the entry to use in the Resource Bundle specified be the getResourceBundleStr call Supported API: false Supported API: false Supported API: false |
void |
setState(HTTPState state)
Sets the current HTTPState from the TemplateProcessor that is being used to generate the Navigation Bar. |
String |
URL(Object object)
Returns a URL which when selected will perform the action on the object. |
String |
URL(Object object,
HTTPState state)
Returns a URL which, when selected, will perform the action on the object. |
private String |
URL(Object object,
String urlProcessor,
String methodName)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class com.ptc.windchill.cadx.editattrs.EditAttributesActionDelegate |
enableable, getContextServiceName, readVersion, setContextServiceName, valid |
Methods inherited from class com.ptc.windchill.cadx.common.BasicWildfireNavBarActionDelegate |
enableable, enableable, getContextWorkspace, getIsValidInInActive, getNeverInStandAlone, setContextWorkspace, setIsValidInInActive, setNeverInStandAlone |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String actionName
private String classURL
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
protected NavBarURLActionDelegateHelper helper
Constructor Detail |
public EditAttributesURLActionDelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class EditAttributesActionDelegate
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class EditAttributesActionDelegate
input
-
IOException
ClassNotFoundException
protected boolean readVersion(EditAttributesURLActionDelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getActionName()
getActionName
in interface URLActionDelegate
public void setActionName(String a_ActionName) throws WTPropertyVetoException
setActionName
in interface URLActionDelegate
setActionName
in class BasicWildfireNavBarActionDelegate
a_ActionName
-
WTPropertyVetoException
private void actionNameValidate(String a_ActionName) throws WTPropertyVetoException
a_ActionName
-
WTPropertyVetoException
public String getClassURL()
getClassURL
in interface URLActionDelegate
public void setClassURL(String a_ClassURL) throws WTPropertyVetoException
setClassURL
in interface URLActionDelegate
a_ClassURL
-
WTPropertyVetoException
private void classURLValidate(String a_ClassURL) throws WTPropertyVetoException
a_ClassURL
-
WTPropertyVetoException
public String URL(Object object) throws WTException
URL
in interface URLActionDelegate
object
-
WTException
public String URL(Object object, HTTPState state) throws WTException
URL
in interface WildfireURLActionDelegate
object
- state
-
WTException
public String getURLLabel(Locale locale)
getURLLabel
in interface URLActionDelegate
locale
-
public boolean isURLProvider(HashMap queryValueMap, Object object)
isURLProvider
in interface NavBarURLActionDelegate
queryValueMap
- The Name-Value pairs from the Query Stringobject
- The target object used to generate the Url
public void setResourceBundleStr(String resourceBundle)
setResourceBundleStr
in interface NavBarURLActionDelegate
resourceBundle
- The target resource bundle to use generate
localized label for the linkpublic void setResourceKey(String key)
setResourceKey
in interface NavBarURLActionDelegate
key
- The integer value of the key in the resource bundle
to use to generate localized label for the linkpublic void setMethod(String method)
setMethod
in interface NavBarURLActionDelegate
method
- Name of a Gateway Method from URLProcessorpublic void setState(HTTPState state)
setState
in interface NavBarURLActionDelegate
setState
in class BasicWildfireNavBarActionDelegate
state
- The current HTTPState.
private String URL(Object object, String urlProcessor, String methodName) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |