|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.author.AbstractAuthorUtility
This abstract class defines the functions in order to filter
Authors based on their attributes. Some of the functions that
it fulfils are filtering based on the Topic and whether he/she
is active.
Author,
AuthorGroup| Constructor Summary | |
AbstractAuthorUtility()
|
|
| Method Summary | |
static AuthorGroup |
filterOnTopicEquality(AuthorGroup authorGroup,
Topic topic)
Filters based on the Topic of Author on the
conditions of equality with the specified Topic. |
static AuthorGroup |
getAllActiveAuthors(AuthorGroup authorGroup)
Filters out Authors that are deactivated. |
static java.util.Collection |
partitionOnTopic(AuthorGroup authorGroup)
Partitions the Authors on the basis of Topic.
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractAuthorUtility()
| Method Detail |
public static AuthorGroup filterOnTopicEquality(AuthorGroup authorGroup,
Topic topic)
Topic of Author on the
conditions of equality with the specified Topic. It
returns a group of all the Authors which have the
specified Topic.
authorGroup - Specifies the group of authors on which to apply the filtertopic - Specifies the topic of author to be equated against
public static AuthorGroup getAllActiveAuthors(AuthorGroup authorGroup)
Authors that are deactivated. It returns a
group of all the Authors which are active.
authorGroup - Specifies the group of authors on which to apply the filter
public static java.util.Collection partitionOnTopic(AuthorGroup authorGroup)
Authors on the basis of Topic.
The method returns a Collection of
AuthorsTopicBuckets each with a diferent
Topic.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||