Examples of License


Examples of com.cedarsoft.license.License

    String id = deserializeFrom.getAttributeValue( null, ATTRIBUTE_ID );
    String name = getChildText( deserializeFrom, ELEMENT_NAME );

    closeTag( deserializeFrom );

    return new License( id, name );
  }
View Full Code Here

Examples of com.centraview.license.License

      {
        typeOfSave = request.getParameter("buttonpress");
      }

      LicenseHome lh = (LicenseHome)CVUtility.getHomeObject("com.centraview.license.LicenseHome", "License");
      License remote = (License) lh.create();
      remote.setDataSource(dataSource);

      LicenseVO licenseVO = remote.getPrimaryLicense();

      if (typeOfSave.equals("save"))
      {
        if (dynaForm.get("licenseKey") != null && !((String)dynaForm.get("licenseKey")).equalsIgnoreCase(""))
        {
          licenseVO.setLicenseKey((String) dynaForm.get("licenseKey"));
          remote.updateLicense(licenseVO);
          LicenseUtil.fetchLicenseFile(dataSource);
        } //end of if statement (dynaForm.get("licenseKey") != null ...
        FORWARD_final = FORWARD_save;
      } //end of if statement (typeOfSave.equals("save"))
      else if (typeOfSave.equals("verify"))
View Full Code Here

Examples of com.dubture.getcomposer.core.collection.License

  @Override
  public String convert(Object fromObject) {
    if (fromObject == null) {
      return "";
    }
    License licenses = (License)fromObject;
    return StringUtils.join((String[])licenses.toArray(new String[]{}), ", ");
  }
View Full Code Here

Examples of com.emc.vipr.model.sys.licensing.License

     * API Call: POST /license
     *
     * @param licenseText The text for the license file to upload.
     */
    public void set(String licenseText) {
        License license = new License();
        license.setLicenseText(licenseText);
      client.post(String.class, license, LICENSE_URL);
    }
View Full Code Here

Examples of com.m11n.android.model.License

    {
      Node node = children.item(i);
     
      if(License.ELEMENT_NAME.equals(node.getNodeName()))
      {
        License license = new License();
       
        license.setText(node.getTextContent());
       
        repository.setLicense(license);
      }
      else
      {
View Full Code Here

Examples of com.smardec.license4j.License

//    if ((new File(getProtectionLicensePath()).exists())
//        && (!ProtectionLicense.checkLicenseExpired())
//        && (ProtectionLicense.checkLicense())) {
//      e = new LicenseData(ProtectionLicense.getSoapUILicense());
//    }
    License l = new License();
    l.addFeature("organization", "yisufuyou-org");
    l.addFeature("name", "yisufyou-name");
    l.addFeature("type", LicenseType.PROFESSIONAL.name());
    Date d = new Date();
    d.setYear(2114);
    l.addFeature("expiration", d);
    l.addFeature("id", "yisufuyou-id");
    e = new LicenseData(l);
  }
View Full Code Here

Examples of com.splunk.License

import java.util.Date;

class LicenseNode extends EntityNode {
    LicenseNode(Entity value) {
        super(value);
        License license = (License)value;
        String displayName = license.getLabel();
        if (displayName == null) displayName = license.getName();
        setDisplayName(displayName);
    }
View Full Code Here

Examples of com.verhas.licensor.License

  private static PrintStream errorOutput = System.err;

  private void encode() throws Exception {
    try {
      OutputStream os = new FileOutputStream(commandLine.option("output"));
      os.write((new License().setLicense(
          new File(commandLine.option("license-file"))).loadKey(
          commandLine.option("keyring-file"),
          commandLine.option("key")).encodeLicense(commandLine
          .option("password"))).getBytes("utf-8"));
      os.close();
View Full Code Here

Examples of it.fmuia.apps.jling.License

        .getResourceAsStream("/META-INF/public-johndoe.pem"));
    PrivateKey privateKey = SecurityUtil.loadPrivateKey(JLing.class
        .getResourceAsStream("/META-INF/priv-johndoe.pem"));
    LicenseManager l = new LicenseManager(publicKey, privateKey,
        new LicenseProviderImpl());
    License license = new License("123141", "asfasfaf", "afasfa",
        "afasgags", LicenseType.FULL, null, null);
    l.writeLicense(
        license,
        new File(
            "C:/Users/muia/workspace web/progetti/jling/jling/src/main/resources/META-INF/license.dat"));
View Full Code Here

Examples of oms3.annotations.License

            sb.append("</ul>").append(NEWLINE);
            sb.append("</blockquote>");
            sb.append(NEWLINE);
        }
        // general info: license
        License license = moduleClass.getAnnotation(License.class);
        if (license != null) {
            String licenseStr = AnnotationUtilities.getLocalizedLicense(license);
            sb.append("<blockquote>");
            sb.append(" License: " + licenseStr).append(NEWLINE);
            sb.append("</blockquote>");
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.