WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.metrics.images
Class ImageReferencesAction

Object
  extended by ActionImpl
      extended by hirondelle.web4jtools.metrics.base.MetricsAction
          extended by hirondelle.web4jtools.metrics.images.ImageReferencesAction
All Implemented Interfaces:
Action

public class ImageReferencesAction
extends MetricsAction

List all images in the target project, along with all references to each image occurring in markup files. Any image having 0 references are candidates for removal from the project.


Field Summary
static RequestParameter ORDER
          Ascending or descending order.
static RequestParameter SORT_ON
          The column of the listing to sort on.
 
Fields inherited from class hirondelle.web4jtools.metrics.base.MetricsAction
fFileList
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
ImageReferencesAction(RequestParser aRequestParser)
          Full constructor.
 
Method Summary
protected  void calculateMetric()
          Show a sortable listing of images and the files that reference them.
 
Methods inherited from class hirondelle.web4jtools.metrics.base.MetricsAction
execute
 
Methods inherited from class ActionImpl
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SORT_ON

public static final RequestParameter SORT_ON
The column of the listing to sort on. See the sortLinks.tag file.


ORDER

public static final RequestParameter ORDER
Ascending or descending order. See the sortLinks.tag file.

Constructor Detail

ImageReferencesAction

public ImageReferencesAction(RequestParser aRequestParser)
Full constructor.

Method Detail

calculateMetric

protected void calculateMetric()
Show a sortable listing of images and the files that reference them. The default sort is by the number of references.

Specified by:
calculateMetric in class MetricsAction

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26