Package org.nasutekds.server.types

Examples of org.nasutekds.server.types.ConfigChangeResult


    if(!className.equals(policy.getClass().getName()))
    {
      adminActionRequired = true;
    }

    return new ConfigChangeResult(resultCode, adminActionRequired, messages);
  }
View Full Code Here


        messages.add(de.getMessageObject());
      }
    }

    return new ConfigChangeResult(resultCode, adminActionRequired, messages);
  }
View Full Code Here

      {
        resultCode = ResultCode.UNWILLING_TO_PERFORM;
      }
    }

    return new ConfigChangeResult(resultCode, adminActionRequired, messages);
  }
View Full Code Here

        {
          resultCode = ResultCode.UNWILLING_TO_PERFORM;
        }
      }

      return new ConfigChangeResult(resultCode, adminActionRequired, messages);
    }

    // If the workflow is disabled then create and register it.
    if (existingWorkflow == null)
    {
      try
      {
        createAndRegisterWorkflow(configuration);
      }
      catch (DirectoryException de)
      {
        if (resultCode == ResultCode.SUCCESS)
        {
          resultCode = de.getResultCode();
        }

        messages.add(de.getMessageObject());
      }
    }
    else
    {
      // The workflow already exist, just notify the changes to the workflow
      existingWorkflow.updateConfig(configuration);
    }

    return new ConfigChangeResult(resultCode, adminActionRequired, messages);
  }
View Full Code Here

      }

      // Update the configuration.
      NetworkGroup.this.configuration = configuration;

      return new ConfigChangeResult(resultCode, adminActionRequired,
          messages);
    }
View Full Code Here

      {
        messages.add(e.getMessageObject());
        resultCode = DirectoryServer.getServerErrorResultCode();
      }

      return new ConfigChangeResult(resultCode, adminActionRequired,
          messages);
    }
View Full Code Here

        }

        policy.finalizeQOSPolicy();
      }

      return new ConfigChangeResult(ResultCode.SUCCESS, false);
    }
View Full Code Here

    {
      messages.add(e.getMessageObject());
      resultCode = DirectoryServer.getServerErrorResultCode();
    }

    return new ConfigChangeResult(resultCode, false, messages);
  }
View Full Code Here

   * {@inheritDoc}
   */
  public ConfigChangeResult applyConfigurationChange(
                                 NetworkGroupPluginCfg configuration)
  {
    return new ConfigChangeResult(ResultCode.SUCCESS, false);
  }
View Full Code Here

        provider.finalizeSynchronizationProvider();
        registeredProviders.remove(dn);
      }
    }
    // Return the configuration result.
    return new ConfigChangeResult(resultCode, adminActionRequired,
        messages);
  }
View Full Code Here

TOP

Related Classes of org.nasutekds.server.types.ConfigChangeResult

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.