org.kuali.student.lum.program.server
Class MajorDisciplineProposalDataService
java.lang.Object
org.kuali.student.common.ui.server.gwt.AbstractDataService
org.kuali.student.lum.program.server.MajorDisciplineProposalDataService
- All Implemented Interfaces:
- DataService
public class MajorDisciplineProposalDataService
- extends AbstractDataService
- Author:
- Igor
Methods inherited from class org.kuali.student.common.ui.server.gwt.AbstractDataService |
_saveData, addAdditionalAttributes, checkDocumentLevelPermissions, getData, getDefaultFilterProperties, getMetadata, getPermissionService, getProposalService, getTransformationManager, getWorkflowDocumentService, isAuthorized, saveData, setPermissionService, setProposalService, setTransformationManager, setWorkflowDocumentService, validateData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MajorDisciplineProposalDataService
public MajorDisciplineProposalDataService()
getDefaultWorkflowDocumentType
protected String getDefaultWorkflowDocumentType()
- Specified by:
getDefaultWorkflowDocumentType
in class AbstractDataService
getDefaultMetaDataState
protected String getDefaultMetaDataState()
- Specified by:
getDefaultMetaDataState
in class AbstractDataService
get
protected Object get(String id,
ContextInfo contextInfo)
throws Exception
- Description copied from class:
AbstractDataService
- Implement this method to make to make service call to get DTO object. The method is called
by the get(Data) method before it invokes transformationManager to convert DTO to a Data map
- Specified by:
get
in class AbstractDataService
- Parameters:
id
- DTO id
- Returns:
- the dto retrieved by calling the appropriate service method
- Throws:
Exception
save
protected Object save(Object dto,
Map<String,Object> properties,
ContextInfo contextInfo)
throws Exception
- Description copied from class:
AbstractDataService
- Implement this method to make a service call to get DTO object. The method is called
by the save(Data) method after it invokes transformationManager to convert Data map to DTO
- Specified by:
save
in class AbstractDataService
- Returns:
- the persisted dto object
- Throws:
Exception
validate
protected List<ValidationResultInfo> validate(Object dto,
ContextInfo contextInfo)
throws Exception
- Description copied from class:
AbstractDataService
- Implement this method to make a service call to get DTO object. The method is called
in the save(data) method before calling the save(dto,properties) method to validate the data
- Specified by:
validate
in class AbstractDataService
- Returns:
-
- Throws:
Exception
getDtoClass
protected Class<?> getDtoClass()
- Description copied from class:
AbstractDataService
- Implement this method to return the type of the dto object.
- Specified by:
getDtoClass
in class AbstractDataService
- Returns:
- The object type returned and expected by the get & save dto methods
setProgramService
public void setProgramService(ProgramService programService)
setCluService
public void setCluService(CluService cluService)
setAtpService
public void setAtpService(AtpService atpService)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.