|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.r1.core.statement.naturallanguage.AbstractContext<ReqComponentInfo>
org.kuali.student.r2.lum.statement.config.context.BasicContextImpl
org.kuali.student.r2.lum.statement.config.context.CluContextImpl
public class CluContextImpl
This class creates the template context for course list types.
| Field Summary | |
|---|---|
static String |
CLU_SET_TOKEN
cluSet token (key) references a Clu set object
used in templates. |
static String |
CLU_TOKEN
clu token (key) references a Clu object used in templates. |
static String |
COURSE_CLU_SET_TOKEN
|
static String |
COURSE_CLU_TOKEN
|
static String |
PROGRAM_CLU_SET_TOKEN
|
static String |
PROGRAM_CLU_TOKEN
|
static String |
TEST_CLU_SET_TOKEN
|
static String |
TEST_CLU_TOKEN
|
| Fields inherited from class org.kuali.student.r2.lum.statement.config.context.BasicContextImpl |
|---|
INTEGER_VALUE_TOKEN, NL_HELPER_TOKEN, OPERATOR_TOKEN |
| Fields inherited from class org.kuali.student.r1.core.statement.naturallanguage.AbstractContext |
|---|
FIELDS_TOKEN |
| Constructor Summary | |
|---|---|
CluContextImpl()
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
createContextMap(ReqComponentInfo reqComponent,
ContextInfo contextInfo)
Creates the context map (template data) for the requirement component. |
CluInfo |
getCluInfo(String cluId,
ContextInfo contextInfo)
Gets a CLU. |
NLCluSet |
getCluSet(ReqComponentInfo reqComponent,
String key,
ContextInfo contextInfo)
Gets a custom CLU set from a requirement component. |
NLCluSet |
getCluSet(String cluSetId,
ContextInfo contextInfo)
Gets the CLU set. |
CluSetInfo |
getCluSetInfo(String cluSetId,
ContextInfo contextInfo)
Gets a CLU set. |
void |
setCluService(CluService cluService)
Sets the LU service. |
| Methods inherited from class org.kuali.student.r1.core.statement.naturallanguage.AbstractContext |
|---|
getReqComponentFieldMap, getReqComponentFieldValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLU_TOKEN
clu token (key) references a Clu object used in templates.
e.g. 'Student must have completed all of
$clu.getOfficialIdentifier().getShortName()'
public static final String COURSE_CLU_TOKEN
public static final String PROGRAM_CLU_TOKEN
public static final String TEST_CLU_TOKEN
public static final String CLU_SET_TOKEN
cluSet token (key) references a Clu set object
used in templates.
e.g. 'Student must have completed all of $cluSet.getCluSetAsCode()'
public static final String COURSE_CLU_SET_TOKEN
public static final String PROGRAM_CLU_SET_TOKEN
public static final String TEST_CLU_SET_TOKEN
| Constructor Detail |
|---|
public CluContextImpl()
| Method Detail |
|---|
public void setCluService(CluService cluService)
cluService - CLU service
public CluInfo getCluInfo(String cluId,
ContextInfo contextInfo)
throws OperationFailedException
cluId - CLU id
OperationFailedException - If retrieving CLU fails
public CluSetInfo getCluSetInfo(String cluSetId,
ContextInfo contextInfo)
throws OperationFailedException
cluSetId - CLU set id
OperationFailedException - If retrieving CLU set fails
public NLCluSet getCluSet(String cluSetId,
ContextInfo contextInfo)
throws OperationFailedException
cluSetId - CLU set id
OperationFailedException - If building a custom CLU set fails
public NLCluSet getCluSet(ReqComponentInfo reqComponent,
String key,
ContextInfo contextInfo)
throws OperationFailedException
reqComponent - Requirement component
OperationFailedException - If building a custom CLU set fails
public Map<String,Object> createContextMap(ReqComponentInfo reqComponent,
ContextInfo contextInfo)
throws OperationFailedException
createContextMap in interface Context<ReqComponentInfo>createContextMap in class BasicContextImplreqComponent - Requirement component
OperationFailedException - Creating context map fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||