Package org.structr.rest.resource

Examples of org.structr.rest.resource.ViewFilterResource.configureIdProperty()


        // check views first
        if (propertyViews.contains(part)) {
       
          Resource resource = new ViewFilterResource();
          resource.checkAndConfigure(part, securityContext, request);
          resource.configureIdProperty(defaultIdProperty);
          resource.configurePropertyView(propertyView);
         
          resourceChain.add(resource);
         
          // mark this part as successfully parsed
View Full Code Here


                  logger.log(Level.FINE, "{0} matched, adding resource of type {1} for part {2}", new Object[] { matcher.pattern(), type.getName(),
                    part });

                  // allow constraint to modify context
                  resource.configurePropertyView(propertyView);
                  resource.configureIdProperty(defaultIdProperty);

                  // add constraint and go on
                  resourceChain.add(resource);

                  found = true;
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.