com.ptc.netmarkets.library
Class SaveAsLibraryTemplateNavBarURLActionDelegate
java.lang.Object
wt.templateutil.processor.DefaultNavBarActionDelegate
wt.templateutil.processor.DefaultNavBarURLActionDelegate
com.ptc.netmarkets.library.SaveAsLibraryTemplateNavBarURLActionDelegate
- All Implemented Interfaces:
- ActionDelegate, NavBarActionDelegate, NavBarURLActionDelegate, URLActionDelegate
- public class SaveAsLibraryTemplateNavBarURLActionDelegate
- extends DefaultNavBarURLActionDelegate
- implements NavBarURLActionDelegate
Method Summary |
Boolean |
enableable(Object object)
Make sure the current user is an administrator
Supported API: false |
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. |
String |
URL(Object object)
Returns a URL which when selected will perform the action on the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jspURL
private static final String jspURL
- See Also:
- Constant Field Values
VERBOSE
private static final boolean VERBOSE
SaveAsLibraryTemplateNavBarURLActionDelegate
public SaveAsLibraryTemplateNavBarURLActionDelegate()
enableable
public Boolean enableable(Object object)
throws WTException
- Make sure the current user is an administrator
Supported API: false
- Specified by:
enableable
in interface ActionDelegate
- Overrides:
enableable
in class DefaultNavBarActionDelegate
- Parameters:
object
- The object that you wish to set enabled.
- Returns:
- Boolean
- Throws:
WTException
isURLProvider
public boolean isURLProvider(HashMap queryValueMap,
Object object)
- Description copied from interface:
NavBarURLActionDelegate
- Returns boolean flag indicating if the the current HashMap of name
values pairs from the QueryString was generated by the current NavBarURLActionDelegate.
Supported API: true
- Specified by:
isURLProvider
in interface NavBarURLActionDelegate
- Overrides:
isURLProvider
in class DefaultNavBarURLActionDelegate
- Parameters:
queryValueMap
- The Name-Value pairs from the Query Stringobject
- The target object used to generate the Url
- Returns:
- boolean
URL
public String URL(Object object)
throws WTException
- Description copied from interface:
URLActionDelegate
- Returns a URL which when selected will perform the action on the object.
This method should not be called when the concrete URLActionDelegate
class is unknown. In that case, call BasicTemplateProcessor.getURLFromDelegate()
instead.
Supported API: true
- Specified by:
URL
in interface URLActionDelegate
- Overrides:
URL
in class DefaultNavBarURLActionDelegate
- Parameters:
object
-
- Returns:
- String
- Throws:
WTException