|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.oscelot.webct.dao.LearningContextService
The LearningContextService is a singleton utility that allows learning context data to be retrieved from within the Vista authentication module framework given a learning context Id. A learning context value object (LearningContextVO) is returned.
This service also allows the learning context children for a given learning context Id to be retrieved. A list of learning context Ids is returned.
Based on com.webct.platform.sdkext.authmoduledata.LearningContextService
Method Summary | |
java.util.List |
getCrossListedChildren(java.lang.Long lcId)
Retrieve a list of learning context Ids of the children for a given parent learning context Id. |
java.lang.Long |
getCrossListedParent(java.lang.Long lcId)
Retrieve the learning context of the parent for a given child learning context Id. |
LearningContextVO |
getCrossListedParentInfo(java.lang.Long lcId)
Retrieve the learning context of the parent for a given child learning context Id. |
java.util.Map |
getCrossListedSections()
Retrieve a map of cross-listed sections. |
static LearningContextService |
getInstance()
Returns an instance of this service |
LearningContextVO |
getLCAncestor(java.lang.Long lcId,
int typeLevel)
Retrieves the learning context data for an ancestor learning context of a given type. |
java.util.List |
getLCChildren(long lcId)
Deprecated. Use the method instead |
java.util.List |
getLCChildren(java.lang.Long lcId)
Retrieve a list of learning context Ids (children) for a given learning context Id. |
java.lang.Long |
getLCIdAncestor(java.lang.Long lcId,
int typeLevel)
Retrieves the learning context Id for an ancestor learning context of a given type. |
LearningContextVO |
getLCInfo(java.lang.Long lcId)
Retrieves the learning context data given a learning context Id |
java.lang.String |
getLCPathAncestor(java.lang.Long lcId,
int typeLevel)
Retrieves the path from the server level to an ancestor learning context of a given type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static LearningContextService getInstance()
public LearningContextVO getLCInfo(java.lang.Long lcId) throws VistaDataException
lcId
- learning context Id
VistaDataException
public java.lang.Long getLCIdAncestor(java.lang.Long lcId, int typeLevel) throws VistaDataException
lcId
- learning context IdtypeLevel
- ancestor learning context type level
VistaDataException
public LearningContextVO getLCAncestor(java.lang.Long lcId, int typeLevel) throws VistaDataException
lcId
- learning context IdtypeLevel
- ancestor learning context type level
VistaDataException
public java.lang.String getLCPathAncestor(java.lang.Long lcId, int typeLevel) throws VistaDataException
lcId
- learning context IdtypeLevel
- ancestor learning context type level
VistaDataException
public java.util.List getLCChildren(long lcId) throws VistaDataException
getLCChildren(Long)
method instead
lcId
- learning context Id
List<Long>
)
VistaDataException
public java.util.List getLCChildren(java.lang.Long lcId) throws VistaDataException
lcId
- learning context Id
List<Long>
)
VistaDataException
public java.util.Map getCrossListedSections() throws VistaDataException
Map<Long, Long>
)
VistaDataException
public java.util.List getCrossListedChildren(java.lang.Long lcId) throws VistaDataException
lcId
- learning context Id of parent section
List<Long>
)
VistaDataException
public java.lang.Long getCrossListedParent(java.lang.Long lcId) throws VistaDataException
lcId
- learning context Id of child section
Long
)
VistaDataException
public LearningContextVO getCrossListedParentInfo(java.lang.Long lcId) throws VistaDataException
lcId
- learning context Id of child section
LearningContextVO
)
VistaDataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |