|
|||||||||||
| 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
|
+--edu.iu.iv.modeling.tarl.author.impl.DefaultAuthorUtility
This class extends the abstract class AbstractAuthorUtility. It uses the default representations of the standard interfaces to execute the methods.
Author,
AuthorGroup| Constructor Summary | |
DefaultAuthorUtility()
|
|
| 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 DefaultAuthorUtility()
| 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 | ||||||||||