Examples of RepresentationObject


Examples of eu.planets_project.pp.plato.services.crib_integration.remoteclient.RepresentationObject

            // all migration actions are done via the metaconverter
            metaconverterService = metaconverterServiceLocator.getMetaconverter();

            // prepare the data of the sample record for migration
            FileObject sampleFile = new FileObject(sampleObject.getData().getData(), sampleObject.getFullname());
            RepresentationObject representationObject = new RepresentationObject(new FileObject[]{sampleFile});

            // the action parameters specify which migration service is called
            MigrationPath migrationPath = new MigrationPath();
            LinkedList<String> urls = new LinkedList<String>();
            for (Parameter param : action.getParams()) {
View Full Code Here

Examples of eu.planets_project.pp.plato.services.crib_integration.tu_client.RepresentationObject

    
     */
    public boolean perform(PreservationActionDefinition action, SampleObject sampleObject) throws PlatoServiceException {
        try {
            FileObject sampleFile = new FileObject(sampleObject.getData().getData(), sampleObject.getFullname());
            RepresentationObject representationObject = new RepresentationObject(new FileObject[]{sampleFile});
            LinkedList<String> urls = new LinkedList<String>();
            for (Parameter param : action.getParams()) {
                if (param.getName().startsWith("crib::location")) {
                    urls.add(param.getValue());
                }
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.