Package de.innovationgate.webgate.api.fake

Examples of de.innovationgate.webgate.api.fake.WGFakeLanguage


          }
      }
      return folders;
    }
    else if (type == WGDocument.TYPE_LANGUAGE) {
        return Collections.singletonList(new WGFakeLanguage(_db, _fakeLanguage, _fakeLanguage));
    }
     
    return null;
   
  }
View Full Code Here


   
    if (type == WGDocument.TYPE_AREA) {
      return new BeanFolder(this, name);
    }
    else if (type == WGDocument.TYPE_LANGUAGE && _fakeLanguage.equals(name)) {
      return new WGFakeLanguage(_db, name, name);
    }
     
    return null;
   
   
View Full Code Here

            return null;
        }

        WGLanguage lang = (WGLanguage) getDesignObject(WGDocument.TYPE_LANGUAGE, name);
        if (lang == null) {
            lang = (WGLanguage) createDesignDocumentObject(new WGFakeLanguage(this, name, "(Not defined)"));
            lang.setDummy(true);
        }
        return lang;
    }
View Full Code Here

  }

  public List getDesignObjects(int type) { 
   
      if (type == WGDocument.TYPE_LANGUAGE) {
          return Collections.singletonList(new WGFakeLanguage(db, _fakeLanguage, _fakeLanguage));
      }
     
      return Collections.emptyList();
     
  }
View Full Code Here

  }

  public WGDocumentCore getDesignObject(int type, String name, String strMediaKey) {

    if (type == WGDocument.TYPE_LANGUAGE && _fakeLanguage.equals(name)) {
      return new WGFakeLanguage(db, _fakeLanguage, _fakeLanguage);
    }
    else {
      return null;
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.fake.WGFakeLanguage

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.