| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.beans.manytomany.ManyToManyBean
edu.jhu.tmaj.beans.manytomany.ProjectsArraySlidesBean
public final class ProjectsArraySlidesBean
Represents the ProjectsArraySlides table, a many-to-many table that links Projects to ArraySlides.
| Constructor Summary | |
|---|---|
| ProjectsArraySlidesBean() | |
| Method Summary | |
|---|---|
|  java.util.Set<java.lang.Integer> | getArraySlidesForProject(int projectID)Returns a Set of ArraySlideIDs of ArraySlides that are in the given project. | 
|  java.lang.String | getSQL()Returns a SQL statement that will initialize the bean with every record in the ManyToMany table | 
|  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 | isArraySlideInAnyProject(int arraySlideID)Returns true if the given ArraySlide has been assigned to one or more projects. | 
| Methods inherited from class edu.jhu.tmaj.beans.manytomany.ManyToManyBean | 
|---|
| getAllKey1s, getAllKey2s, getKeySetForKey, initialize, initialize, setKeySet, syncDatabase | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProjectsArraySlidesBean()
| Method Detail | 
|---|
public java.lang.String getSQL(int userID)
ManyToManyBean
getSQL in class ManyToManyBeanpublic java.lang.String getSQL()
ManyToManyBean
getSQL in class ManyToManyBeanpublic java.util.Set<java.lang.Integer> getArraySlidesForProject(int projectID)
public boolean isArraySlideInAnyProject(int arraySlideID)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||