Package org.structr.schema.action

Examples of org.structr.schema.action.ActionContext


      final List source = (List)listSource;

      for (Object obj : source) {

        eachExpression.evaluate(securityContext, new ActionContext(ctx, entity, obj), entity);
      }
    }

    return null;
  }
View Full Code Here


      final List source = (List)listSource;

      for (Object obj : source) {

        final Object result = filterExpression.evaluate(securityContext, new ActionContext(ctx, entity, obj), entity);
        if (result instanceof Boolean) {

          if ((Boolean)result) {

            target.add(obj);
View Full Code Here

    }

    // check property access in template expressions
    try (final Tx tx = app.tx()) {

      assertEquals(parent.toString(), child1.replaceVariables(securityContext, new ActionContext(), "${this.parentItem}"));

      tx.success();


    } catch (FrameworkException fex) {
View Full Code Here

    if (obj instanceof AbstractNode) {

      try {

        return (T)Functions.evaluate(securityContext, new ActionContext(), obj, format);

      } catch (Throwable t) {
        t.printStackTrace();
      }
    }
View Full Code Here

TOP

Related Classes of org.structr.schema.action.ActionContext

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.