Package org.structr.core.property

Examples of org.structr.core.property.LongProperty$InputConverter


        schema.setProperty(new StringProperty("url"), url);
        schema.setProperty(new StringProperty("type"), type.getSimpleName());
        schema.setProperty(new StringProperty("className"), type.getName());
        schema.setProperty(new StringProperty("isRel"), AbstractRelationship.class.isAssignableFrom(type));
        schema.setProperty(new LongProperty("flags"), SecurityContext.getResourceFlags(rawType));

      }


    }
View Full Code Here


        schema.setProperty(new StringProperty("url"), url);
        schema.setProperty(new StringProperty("type"), type.getSimpleName());
        schema.setProperty(new StringProperty("className"), type.getName());
        schema.setProperty(new StringProperty("isRel"), AbstractRelationship.class.isAssignableFrom(type));
        schema.setProperty(new LongProperty("flags"), SecurityContext.getResourceFlags(rawType));

        Set<String> propertyViews = new LinkedHashSet<>(StructrApp.getConfiguration().getPropertyViews());

        // list property sets for all views
        Map<String, Map<String, Object>> views = new TreeMap();
View Full Code Here

      for (final Integer count : counts.values()) {
        sum += count;
      }

      result.put(new LongProperty(Long.toString(current)), sum);
//      result.put(new LongProperty(format.format(current)), sum);  // uncomment this for human-readable debug output
    }

    return new Result(result, false);
  }
View Full Code Here

TOP

Related Classes of org.structr.core.property.LongProperty$InputConverter

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.