|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.core.AbstractDateStamped
org.davesag.generica.core.AbstractContent
org.davesag.generica.core.AbstractExtensibleContent
org.davesag.generica.core.AbstractText
org.davesag.generica.core.SiteCopy
The SiteCopy bean represents a component of textual data for
display on the site.
| Field Summary | |
protected String |
theSection
the site section name. |
| Fields inherited from class org.davesag.generica.core.AbstractText |
theAuthor, theText, theTitle |
| Fields inherited from class org.davesag.generica.core.AbstractExtensibleContent |
theMetaData |
| Fields inherited from class org.davesag.generica.core.AbstractContent |
theCountryCode, theLanguageCode |
| Fields inherited from class org.davesag.generica.core.AbstractDateStamped |
theCreated, theId, theLastModified |
| Constructor Summary | |
SiteCopy()
null constructor required by hibernate. |
|
SiteCopy(String title,
User author,
String text,
Locale loc)
Constructor that takes a title, author and text. |
|
SiteCopy(String title,
User author,
String text,
String lang)
Constructor that takes a title, author and text. |
|
| Method Summary | |
boolean |
equals(Object o)
Tests if the supplied object is equal to this SiteCopy. |
String |
getSection()
the section name. |
int |
hashcode()
the hashcode. |
void |
setSection(String section)
Set an associated section for this this piece of SiteCopy. |
String |
toString()
a simple string representation of the story. |
| Methods inherited from class org.davesag.generica.core.AbstractText |
getAuthor, getText, getTitle, setAuthor, setText, setTitle |
| Methods inherited from class org.davesag.generica.core.AbstractExtensibleContent |
addMetaData, getMetaData, getMetaData, removeMetaData, setMetaData |
| Methods inherited from class org.davesag.generica.core.AbstractContent |
getCountryCode, getLanguageCode, getLocale, setCountryCode, setLanguageCode, setLocale |
| Methods inherited from class org.davesag.generica.core.AbstractDateStamped |
getCreated, getId, getLastModified, setCreated, setId, setLastModified, setTemplateId |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.davesag.generica.core.DateStamped |
getCreated, getLastModified, setCreated, setLastModified |
| Field Detail |
protected String theSection
web.xml file.
| Constructor Detail |
public SiteCopy()
public SiteCopy(String title,
User author,
String text,
String lang)
title - The title of the Story.author - The User that wrote the story.text - The text of the story.lang - The ISO Language Code.
public SiteCopy(String title,
User author,
String text,
Locale loc)
title - The title of the Story.author - The User that wrote the story.text - The text of the story.loc - The ISO Language Code.| Method Detail |
public String getSection()
public void setSection(String section)
section - A section for this SiteCopy.public String toString()
toString in class AbstractContentpublic boolean equals(Object o)
equals in class AbstractTexto - The object to test against this SiteCopy. Must also be a
SiteCopy item to make sense.
public int hashcode()
hashcode in class AbstractContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||