All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.efaps.update.ImportUpdate Maven / Gradle / Ivy

/*
 * Copyright 2003 - 2012 The eFaps Team
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Revision:        $Rev: 7659 $
 * Last Changed:    $Date: 2012-06-13 23:23:03 -0500 (Wed, 13 Jun 2012) $
 * Last Changed By: $Author: [email protected] $
 */


package org.efaps.update;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.apache.commons.jexl.JexlContext;
import org.efaps.update.util.InstallationException;
import org.xml.sax.SAXException;


/**
 * Default implementation for import of objects by using xml.
 * Not supported yet.
 *
 * @author The eFaps Team
 * @version $Id: ImportUpdate.java 7659 2012-06-14 04:23:03Z [email protected] $
 */
public class ImportUpdate
    implements IUpdate
{

    /**
     * {@inheritDoc}
     */
    @Override
    public String getFileApplication()
    {
        return null;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public void readXML(final List _tags,
                        final Map _attributes,
                        final String _text)
        throws SAXException
    {
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public void updateInDB(final JexlContext _jexlContext,
                           final UpdateLifecycle _step,
                           final Set _profile)
        throws InstallationException
    {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy