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

java.lang.Object
  extended by org.kuali.student.lum.program.server.StatementDataService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, BaseRpcService, StatementRpcService

@Transactional(readOnly=true,
               noRollbackFor=DoesNotExistException.class,
               rollbackFor=java.lang.Throwable.class)
public class StatementDataService
extends Object
implements StatementRpcService


Field Summary
(package private) static Logger LOG
           
private  LuService luService
           
private static long serialVersionUID
           
private  StatementService statementService
           
 
Constructor Summary
StatementDataService()
           
 
Method Summary
 CluInfo getClu(String cluId)
           
 VersionDisplayInfo getCurrentVersion(String refObjectTypeURI, String refObjectId)
           
 ObjectStructure getObjectStructure(String objectTypeKey)
           
 List<String> getObjectTypes()
           
 List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String luStatementTypeKey)
           
 SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
           
 List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
           
 SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
           
 List<SearchResultTypeInfo> getSearchResultTypes()
           
 SearchTypeInfo getSearchType(String searchTypeKey)
           
 List<SearchTypeInfo> getSearchTypes()
           
 List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
           
 List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
           
 List<StatementTypeInfo> getStatementTypesForStatementType(String statementTypeKey)
           
 List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse(String statementTypeKey)
           
 SearchResult search(SearchRequest searchRequest)
           
 void setLuService(LuService luService)
           
 void setStatementService(StatementService statementService)
           
 String translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language)
           
 List<String> translateReqComponentToNLs(ReqComponentInfoUi reqComponentInfo, String[] nlUsageTypeKeys, String language)
           
 String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

static final Logger LOG

statementService

private StatementService statementService

luService

private LuService luService

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

StatementDataService

public StatementDataService()
Method Detail

getStatementTypesForStatementTypeForCourse

public List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse(String statementTypeKey)
                                                                   throws Exception
Specified by:
getStatementTypesForStatementTypeForCourse in interface StatementRpcService
Throws:
Exception

getStatementTypesForStatementType

public List<StatementTypeInfo> getStatementTypesForStatementType(String statementTypeKey)
                                                          throws Exception
Specified by:
getStatementTypesForStatementType in interface StatementRpcService
Throws:
Exception

getReqComponentTypesForStatementType

public List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String luStatementTypeKey)
                                                                throws Exception
Specified by:
getReqComponentTypesForStatementType in interface StatementRpcService
Throws:
Exception

translateStatementTreeViewToNL

public String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo,
                                             String nlUsageTypeKey,
                                             String language)
                                      throws Exception
Specified by:
translateStatementTreeViewToNL in interface StatementRpcService
Throws:
Exception

translateReqComponentToNL

public String translateReqComponentToNL(ReqComponentInfo reqComponentInfo,
                                        String nlUsageTypeKey,
                                        String language)
                                 throws Exception
Specified by:
translateReqComponentToNL in interface StatementRpcService
Throws:
Exception

translateReqComponentToNLs

public List<String> translateReqComponentToNLs(ReqComponentInfoUi reqComponentInfo,
                                               String[] nlUsageTypeKeys,
                                               String language)
                                        throws Exception
Specified by:
translateReqComponentToNLs in interface StatementRpcService
Throws:
Exception

getClu

public CluInfo getClu(String cluId)
               throws Exception
Specified by:
getClu in interface StatementRpcService
Throws:
Exception

getCurrentVersion

public VersionDisplayInfo getCurrentVersion(String refObjectTypeURI,
                                            String refObjectId)
                                     throws Exception
Specified by:
getCurrentVersion in interface StatementRpcService
Throws:
Exception

setStatementService

public void setStatementService(StatementService statementService)

setLuService

public void setLuService(LuService luService)

getObjectTypes

public List<String> getObjectTypes()
Specified by:
getObjectTypes in interface BaseRpcService

getObjectStructure

public ObjectStructure getObjectStructure(String objectTypeKey)
Specified by:
getObjectStructure in interface BaseRpcService

getSearchTypes

public List<SearchTypeInfo> getSearchTypes()
Specified by:
getSearchTypes in interface BaseRpcService

getSearchType

public SearchTypeInfo getSearchType(String searchTypeKey)
Specified by:
getSearchType in interface BaseRpcService

getSearchTypesByResult

public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
Specified by:
getSearchTypesByResult in interface BaseRpcService

getSearchTypesByCriteria

public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
Specified by:
getSearchTypesByCriteria in interface BaseRpcService

getSearchResultTypes

public List<SearchResultTypeInfo> getSearchResultTypes()
Specified by:
getSearchResultTypes in interface BaseRpcService

getSearchResultType

public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
Specified by:
getSearchResultType in interface BaseRpcService

getSearchCriteriaTypes

public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
Specified by:
getSearchCriteriaTypes in interface BaseRpcService

getSearchCriteriaType

public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
Specified by:
getSearchCriteriaType in interface BaseRpcService

search

public SearchResult search(SearchRequest searchRequest)
Specified by:
search in interface BaseRpcService


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