Package org.openntf.domino.design

Examples of org.openntf.domino.design.DatabaseDesign


  public void scanDatabase(final Database db) throws ServletException, InterruptedException {
    //NTF Keeping JG's implementation since he made an enhancement to the IconNote class for it! :)
    log_.finest("Scanning database " + db.getApiPath() + " for Xots Tasklets");

    try {
      DatabaseDesign design = db.getDesign();
      IconNote icon = design.getIconNote();
      if (icon != null) {
        String[] xotsClassNames = icon.getXotsClassNames();
        if (xotsClassNames != null && xotsClassNames.length > 0) {
          if (TRACE) {
            System.out.println("TRACE: Adding Xots Tasklets for database " + db.getApiPath());
View Full Code Here


    @Override
    public void run() {
      Session session = getSession();
      Database db = session.getDatabase(appName_);
      DatabaseDesign design = db.getDesign();
      IconNote icon = design.getIconNote();
      if (icon != null) {
        String[] xotsClassNames = icon.getXotsClassNames();
        if (xotsClassNames != null && xotsClassNames.length > 0) {
          if (TRACE) {
            System.out.println("TRACE: Adding Xots Tasklets for database " + db.getApiPath());
View Full Code Here

  public JSR223Tasklet(final String scriptName, final Database database) {
    int extIndex = scriptName.lastIndexOf('.');
    scriptExt_ = scriptName.substring(extIndex + 1);

    DatabaseDesign design = database.getDesign();
    FileResource script = design.getAnyFileResource(scriptName);
    script_ = new String(script.getFileData());
    databasePath_ = database.getApiPath();
  }
View Full Code Here

TOP

Related Classes of org.openntf.domino.design.DatabaseDesign

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.