001/*
002 * (C) Copyright 2018 Nuxeo (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     Funsho David
018 */
019
020package org.nuxeo.ecm.core.io.marshallers.csv;
021
022/**
023 * @since 10.3
024 */
025public class CSVMarshallerConstants {
026
027    // Header fields
028
029    public static final String REPOSITORY_FIELD = "repository";
030
031    public static final String UID_FIELD = "uid";
032
033    public static final String PATH_FIELD = "path";
034
035    public static final String TYPE_FIELD = "type";
036
037    public static final String STATE_FIELD = "state";
038
039    public static final String PARENT_REF_FIELD = "parentRef";
040
041    public static final String IS_CHECKED_OUT_FIELD = "isCheckedOut";
042
043    public static final String IS_VERSION_FIELD = "isVersion";
044
045    public static final String IS_PROXY_FIELD = "isProxy";
046
047    public static final String PROXY_TARGET_ID_FIELD = "proxyTargetId";
048
049    public static final String VERSIONABLE_ID_FIELD = "versionableId";
050
051    public static final String CHANGE_TOKEN_FIELD = "changeToken";
052
053    public static final String IS_TRASHED_FIELD = "isTrashed";
054
055    public static final String TITLE_FIELD = "title";
056
057    public static final String VERSION_LABEL_FIELD = "versionLabel";
058
059    /** @since 11.1 */
060    public static final String IS_RECORD_FIELD = "isRecord";
061
062    /** @since 11.1 */
063    public static final String RETAIN_UNTIL_FIELD = "retainUntil";
064
065    /** @since 11.1 */
066    public static final String HAS_LEGAL_HOLD_FIELD = "hasLegalHold";
067
068    /** @since 11.1 */
069    public static final String IS_UNDER_RETENTION_OR_LEGAL_HOLD_FIELD = "isUnderRetentionOrLegalHold";
070
071    public static final String LOCK_OWNER_FIELD = "lockOwner";
072
073    public static final String LOCK_CREATED_FIELD = "lockCreated";
074
075    public static final String LAST_MODIFIED_FIELD = "lastModified";
076
077    private CSVMarshallerConstants() {
078        // utility class
079    }
080}