001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.exportimport.lifecycle;
016    
017    /**
018     * @author Daniel Kocsis
019     */
020    public interface ExportImportLifecycleConstants {
021    
022            public static final int EVENT_LAYOUT_EXPORT_FAILED = 1;
023    
024            public static final int EVENT_LAYOUT_EXPORT_STARTED = 3;
025    
026            public static final int EVENT_LAYOUT_EXPORT_SUCCEEDED = 2;
027    
028            public static final int EVENT_LAYOUT_IMPORT_FAILED = 4;
029    
030            public static final int EVENT_LAYOUT_IMPORT_STARTED = 6;
031    
032            public static final int EVENT_LAYOUT_IMPORT_SUCCEEDED = 5;
033    
034            public static final int EVENT_PORTLET_EXPORT_FAILED = 7;
035    
036            public static final int EVENT_PORTLET_EXPORT_STARTED = 9;
037    
038            public static final int EVENT_PORTLET_EXPORT_SUCCEEDED = 8;
039    
040            public static final int EVENT_PORTLET_IMPORT_FAILED = 10;
041    
042            public static final int EVENT_PORTLET_IMPORT_STARTED = 12;
043    
044            public static final int EVENT_PORTLET_IMPORT_SUCCEEDED = 11;
045    
046            public static final int EVENT_PUBLICATION_LAYOUT_LOCAL_FAILED = 13;
047    
048            public static final int EVENT_PUBLICATION_LAYOUT_LOCAL_STARTED = 15;
049    
050            public static final int EVENT_PUBLICATION_LAYOUT_LOCAL_SUCCEEDED = 14;
051    
052            public static final int EVENT_PUBLICATION_LAYOUT_REMOTE_FAILED = 16;
053    
054            public static final int EVENT_PUBLICATION_LAYOUT_REMOTE_STARTED = 18;
055    
056            public static final int EVENT_PUBLICATION_LAYOUT_REMOTE_SUCCEEDED = 17;
057    
058            public static final int EVENT_PUBLICATION_PORTLET_LOCAL_FAILED = 19;
059    
060            public static final int EVENT_PUBLICATION_PORTLET_LOCAL_STARTED = 21;
061    
062            public static final int EVENT_PUBLICATION_PORTLET_LOCAL_SUCCEEDED = 20;
063    
064            public static final int EVENT_STAGED_MODEL_EXPORT_FAILED = 22;
065    
066            public static final int EVENT_STAGED_MODEL_EXPORT_STARTED = 24;
067    
068            public static final int EVENT_STAGED_MODEL_EXPORT_SUCCEEDED = 23;
069    
070            public static final int EVENT_STAGED_MODEL_IMPORT_FAILED = 25;
071    
072            public static final int EVENT_STAGED_MODEL_IMPORT_STARTED = 27;
073    
074            public static final int EVENT_STAGED_MODEL_IMPORT_SUCCEEDED = 26;
075    
076            public static final int PROCESS_FLAG_LAYOUT_EXPORT_IN_PROCESS = 30;
077    
078            public static final int PROCESS_FLAG_LAYOUT_IMPORT_IN_PROCESS = 31;
079    
080            public static final int PROCESS_FLAG_LAYOUT_STAGING_IN_PROCESS = 32;
081    
082            public static final int PROCESS_FLAG_PORTLET_EXPORT_IN_PROCESS = 34;
083    
084            public static final int PROCESS_FLAG_PORTLET_IMPORT_IN_PROCESS = 35;
085    
086            public static final int PROCESS_FLAG_PORTLET_STAGING_IN_PROCESS = 36;
087    
088    }