org.telscenter.sail.webapp.domain.workgroup.impl
Class WISEWorkgroupImpl

java.lang.Object
  extended by net.sf.sail.webapp.domain.impl.WorkgroupImpl
      extended by org.telscenter.sail.webapp.domain.workgroup.impl.WISEWorkgroupImpl
All Implemented Interfaces:
Serializable, Comparable<WISEWorkgroupImpl>, Persistable, Workgroup, WISEWorkgroup

public class WISEWorkgroupImpl
extends WorkgroupImpl
implements WISEWorkgroup, Comparable<WISEWorkgroupImpl>

A WISE Workgroup object implementation

Version:
$Id$
Author:
Hiroki Terashima
See Also:
Serialized Form

Field Summary
static String DATA_STORE_NAME
           
 
Fields inherited from class net.sf.sail.webapp.domain.impl.WorkgroupImpl
COLUMN_NAME_GROUP_FK, COLUMN_NAME_OFFERING_FK, COLUMN_NAME_SDS_WORKGROUP_FK, id, USERS_JOIN_COLUMN_NAME, WORKGROUPS_JOIN_COLUMN_NAME
 
Constructor Summary
WISEWorkgroupImpl()
           
 
Method Summary
 int compareTo(WISEWorkgroupImpl o)
           
 Long getExternalId()
           
 Group getPeriod()
          Gets the period that this workgroup belongs in
 String getWorkPDFUrl()
          Returns the url that generates this workgroup's work as PDF
 boolean isTeacherWorkgroup()
           
 void setExternalId(Long externalId)
           
 void setPeriod(Group period)
          Sets the periods that this workgroup belongs in
 void setTeacherWorkgroup(boolean teacherWorkgroup)
           
 void setWorkPDFUrl(String url)
          Sets the url that generates this workgroup's work as PDF
 
Methods inherited from class net.sf.sail.webapp.domain.impl.WorkgroupImpl
addMember, equals, generateWorkgroupName, getGroup, getId, getMembers, getOffering, getSdsWorkgroup, hashCode, removeMember, setGroup, setMembers, setOffering, setSdsWorkgroup
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.sail.webapp.domain.Workgroup
addMember, generateWorkgroupName, getGroup, getId, getMembers, getOffering, getSdsWorkgroup, removeMember, setGroup, setMembers, setOffering, setSdsWorkgroup
 

Field Detail

DATA_STORE_NAME

public static final String DATA_STORE_NAME
See Also:
Constant Field Values
Constructor Detail

WISEWorkgroupImpl

public WISEWorkgroupImpl()
Method Detail

getPeriod

public Group getPeriod()
Description copied from interface: WISEWorkgroup
Gets the period that this workgroup belongs in

Specified by:
getPeriod in interface WISEWorkgroup
Returns:
Group (Period) that this workgroup belongs in
See Also:
org.telscenter.sail.webapp.domain.workgroup.impl.Workgroup#getPeriod()

setPeriod

public void setPeriod(Group period)
Description copied from interface: WISEWorkgroup
Sets the periods that this workgroup belongs in

Specified by:
setPeriod in interface WISEWorkgroup
Parameters:
period - the Group to set
See Also:
org.telscenter.sail.webapp.domain.workgroup.impl.Workgroup#setPeriod(net.sf.sail.webapp.domain.group.Group)

compareTo

public int compareTo(WISEWorkgroupImpl o)
Specified by:
compareTo in interface Comparable<WISEWorkgroupImpl>

getWorkPDFUrl

public String getWorkPDFUrl()
Description copied from interface: WISEWorkgroup
Returns the url that generates this workgroup's work as PDF

Specified by:
getWorkPDFUrl in interface WISEWorkgroup
Returns:
the url that generates this workgroup's work as PDF
See Also:
org.telscenter.sail.webapp.domain.workgroup.WISEWorkgroup#getStudentWorkPDFUrl()

setWorkPDFUrl

public void setWorkPDFUrl(String url)
Description copied from interface: WISEWorkgroup
Sets the url that generates this workgroup's work as PDF

Specified by:
setWorkPDFUrl in interface WISEWorkgroup
Parameters:
url - that generates this workgroup's work as PDF
See Also:
org.telscenter.sail.webapp.domain.workgroup.WISEWorkgroup#setStudentWorkPDFUrl(java.lang.String)

getExternalId

public Long getExternalId()
Specified by:
getExternalId in interface WISEWorkgroup
Returns:
the externalId

setExternalId

public void setExternalId(Long externalId)
Specified by:
setExternalId in interface WISEWorkgroup
Parameters:
externalId - the externalId to set

isTeacherWorkgroup

public boolean isTeacherWorkgroup()
Specified by:
isTeacherWorkgroup in interface WISEWorkgroup
Returns:
the teacherWorkgroup

setTeacherWorkgroup

public void setTeacherWorkgroup(boolean teacherWorkgroup)
Specified by:
setTeacherWorkgroup in interface WISEWorkgroup
Parameters:
teacherWorkgroup - the teacherWorkgroup to set


Copyright © 2012. All Rights Reserved.