public class CluContextImpl extends BasicContextImpl
| Modifier and Type | Field and Description |
|---|---|
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 |
INTEGER_VALUE_TOKEN, NL_HELPER_TOKEN, OPERATOR_TOKENFIELDS_TOKEN| Constructor and Description |
|---|
CluContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getReqComponentFieldMap, getReqComponentFieldValuepublic 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
public CluContextImpl()
public void setCluService(CluService cluService)
cluService - CLU servicepublic CluInfo getCluInfo(String cluId, ContextInfo contextInfo) throws OperationFailedException
cluId - CLU idOperationFailedException - If retrieving CLU failspublic CluSetInfo getCluSetInfo(String cluSetId, ContextInfo contextInfo) throws OperationFailedException
cluSetId - CLU set idOperationFailedException - If retrieving CLU set failspublic NLCluSet getCluSet(String cluSetId, ContextInfo contextInfo) throws OperationFailedException
cluSetId - CLU set idOperationFailedException - If building a custom CLU set failspublic NLCluSet getCluSet(ReqComponentInfo reqComponent, String key, ContextInfo contextInfo) throws OperationFailedException
reqComponent - Requirement componentOperationFailedException - If building a custom CLU set failspublic Map<String,Object> createContextMap(ReqComponentInfo reqComponent, ContextInfo contextInfo) throws OperationFailedException
createContextMap in interface Context<ReqComponentInfo>createContextMap in class BasicContextImplreqComponent - Requirement componentOperationFailedException - Creating context map failsCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.