com.xmlserv.app.news
Class Edition
java.lang.Object
|
+--com.xmlserv.app.news.Edition
- public class Edition
- extends java.lang.Object
An edition is a collection of News articles. It has a date associated with it as well as
a number of articles.
Constructor Summary |
Edition(java.sql.Connection con,
int id)
Open an existing Edition. |
Edition(int rolegroup)
Create a new Edition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Edition
public Edition(int rolegroup)
throws XMLServException
- Create a new Edition.
Edition
public Edition(java.sql.Connection con,
int id)
throws XMLServException
- Open an existing Edition.
save
public void save(java.sql.Connection con)
throws XMLServException
delete
public void delete(java.sql.Connection con)
throws XMLServException
- Delete this edition.
toElement
public org.jdom.Element toElement(java.sql.Connection con,
SecurityManager securityManager,
SecurityManager.User user,
boolean withContent)
throws XMLServException
list
public static org.jdom.Element list(java.sql.Connection con,
SecurityManager securityManager,
SecurityManager.User user,
boolean withContent)
throws XMLServException
clear
public void clear()
add
public void add(int article)
del
public void del(int article)
getId
public int getId()
getRolegroup
public int getRolegroup()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getDatum
public java.lang.String getDatum()
setDatum
public void setDatum(java.lang.String datum)