org.kuali.student.lum.program.server
Class MajorDisciplineDataService

java.lang.Object
  extended by org.kuali.student.common.ui.server.gwt.AbstractDataService
      extended by org.kuali.student.lum.program.server.MajorDisciplineDataService
All Implemented Interfaces:
DataService

public class MajorDisciplineDataService
extends AbstractDataService

Author:
Igor

Field Summary
private  LuService luService
           
private  ProgramService programService
           
private static long serialVersionUID
           
 
Constructor Summary
MajorDisciplineDataService()
           
 
Method Summary
protected  Object get(String id)
          Implement this method to make to make service call to get DTO object.
private  String getCredentialId()
           
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 to make service call to get DTO object.
 void setLuService(LuService luService)
           
 void setProgramService(ProgramService programService)
           
 
Methods inherited from class org.kuali.student.common.ui.server.gwt.AbstractDataService
_saveData, checkDocumentLevelPermissions, getData, getDefaultFilterProperties, getMetadata, getPermissionService, getProposalService, getTransformationManager, isAuthorized, saveData, setPermissionService, setProposalService, setTransformationManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

programService

private ProgramService programService

luService

private LuService luService
Constructor Detail

MajorDisciplineDataService

public MajorDisciplineDataService()
Method Detail

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)
              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)
               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:
save in class AbstractDataService
Returns:
the dto retrieved by calling the appropriate service method
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

getCredentialId

private String getCredentialId()
                        throws Exception
Throws:
Exception

setProgramService

public void setProgramService(ProgramService programService)

setLuService

public void setLuService(LuService luService)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.