|
|||||||||||
| 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.impl.DefaultAuthorManager
This class defines a default implementation to the AuthorManagerInterface. It utilizes the default implementations of the standard interfaces to achieve its cause.
DefaultAuthorDatabase,
DefaultAuthorUtility,
AuthorManager| Constructor Summary | |
DefaultAuthorManager()
Creates a new instance of the AuthorManager |
|
| Method Summary | |
void |
addAuthor(Topic topic)
Adds an Author to the environment with the specified Topic. |
void |
cleanUpAuthor()
Cleans up the Author environment. |
AuthorGroup |
getAuthors()
Returns the group of Authors. |
void |
initializeAuthors(AuthorParameters authorParameters)
Initializes the Author environment to enable various operations on the Authors |
java.util.Collection |
partitionActiveAuthors()
Returns the Collection of AuthorsTopicBuckets. |
void |
terminateCurrentYear()
Terminates the current year for the Author environment. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultAuthorManager()
AuthorManager
| Method Detail |
public void initializeAuthors(AuthorParameters authorParameters)
Author environment to enable various operations on the Authors
initializeAuthors in interface AuthorManagerauthorParameters - Specifies the model parameters related to authors
public void addAuthor(Topic topic)
throws TarlException
Author to the environment with the specified Topic.
addAuthor in interface AuthorManagertopic - Specifies the topic for the author
TarlException - if the specified parameters are insufficient to construct an authorpublic java.util.Collection partitionActiveAuthors()
Collection of AuthorsTopicBuckets.
partitionActiveAuthors in interface AuthorManagerpublic void terminateCurrentYear()
Author environment. The function should take the necessary steps that should be taken when the current year ends (for example, notifying authors about year termination).
terminateCurrentYear in interface AuthorManagerpublic AuthorGroup getAuthors()
Authors.
getAuthors in interface AuthorManagerpublic void cleanUpAuthor()
Author environment. It is responsible for freeing up resources that the Author environment has used for its execution.
cleanUpAuthor in interface AuthorManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||