|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redhat.rhn.domain.action.ActionFormatter
public class ActionFormatter
ActionFormatter - Class that is responsible for properly formatting the fields on an Action object. This is so we can localize the output from certain fields as well as produce an HTML version for output on certain fields.
| Constructor Summary | |
|---|---|
ActionFormatter(Action actionIn)
Create an ActionFormatter with the associated Action. |
|
| Method Summary | |
|---|---|
protected Action |
getAction()
Get the Action for this Formatter |
java.lang.String |
getActionType()
Get the Action Type |
java.lang.String |
getEarliestDate()
Get the earliest date |
java.lang.String |
getName()
Get the Name of the Action |
java.lang.String |
getNotes()
Get an HTML version of the notes field |
protected java.lang.String |
getNotesBody()
No body for the default formatter |
protected java.lang.String |
getNotesHeader()
Get the first section of the Notes field |
java.lang.String |
getScheduler()
get the login of the scheduler User |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionFormatter(Action actionIn)
actionIn - the Action we associate with this Formatter| Method Detail |
|---|
protected Action getAction()
protected java.lang.String getNotesHeader()
protected java.lang.String getNotesBody()
public java.lang.String getNotes()
public java.lang.String getName()
public java.lang.String getActionType()
public java.lang.String getEarliestDate()
public java.lang.String getScheduler()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||