Package org.jbpm.formapi.shared.api.items

Examples of org.jbpm.formapi.shared.api.items.ServerTransformationRepresentation


        this.language = extractString(asPropertiesMap.get("language"));
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        ServerTransformationRepresentation rep = getRepresentation(new ServerTransformationRepresentation());
        rep.setScript(this.script.getValue());
        rep.setLanguage(this.language);
        return rep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof ServerTransformationRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ServerTransformationRepresentation"));
        }
        super.populate(rep);
        ServerTransformationRepresentation srep = (ServerTransformationRepresentation) rep;
        this.setScriptContent(srep.getScript());
        srep.setLanguage(this.language);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.shared.api.items.ServerTransformationRepresentation

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.