|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 LuService |
luService
|
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. |
Boolean |
isLatestVersion(String versionIndId)
|
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)
|
void |
setLuService(LuService luService)
|
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
private LuService luService
Constructor Detail |
---|
public CourseDataService()
Method Detail |
---|
protected Object get(String id) throws Exception
AbstractDataService
get
in class AbstractDataService
id
- DTO id
Exception
protected Object save(Object dto, Map<String,Object> properties) throws Exception
AbstractDataService
save
in class AbstractDataService
Exception
protected List<ValidationResultInfo> validate(Object dto) throws Exception
AbstractDataService
validate
in class AbstractDataService
Exception
protected String getDefaultMetaDataState()
getDefaultMetaDataState
in class AbstractDataService
protected String getDefaultWorkflowDocumentType()
getDefaultWorkflowDocumentType
in class AbstractDataService
protected boolean checkDocumentLevelPermissions()
checkDocumentLevelPermissions
in class AbstractDataService
protected Class<?> getDtoClass()
AbstractDataService
getDtoClass
in class AbstractDataService
public void setCourseService(CourseService courseService)
public void setLuService(LuService luService)
protected CourseInfo calculateCourseDerivedFields(CourseInfo courseInfo)
private String calculateCourseCode(String subjectArea, String suffixNumber)
subjectArea
- suffixNumber
-
public Boolean isLatestVersion(String versionIndId) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |