Package er.rest.entityDelegates

Examples of er.rest.entityDelegates.IERXRestEntityDelegate


        return entityName;
    }

    public IERXRestEntityDelegate entityDelegate(EOEntity entity) {
        String entityName = entity.name();
        IERXRestEntityDelegate entityDelegate = (IERXRestEntityDelegate) ERXThreadStorage.valueForKey("restEntityDelegate." + entityName);
        if (entityDelegate == null) {
            entityDelegate = (IERXRestEntityDelegate) d2wContext().valueForKey("restEntityDelegate");
            if (entityDelegate == null) {
                entityDelegate = _defaultDelegate;
            }
            ERXThreadStorage.takeValueForKey(entityDelegate, "restEntityDelegate." + entityName);
        }
        d2wContext().setEntity(entity);
        entityDelegate.initializeEntityNamed(entityName);
        return entityDelegate;
    }
View Full Code Here

TOP

Related Classes of er.rest.entityDelegates.IERXRestEntityDelegate

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.