edu.jhu.tmaj.beans.manytomany
Class PapersSessionsBean
java.lang.Object
edu.jhu.tmaj.beans.manytomany.ManyToManyBean
edu.jhu.tmaj.beans.manytomany.PapersSessionsBean
- All Implemented Interfaces:
- java.io.Serializable
public final class PapersSessionsBean
- extends ManyToManyBean
- implements java.io.Serializable
Represents the ManyToMany table PapersSessions. A Paper is simply a collection of published
Sessions.
- See Also:
- Serialized Form
Method Summary |
java.util.Set<java.lang.Integer> |
getSessionIDsForPaper(int paperID)
Returns the sessionIDs that are in the given Paper |
(package private) java.lang.String |
getSQL()
Returns a SQL statement that will initialize the bean with every record in the ManyToMany
table |
(package private) java.lang.String |
getSQL(int userID)
Returns a SQL statement that will initialize the bean with limited records for which the
user needs access |
boolean |
isSessionIDinPaper(int sessionID,
int paperID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PapersSessionsBean
public PapersSessionsBean()
getSQL
java.lang.String getSQL(int userID)
- Description copied from class:
ManyToManyBean
- Returns a SQL statement that will initialize the bean with limited records for which the
user needs access
- Specified by:
getSQL
in class ManyToManyBean
getSQL
java.lang.String getSQL()
- Description copied from class:
ManyToManyBean
- Returns a SQL statement that will initialize the bean with every record in the ManyToMany
table
- Specified by:
getSQL
in class ManyToManyBean
getSessionIDsForPaper
public java.util.Set<java.lang.Integer> getSessionIDsForPaper(int paperID)
- Returns the sessionIDs that are in the given Paper
isSessionIDinPaper
public boolean isSessionIDinPaper(int sessionID,
int paperID)