Package org.olat.ims.cp.objects

Examples of org.olat.ims.cp.objects.CPResources


      }
      return true;
    } else if (parentElement instanceof CPResources) {
      // parent is <resources> !!see the "s" at the end ;)
      if (newElement instanceof CPResource) {
        CPResources resources = (CPResources) parentElement;
        resources.addResource((CPResource) newElement);
        return true;
      } else {
        throw new OLATRuntimeException(CPOrganizations.class, "you can only add <resource>elements to the <resources> element",
            new Exception());
      }
View Full Code Here

TOP

Related Classes of org.olat.ims.cp.objects.CPResources

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.