use of org.olat.ims.cp.objects.CPResource in project openolat by klemens.
the class CPPage method getResource.
protected CPResource getResource() {
CPResource resource = null;
CPManager mgr = CPManager.getInstance();
DefaultElement resElement = mgr.getElementByIdentifier(cp, idRef);
if (resElement instanceof CPResource) {
resource = (CPResource) resElement;
}
return resource;
}
Aggregations