cz.muni.fi.rtc.teacherWorkbench.model
Interface Project

All Known Implementing Classes:
ProjectImpl

public interface Project


Method Summary
 java.lang.String getDescrition()
          Long description of the project
 java.util.Set<ImportedPerson> getMembers()
          Members of the team, including teachers.
 java.lang.String getName()
          Name of the project.
 java.lang.String getProcessTemplate()
          ID of the process template the newly created project should use
 java.lang.String getSummary()
          Short description of the project
 java.util.Set<java.lang.String> getUserRoles(ImportedPerson user)
          Get the process role ID for the given role
 boolean isInRoot(ImportedPerson user)
          Tells if the user should be in the root of the organizational hierarchy.
 

Method Detail

getName

java.lang.String getName()
Name of the project. Has to be unique within the RTC server

Returns:
Project name

getSummary

java.lang.String getSummary()
Short description of the project

Returns:
Short description of the project

getDescrition

java.lang.String getDescrition()
Long description of the project

Returns:
Long description

getMembers

java.util.Set<ImportedPerson> getMembers()
Members of the team, including teachers. Roles of the members are determined by Project#getUserRole(ImportedPerson)

Returns:
Members of the team

getProcessTemplate

java.lang.String getProcessTemplate()
ID of the process template the newly created project should use

Returns:
ID of the process template

getUserRoles

java.util.Set<java.lang.String> getUserRoles(ImportedPerson user)
Get the process role ID for the given role

Parameters:
user - User to get role of
Returns:
Role id

isInRoot

boolean isInRoot(ImportedPerson user)
Tells if the user should be in the root of the organizational hierarchy. This is typical for teachers, who are not involved in development and therefore are not members of team

Parameters:
user - User to test
Returns:
True if the user should be in the root folder