planetj.html
Class AbstractOperationGenerator

java.lang.Object
  extended byplanetj.html.AbstractOperationGenerator
Direct Known Subclasses:
HTMLOperationGenerator

public abstract class AbstractOperationGenerator
extends java.lang.Object


Method Summary
static java.lang.StringBuffer appendEditOpQuickLink(Operation op, int spacesBeforeLink, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Convenience method to include an edit Op quick link for the given operation.
abstract  java.lang.StringBuffer appendOperationLink(Operation operation, java.lang.String styleClass, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Generates a link that will execute the given operation.
 boolean isDisplayEditOpLink(Operation operation, HttpServletRequest request)
          Check to see if edit operation quick link should be displayed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

appendEditOpQuickLink

public static java.lang.StringBuffer appendEditOpQuickLink(Operation op,
                                                           int spacesBeforeLink,
                                                           java.lang.StringBuffer html,
                                                           HttpServletRequest request,
                                                           HttpServletResponse response)
                                                    throws DataEngineException
Convenience method to include an edit Op quick link for the given operation.

Throws:
DataEngineException

appendOperationLink

public abstract java.lang.StringBuffer appendOperationLink(Operation operation,
                                                           java.lang.String styleClass,
                                                           java.lang.StringBuffer html,
                                                           HttpServletRequest request,
                                                           HttpServletResponse response)
                                                    throws CMException
Generates a link that will execute the given operation.

Throws:
CMException

isDisplayEditOpLink

public boolean isDisplayEditOpLink(Operation operation,
                                   HttpServletRequest request)
Check to see if edit operation quick link should be displayed.