/*
 * Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
 *
 * 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.
 */

 package net.micode.notes.tool;

 /**
  * 提供Google任务（GTask）相关的字符串常量工具类。
  * 包含GTask JSON数据结构中使用的键名常量，以及一些与笔记文件夹相关的常量。
  */
 public class GTaskStringUtils {
 
     // GTask JSON动作类型常量
     public final static String GTASK_JSON_ACTION_ID = "action_id"; // 动作ID
     public final static String GTASK_JSON_ACTION_LIST = "action_list"; // 动作列表
     public final static String GTASK_JSON_ACTION_TYPE = "action_type"; // 动作类型
 
     // GTask JSON动作类型具体值
     public final static String GTASK_JSON_ACTION_TYPE_CREATE = "create"; // 创建动作
     public final static String GTASK_JSON_ACTION_TYPE_GETALL = "get_all"; // 获取全部动作
     public final static String GTASK_JSON_ACTION_TYPE_MOVE = "move"; // 移动动作
     public final static String GTASK_JSON_ACTION_TYPE_UPDATE = "update"; // 更新动作
 
     // GTask JSON其他常量
     public final static String GTASK_JSON_CREATOR_ID = "creator_id"; // 创建者ID
     public final static String GTASK_JSON_CHILD_ENTITY = "child_entity"; // 子实体
     public final static String GTASK_JSON_CLIENT_VERSION = "client_version"; // 客户端版本
     public final static String GTASK_JSON_COMPLETED = "completed"; // 完成状态
     public final static String GTASK_JSON_CURRENT_LIST_ID = "current_list_id"; // 当前列表ID
     public final static String GTASK_JSON_DEFAULT_LIST_ID = "default_list_id"; // 默认列表ID
     public final static String GTASK_JSON_DELETED = "deleted"; // 删除标志
     public final static String GTASK_JSON_DEST_LIST = "dest_list"; // 目标列表
     public final static String GTASK_JSON_DEST_PARENT = "dest_parent"; // 目标父节点
     public final static String GTASK_JSON_DEST_PARENT_TYPE = "dest_parent_type"; // 目标父节点类型
     public final static String GTASK_JSON_ENTITY_DELTA = "entity_delta"; // 实体变化
     public final static String GTASK_JSON_ENTITY_TYPE = "entity_type"; // 实体类型
     public final static String GTASK_JSON_GET_DELETED = "get_deleted"; // 获取已删除项
     public final static String GTASK_JSON_ID = "id"; // ID
     public final static String GTASK_JSON_INDEX = "index"; // 索引
     public final static String GTASK_JSON_LAST_MODIFIED = "last_modified"; // 最后修改时间
     public final static String GTASK_JSON_LATEST_SYNC_POINT = "latest_sync_point"; // 最新同步点
     public final static String GTASK_JSON_LIST_ID = "list_id"; // 列表ID
     public final static String GTASK_JSON_LISTS = "lists"; // 列表
     public final static String GTASK_JSON_NAME = "name"; // 名称
     public final static String GTASK_JSON_NEW_ID = "new_id"; // 新ID
     public final static String GTASK_JSON_NOTES = "notes"; // 笔记
     public final static String GTASK_JSON_PARENT_ID = "parent_id"; // 父节点ID
     public final static String GTASK_JSON_PRIOR_SIBLING_ID = "prior_sibling_id"; // 前一个兄弟节点ID
     public final static String GTASK_JSON_RESULTS = "results"; // 结果
     public final static String GTASK_JSON_SOURCE_LIST = "source_list"; // 源列表
     public final static String GTASK_JSON_TASKS = "tasks"; // 任务
     public final static String GTASK_JSON_TYPE = "type"; // 类型
     public final static String GTASK_JSON_TYPE_GROUP = "GROUP"; // 组类型
     public final static String GTASK_JSON_TYPE_TASK = "TASK"; // 任务类型
     public final static String GTASK_JSON_USER = "user"; // 用户
 
     // MIUI笔记文件夹前缀
     public final static String MIUI_FOLDER_PREFFIX = "[MIUI_Notes]";
     
     // 默认文件夹名称
     public final static String FOLDER_DEFAULT = "Default";
     
     // 通话笔记文件夹名称
     public final static String FOLDER_CALL_NOTE = "Call_Note";
     
     // 元数据文件夹名称
     public final static String FOLDER_META = "METADATA";
 
     // 元数据头部常量
     public final static String META_HEAD_GTASK_ID = "meta_gid"; // GTask ID
     public final static String META_HEAD_NOTE = "meta_note"; // 笔记
     public final static String META_HEAD_DATA = "meta_data"; // 数据
 
     // 特殊笔记名称，用于存储元数据
     public final static String META_NOTE_NAME = "[META INFO] DON'T UPDATE AND DELETE";
 }