FileReplicator.java :  » ERP-CRM-Financial » SourceTap-CRM » com » sourcetap » sfa » replication » Java Open Source

Java Open Source » ERP CRM Financial » SourceTap CRM 
SourceTap CRM » com » sourcetap » sfa » replication » FileReplicator.java
/*
 * 
 * Copyright (c) 2004 SourceTap - www.sourcetap.com
 *
 *  The contents of this file are subject to the SourceTap Public License 
 * ("License"); You may not use this file except in compliance with the 
 * License. You may obtain a copy of the License at http://www.sourcetap.com/license.htm
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 */

package com.sourcetap.sfa.replication;



/**
 * This class is used for replication of the AccountFile, DealFile, ContactFile,
 * ProductFile, and ActivitFile entities. <P>
 *
 * @author  <a href='mailto:jnutting@sourcetap.com'>John Nutting</a>
 */
public class FileReplicator extends EntityReplicator {
    public static final String module = FileReplicator.class.getName();

    /**
     * Populate the related entity map vector. This method is called from the constructors
     * to allow the related entities to be specified before replication begins.
     *
     * @author  <a href='mailto:jnutting@sourcetap.com'>John Nutting</a>
     */
    public void populateRelatedEntityMapVector() {
        // Add related entity maps for all entities to be replicated for each
        // replicated account.

        addRelatedEntityMap("", "FileAttachment", null, false, false,
            "com.sourcetap.sfa.replication.FileAttachmentReplicator");

        return;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.