org.kuali.rice.kns.lookup
Class HtmlData

java.lang.Object
  extended by org.kuali.rice.kns.lookup.HtmlData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HtmlData.AnchorHtmlData, HtmlData.InputHtmlData

public abstract class HtmlData
extends Object
implements Serializable

This class holds details of html data for an action url.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
static class HtmlData.AnchorHtmlData
          This class is an extension of HtmlData.
static class HtmlData.InputHtmlData
          This class is an extension of HtmlData.
static class HtmlData.MultipleAnchorHtmlData
           
 
Field Summary
static String ANCHOR_HTML_DATA_TYPE
           
protected  String appendDisplayText
           
private static BusinessObjectAuthorizationService businessObjectAuthorizationService
           
protected  List<HtmlData> childUrlDataList
           
protected  String displayText
           
static String INPUT_HTML_DATA_TYPE
           
protected static org.apache.log4j.Logger LOG
           
protected  String maxLength
           
protected  String methodToCall
           
protected  String name
           
protected  String prependDisplayText
           
protected  String title
           
 
Constructor Summary
HtmlData()
           
 
Method Summary
abstract  String constructCompleteHtmlTag()
          This method constructs the complete html tag based on the class attribute values.
 String getAppendDisplayText()
           
private static BusinessObjectAuthorizationService getBusinessObjectAuthorizationService()
           
 List<HtmlData> getChildUrlDataList()
           
 String getDisplayText()
           
 int getMaxLength()
           
 String getMethodToCall()
           
 String getName()
           
 String getPrependDisplayText()
           
 String getTitle()
           
 String getTitle(String prependText, Class bo, List keys)
           
static String getTitleText(String prependText, BusinessObject bo, List keys, BusinessObjectRestrictions businessObjectRestrictions)
          KFSMI-658 This method gets the title text for a link/control
static String getTitleText(String prependText, Class element, Map<String,String> keyValueMap)
           
 void setAppendDisplayText(String appendDisplayText)
           
 void setChildUrlDataList(List<HtmlData> childUrlDataList)
           
 void setDisplayText(String displayText)
           
 void setMaxLength(String maxLength)
           
 void setMethodToCall(String methodToCall)
           
 void setName(String name)
           
 void setPrependDisplayText(String prependDisplayText)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG

ANCHOR_HTML_DATA_TYPE

public static final String ANCHOR_HTML_DATA_TYPE

INPUT_HTML_DATA_TYPE

public static final String INPUT_HTML_DATA_TYPE

name

protected String name

title

protected String title

methodToCall

protected String methodToCall

displayText

protected String displayText

prependDisplayText

protected String prependDisplayText

appendDisplayText

protected String appendDisplayText

childUrlDataList

protected List<HtmlData> childUrlDataList

maxLength

protected String maxLength

businessObjectAuthorizationService

private static BusinessObjectAuthorizationService businessObjectAuthorizationService
Constructor Detail

HtmlData

public HtmlData()
Method Detail

constructCompleteHtmlTag

public abstract String constructCompleteHtmlTag()
This method constructs the complete html tag based on the class attribute values.

Returns:

getAppendDisplayText

public String getAppendDisplayText()
Returns:
the appendDisplayText

setAppendDisplayText

public void setAppendDisplayText(String appendDisplayText)
Parameters:
appendDisplayText - the appendDisplayText to set

getChildUrlDataList

public List<HtmlData> getChildUrlDataList()
Returns:
the childUrlDataList

setChildUrlDataList

public void setChildUrlDataList(List<HtmlData> childUrlDataList)
Parameters:
childUrlDataList - the childUrlDataList to set

getPrependDisplayText

public String getPrependDisplayText()
Returns:
the prependDisplayText

setPrependDisplayText

public void setPrependDisplayText(String prependDisplayText)
Parameters:
prependDisplayText - the prependDisplayText to set

getTitle

public String getTitle()
Returns:
the title

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getDisplayText

public String getDisplayText()
Returns:
the displayText

setDisplayText

public void setDisplayText(String displayText)
Parameters:
displayText - the displayText to set

getMethodToCall

public String getMethodToCall()
Returns:
the methodToCall

setMethodToCall

public void setMethodToCall(String methodToCall)
Parameters:
methodToCall - the methodToCall to set

getTitle

public String getTitle(String prependText,
                       Class bo,
                       List keys)

getTitleText

public static String getTitleText(String prependText,
                                  BusinessObject bo,
                                  List keys,
                                  BusinessObjectRestrictions businessObjectRestrictions)
KFSMI-658 This method gets the title text for a link/control

Parameters:
prependText -
bo -
fieldConversions -
returnKeys -
Returns:
title text

getBusinessObjectAuthorizationService

private static BusinessObjectAuthorizationService getBusinessObjectAuthorizationService()

getTitleText

public static String getTitleText(String prependText,
                                  Class element,
                                  Map<String,String> keyValueMap)

getMaxLength

public int getMaxLength()
Returns:
the maxLength

setMaxLength

public void setMaxLength(String maxLength)
Parameters:
maxLength - the maxLength to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.