|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.common.ui.server.gwt.AbstractDataService
org.kuali.student.lum.lu.ui.course.server.gwt.CourseDataService
public class CourseDataService
| Field Summary | |
|---|---|
private CourseService |
courseService
|
private static String |
DEFAULT_METADATA_STATE
|
(package private) static Logger |
LOG
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
CourseDataService()
|
|
| Method Summary | |
|---|---|
private String |
calculateCourseCode(String subjectArea,
String suffixNumber)
This method calculates code for course and cross listed course. |
protected CourseInfo |
calculateCourseDerivedFields(CourseInfo courseInfo)
This calculates and sets fields on course object that are derived from other course object fields. |
protected boolean |
checkDocumentLevelPermissions()
|
protected Object |
get(String id)
Implement this method to make to make service call to get DTO object. |
protected String |
getDefaultMetaDataState()
|
protected String |
getDefaultWorkflowDocumentType()
|
protected Class<?> |
getDtoClass()
Implement this method to return the type of the dto object. |
protected Object |
save(Object dto,
Map<String,Object> properties)
Implement this method to make a service call to get DTO object. |
void |
setCourseService(CourseService courseService)
|
protected List<ValidationResultInfo> |
validate(Object dto)
Implement this method to make a service call to get DTO object. |
| Methods inherited from class org.kuali.student.common.ui.server.gwt.AbstractDataService |
|---|
_saveData, getData, getDefaultFilterProperties, getMetadata, getPermissionService, getProposalService, getTransformationManager, isAuthorized, saveData, setPermissionService, setProposalService, setTransformationManager, validateData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
static final Logger LOG
private static final String DEFAULT_METADATA_STATE
private CourseService courseService
| Constructor Detail |
|---|
public CourseDataService()
| Method Detail |
|---|
protected Object get(String id)
throws Exception
AbstractDataService
get in class AbstractDataServiceid - DTO id
Exception
protected Object save(Object dto,
Map<String,Object> properties)
throws Exception
AbstractDataService
save in class AbstractDataServiceException
protected List<ValidationResultInfo> validate(Object dto)
throws Exception
AbstractDataService
validate in class AbstractDataServiceExceptionprotected String getDefaultMetaDataState()
getDefaultMetaDataState in class AbstractDataServiceprotected String getDefaultWorkflowDocumentType()
getDefaultWorkflowDocumentType in class AbstractDataServiceprotected boolean checkDocumentLevelPermissions()
checkDocumentLevelPermissions in class AbstractDataServiceprotected Class<?> getDtoClass()
AbstractDataService
getDtoClass in class AbstractDataServicepublic void setCourseService(CourseService courseService)
protected CourseInfo calculateCourseDerivedFields(CourseInfo courseInfo)
private String calculateCourseCode(String subjectArea,
String suffixNumber)
subjectArea - suffixNumber -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||