Package org.olat.ims.cp.objects

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


    super(ureq, control);
    this.page = page;
    if (page.getMetadata() != null) {
      this.metadata = page.getMetadata();
    } else {
      this.metadata = new CPMetadata();
    }
    initForm(ureq);

  }
View Full Code Here


        // element is organization
        CPOrganization org = (CPOrganization) el;
        org.removeFromManifest(resourceFlag);
      } else if (el instanceof CPMetadata) {
        // element is <metadata>
        CPMetadata md = (CPMetadata) el;
        md.removeFromManifest();
      }
    } else {
      throw new OLATRuntimeException(CPOrganizations.class, "couldn't remove element with id \"" + identifier
          + "\"! Element not found in manifest ", new Exception());
View Full Code Here

TOP

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

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.