Examples of asResource()


Examples of org.jboss.as.console.mbui.model.mapping.AddressMapping.asResource()

            {
                String address = mapping.getResolvedAddress();
                if (!resolvedAdresses.contains(address))
                {
                    AddressMapping addressMapping = AddressMapping.fromString(address);
                    ModelNode op = addressMapping.asResource(new FilteringStatementContext(
                            statementContext,
                            new FilteringStatementContext.Filter() {
                                @Override
                                public String filter(String key) {
                                    if("selected.entity".equals(key))
View Full Code Here

Examples of org.jboss.mbui.model.mapping.as7.AddressMapping.asResource()

            {
                String address = mapping.getAddress();
                if (!resolvedAdresses.contains(address))
                {
                    AddressMapping addressMapping = AddressMapping.fromString(address);
                    ModelNode op = addressMapping.asResource(new DelegatingStatementContext()
                    {
                        @Override
                        public String resolve(String key)
                        {
                            // fallback strategy for values that are created at runtime, i.e. datasource={selected.entity}
View Full Code Here

Examples of org.ontoware.rdf2go.model.node.Node.asResource()

      lstIsInSuggested = new ArrayList<XfoafSscfResource>();
    }
    for (QueryRow qr:results) {
      Node value = qr.getValue(results.getVariables().get(0));
      XfoafSscfResource x = XfoafSscfResource
          .getXfoafSscfResource(value.asResource().toString());
      this.lstIsInSuggested.add(x);
    }
  }
 
  protected void initLstIsIn() {
View Full Code Here

Examples of org.topbraid.spin.model.Query.asResource()

        fis.close();
       
        Query q = ARQ2SPIN.parseQuery(queryStr, baseModel);
       
        baseModel.add(baseModel.getResource("http://www.w3.org/ns/prov#Activity"),
            baseModel.getProperty("http://spinrdf.org/spin#rule"), q.asResource());
      }
    }
   
    File entity_rules_dir = new File(ENTITY_INFERENCE_DIR);
   
View Full Code Here

Examples of playRepository.Commit.asResource()

        if (commit == null) {
            return notFound(notfound.render("error.notfound", project, request().path()));
        }

        if (!AccessControl.isResourceCreatable(
                    UserApp.currentUser(), commit.asResource(project), ResourceType.COMMIT_COMMENT)) {
            return forbidden(ErrorViews.Forbidden.render("error.forbidden", project));
        }

        CommitComment codeComment = codeCommentForm.get();
        codeComment.project = project;
View Full Code Here

Examples of playRepository.PlayRepository.asResource()

            operation = Operation.READ;
        }

        PlayRepository repository = RepositoryService.getRepository(project);
        return AccessControl
                .isAllowed(UserApp.currentUser(), repository.asResource(), operation);

    }

    public static Result service(String ownerName, String projectName, String service,
            boolean isAdvertise) throws IOException, UnsupportedOperationException,
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.