Examples of RESTified


Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param objectKey             key pointing to the object
     * @return form-open element for a nested resource object
     */
    public static String formForOpen(String parentResourceName,
            String parentObjectKey, String resourceName, String objectKey) {
        RESTified parentRecord = getAndValidateObject(parentResourceName, parentObjectKey);
        RESTified object = getAndValidateObject(resourceName, objectKey);
        storeObjectToCurrentCache(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForNestedResourceRecord(parentResourceName, parentRecord, resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param object                an ActiveRecord object
     * @return form-open element for a nested resource object
     */
    public static String formForOpen(String parentResourceName,
            String parentObjectKey, String resourceName, ActiveRecord object) {
        RESTified parentRecord = getAndValidateObject(parentResourceName, parentObjectKey);
        storeObjectToCurrentCache(object);
        String objectKey = ActiveRecordUtil.getModelName(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForNestedResourceRecord(parentResourceName, parentRecord, resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param objectKey             key pointing to the object
     * @return form-open element for a nested resource object
     */
    public static String formForOpen(String parentResourceName,
            RESTified parentObject, String resourceName, String objectKey) {
        RESTified parentRecord = validateObject(parentResourceName, parentObject);
        RESTified object = getAndValidateObject(resourceName, objectKey);
        storeObjectToCurrentCache(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForNestedResourceRecord(parentResourceName, parentRecord, resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param object                an ActiveRecord object
     * @return form-open element for a nested resource object
     */
    public static String formForOpen(String parentResourceName,
            RESTified parentObject, String resourceName, ActiveRecord object) {
        RESTified parentRecord = validateObject(parentResourceName, parentObject);
        storeObjectToCurrentCache(object);
        String objectKey = ActiveRecordUtil.getModelName(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForNestedResourceRecord(parentResourceName, parentRecord, resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @return form-open element for a nested resource object
     */
    public static String formForOpen(String[] parentResourceNames,
            Object[] parentRestfuls, String resourceName, String objectKey) {
        Object[] parentRecords = validateParentObject(parentResourceNames, parentRestfuls);
        RESTified object = getAndValidateObject(resourceName, objectKey);
        storeObjectToCurrentCache(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForNestedResourceRecord(parentResourceNames, parentRecords, resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param resourceName      name of the resource
     * @param objectKey         key pointing to the object
     * @return form-open element for a resource object
     */
    public static String formForOpen(String resourceName, String objectKey) {
        RESTified object = getAndValidateObject(resourceName, objectKey);
        storeObjectToCurrentCache(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForResource(resourceName, object);
    }
View Full Code Here

Examples of com.scooterframework.orm.sqldataexpress.object.RESTified

     * @param resourceName      name of the resource
     * @param object            an ActiveRecord object
     * @return form-open element for a resource object
     */
    public static String formForOpen(String resourceName, ActiveRecord object) {
        RESTified record = validateObject(resourceName, object);
        storeObjectToCurrentCache(object);
        String objectKey = ActiveRecordUtil.getModelName(object);
        storeObjectKeyToCurrentCache(objectKey);
        return R.formForResource(resourceName, record);
    }
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.