public class CourseOfferingWrapper extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
dialogExplanation
Added as a hack fix - the group dialog is expecting this property
|
Constructor and Description |
---|
CourseOfferingWrapper() |
CourseOfferingWrapper(boolean isCrossListed,
String courseOfferingCode,
String courseOfferingDesc,
List<String> alternateCOCodes,
String courseOfferingId)
This is based on Good citizen pattern.
|
CourseOfferingWrapper(boolean isCrossListed,
String courseOfferingCode,
String courseOfferingDesc,
List<String> alternateCOCodes,
String courseOfferingId,
String ownerCode,
List<String> ownerAliases) |
CourseOfferingWrapper(CourseOfferingInfo courseOfferingInfo)
This is a normal wrapper for {link:#CourseOfferingInfo}
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAlternateCOCodes() |
String |
getAlternateCOCodesUIList()
This method returns a list of crosslisted/official course code for a course as comma seperated
string
|
String |
getAlternateCOCodesUITooltip()
This method returns a list of crosslisted/official course code for a course.
|
String |
getCoOwningDeptName() |
CourseInfo |
getCourse() |
String |
getCourseOfferingCode() |
String |
getCourseOfferingDesc() |
String |
getCourseOfferingId()
This method returns the course offering id.
|
CourseOfferingInfo |
getCourseOfferingInfo() |
String |
getCourseOfferingTitle() |
String |
getCreditCnt()
Returns the credit count
|
String |
getCrossListedCourseCodes()
This method returns a list of comma seperated alternate course codes.
|
String |
getDialogExplanation() |
String |
getId() |
List<String> |
getOwnerAliases() |
String |
getOwnerAliasesUIList() |
String |
getOwnerCode() |
String |
getStateKey()
Returns the state key
|
TermInfo |
getTerm() |
boolean |
isColocatedAoToDelete() |
boolean |
isCrossListed() |
boolean |
isSelectCrossListingAllowed()
This method returns whether alternate code selection is allowed or not.
|
void |
setAlternateCOCodes(List<String> alternateCOCodes) |
void |
setColocatedAoToDelete(boolean colocatedAoToDelete) |
void |
setCoOwningDeptName(String coOwningDeptName)
This property is used to indicate the user which department owns the owner course
of a cross listed course.
|
void |
setCourse(CourseInfo course) |
void |
setCourseOfferingInfo(CourseOfferingInfo coInfo) |
void |
setDialogExplanation(String dialogExplanation) |
void |
setOwnerAliases(List<String> ownerAliases) |
void |
setOwnerCode(String ownerCode) |
void |
setTerm(TermInfo term) |
protected String dialogExplanation
public CourseOfferingWrapper()
public CourseOfferingWrapper(CourseOfferingInfo courseOfferingInfo)
courseOfferingInfo
- public CourseOfferingWrapper(boolean isCrossListed, String courseOfferingCode, String courseOfferingDesc, List<String> alternateCOCodes, String courseOfferingId)
isCrossListed
- whether this wrapper is for a cross listed course.courseOfferingCode
- courseOfferingDesc
- alternateCOCodes
- courseOfferingId
- public CourseInfo getCourse()
public void setCourse(CourseInfo course)
public CourseOfferingInfo getCourseOfferingInfo()
public void setCourseOfferingInfo(CourseOfferingInfo coInfo)
public String getCourseOfferingCode()
public String getCourseOfferingDesc()
public String getCourseOfferingTitle()
public String getStateKey()
public String getCreditCnt()
public void setAlternateCOCodes(List<String> alternateCOCodes)
alternateCOCodes
- public List<String> getAlternateCOCodes()
public boolean isCrossListed()
public String getAlternateCOCodesUIList()
getAlternateCOCodesUITooltip()
public String getAlternateCOCodesUITooltip()
getAlternateCOCodesUIList()
public List<String> getOwnerAliases()
public void setOwnerAliases(List<String> ownerAliases)
public String getOwnerCode()
public void setOwnerCode(String ownerCode)
public String getOwnerAliasesUIList()
public String getCourseOfferingId()
public String getCoOwningDeptName()
setCoOwningDeptName(String)
public void setCoOwningDeptName(String coOwningDeptName)
coOwningDeptName
- public String getCrossListedCourseCodes()
public boolean isColocatedAoToDelete()
public void setColocatedAoToDelete(boolean colocatedAoToDelete)
public boolean isSelectCrossListingAllowed()
kuali.ks.enrollment.options.selective-crosslisting-allowed
and returns its value (true/false). This is to allow the institutional configuration to decide whether the users
should be allowed to pick alternate codes or just select all the alternate codes by default.public String getDialogExplanation()
public void setDialogExplanation(String dialogExplanation)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.