Examples of HostingType


Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

        "Ontology URI: <b>" +(namespace != null ? namespace : "undefined") + "</b>"
    ;
   
    RegisteredOntologyInfo roi = getWizard().getRegisteredOntologyInfo();
    String uri = roi.getUnversionedUri();
    HostingType hostingType = roi.getHostingType();
   
    switch ( hostingType ) {
    case FULLY_HOSTED:
      if ( namespace != null ) {
        html += "<br/>Note: entities in this namespace will be moved to " +uri;
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

      ;
      History.newItem(PortalConsts.T_BROWSE);
      return;
    }

    HostingType hostingType = roi.getHostingType()
   
    Orr.log("PortalMainPanel.editNewVersion: Dispatching wizard to capture new version. " +
        "hostingType = " +hostingType);
   
    RegisterVersionWizard wizard = new RegisterVersionWizard(this, roi, hostingType);
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

  }

 
  private CreateOntologyResult _createOntology_newMethod(CreateOntologyInfo createOntologyInfo) {
   
    final HostingType hostingType = createOntologyInfo.getHostingType();
   
    log.info("createOntology: called. hostingType = " +hostingType);
    CreateOntologyResult createOntologyResult = new CreateOntologyResult();
   
    if ( createOntologyInfo.getMetadataValues() == null ) {
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

    return registerOntologyResult;
 
  }

  public RegisterOntologyResult registerOntology_newMethod(CreateOntologyResult createOntologyResult, LoginResult loginResult) {
    final HostingType hostingType = createOntologyResult.getCreateOntologyInfo().getHostingType();
   
    log.info("registerOntology: called. hostingType = " +hostingType);
    RegisterOntologyResult registerOntologyResult = new RegisterOntologyResult();
   
    switch ( hostingType ) {
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

      String ontologyUri,
      TempOntologyInfo tempOntologyInfo,
      String graphId
  ) throws Exception {
   
    HostingType hostingType = tempOntologyInfo.isOntResolvable() ?
        HostingType.FULLY_HOSTED  :  HostingType.RE_HOSTED;
   
    if ( log.isDebugEnabled() ) {
      log.debug(getClass().getSimpleName()+ ".registerNewOntology: hostingType = " +hostingType);
    }
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

      RegisteredOntologyInfo registeredOntologyInfo,
      TempOntologyInfo tempOntologyInfo,
      String graphId
  ) throws Exception {
   
    HostingType hostingType = registeredOntologyInfo.getHostingType();

    // NOTE we previously required that hostingType be re-hosted.
//    if ( hostingType != HostingType.RE_HOSTED ) {
//      throw new Exception("Hosting type of existing ontology is not 're-hosted'.");
//    }
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

 
  private static void _setHostingType(RegisteredOntologyInfo registeredOntologyInfo) {
    String uri = registeredOntologyInfo.getUri();
    boolean ontResolvableUri = OntServiceUtil.isOntResolvableUri(uri);
   
    HostingType hostingType;
    if ( ontResolvableUri ) {
      hostingType = HostingType.FULLY_HOSTED;
    }
    else {
      hostingType = HostingType.RE_HOSTED;
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

  ////////////////////////////////////////////////////////////////////////////////////////
  ////////////////////////////////////////////////////////////////////////////////////////
 
  public CreateOntologyResult createOntology(CreateOntologyInfo createOntologyInfo) {
   
    HostingType hostingType = createOntologyInfo.getHostingType();
    log.info("createOntology: called. hostingType = " +hostingType);
   
    CreateOntologyResult createOntologyResult = null;
   
    if ( hostingType != null ) {
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

  }

 
  private CreateOntologyResult _createOntology_newMethod(CreateOntologyInfo createOntologyInfo) {
   
    final HostingType hostingType = createOntologyInfo.getHostingType();
   
    CreateOntologyResult createOntologyResult = new CreateOntologyResult();
   
    if ( createOntologyInfo.getMetadataValues() == null ) {
      String error = "Unexpected: createOntologyInfo.getMetadataValues returned null. Please report this bug";
View Full Code Here

Examples of org.mmisw.orrclient.gwt.client.rpc.HostingType

    return registerOntologyResult;
 
  }

  public RegisterOntologyResult registerOntology_newMethod(CreateOntologyResult createOntologyResult, LoginResult loginResult) {
    final HostingType hostingType = createOntologyResult.getCreateOntologyInfo().getHostingType();
   
    log.info("registerOntology: called. hostingType = " +hostingType);
    RegisterOntologyResult registerOntologyResult = new RegisterOntologyResult();
   
    switch ( hostingType ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.