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

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


        }
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        VideoRepresentation rep = super.getRepresentation(new VideoRepresentation());
        rep.setVideoUrl(this.videoUrl);
        rep.setCssClassName(this.cssClassName);
        rep.setDataType(this.dataType);
        rep.setId(this.id);
        return rep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof VideoRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "VideoRepresentation"));
        }
        super.populate(rep);
        VideoRepresentation vrep = (VideoRepresentation) rep;
        this.videoUrl = vrep.getVideoUrl();
        this.cssClassName = vrep.getCssClassName();
        this.id = vrep.getId();
        this.dataType = vrep.getDataType();

        populate(this.video);
    }
View Full Code Here

TOP

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

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.