You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
5.4 KiB
113 lines
5.4 KiB
/*
|
|
* 版权所有 (c) 2010-2011, The MiCode 开源社区 (www.micode.net)
|
|
*
|
|
* 根据 Apache License, Version 2.0(“许可证”)获得许可;
|
|
* 除非遵守许可证,否则不得使用此文件。
|
|
* 您可以在以下网址获得许可证的副本:
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* 除非适用法律要求或书面同意,否则根据许可证分发的软件以“原样”分发,
|
|
* 没有任何明示或暗示的保证,包括但不限于适销性、针对特定用途的适用性等任何明示或暗示的保证。
|
|
* 请参阅许可证以获取有关许可下的权利和限制的特定语言。
|
|
*/
|
|
|
|
package net.micode.notes.tool; // 定义包名
|
|
|
|
public class GTaskStringUtils {
|
|
// 定义GTASK JSON动作ID
|
|
public final static String GTASK_JSON_ACTION_ID = "action_id";
|
|
// 定义GTASK JSON动作列表
|
|
public final static String GTASK_JSON_ACTION_LIST = "action_list";
|
|
// 定义GTASK JSON动作类型
|
|
public final static String GTASK_JSON_ACTION_TYPE = "action_type";
|
|
// 定义GTASK JSON动作类型创建
|
|
public final static String GTASK_JSON_ACTION_TYPE_CREATE = "create";
|
|
// 定义GTASK JSON动作类型获取全部
|
|
public final static String GTASK_JSON_ACTION_TYPE_GETALL = "get_all";
|
|
// 定义GTASK JSON动作类型移动
|
|
public final static String GTASK_JSON_ACTION_TYPE_MOVE = "move";
|
|
// 定义GTASK JSON动作类型更新
|
|
public final static String GTASK_JSON_ACTION_TYPE_UPDATE = "update";
|
|
// 定义GTASK JSON创建者ID
|
|
public final static String GTASK_JSON_CREATOR_ID = "creator_id";
|
|
// 定义GTASK JSON子实体
|
|
public final static String GTASK_JSON_CHILD_ENTITY = "child_entity";
|
|
// 定义GTASK JSON客户端版本
|
|
public final static String GTASK_JSON_CLIENT_VERSION = "client_version";
|
|
// 定义GTASK JSON完成状态
|
|
public final static String GTASK_JSON_COMPLETED = "completed";
|
|
// 定义GTASK JSON当前列表ID
|
|
public final static String GTASK_JSON_CURRENT_LIST_ID = "current_list_id";
|
|
// 定义GTASK JSON默认列表ID
|
|
public final static String GTASK_JSON_DEFAULT_LIST_ID = "default_list_id";
|
|
// 定义GTASK JSON已删除
|
|
public final static String GTASK_JSON_DELETED = "deleted";
|
|
// 定义GTASK JSON目标列表
|
|
public final static String GTASK_JSON_DEST_LIST = "dest_list";
|
|
// 定义GTASK JSON目标父级
|
|
public final static String GTASK_JSON_DEST_PARENT = "dest_parent";
|
|
// 定义GTASK JSON目标父级类型
|
|
public final static String GTASK_JSON_DEST_PARENT_TYPE = "dest_parent_type";
|
|
// 定义GTASK JSON实体变化
|
|
public final static String GTASK_JSON_ENTITY_DELTA = "entity_delta";
|
|
// 定义GTASK JSON实体类型
|
|
public final static String GTASK_JSON_ENTITY_TYPE = "entity_type";
|
|
// 定义GTASK JSON获取已删除
|
|
public final static String GTASK_JSON_GET_DELETED = "get_deleted";
|
|
// 定义GTASK JSON ID
|
|
public final static String GTASK_JSON_ID = "id";
|
|
// 定义GTASK JSON 索引
|
|
public final static String GTASK_JSON_INDEX = "index";
|
|
// 定义GTASK JSON最后修改时间
|
|
public final static String GTASK_JSON_LAST_MODIFIED = "last_modified";
|
|
// 定义GTASK JSON最新同步点
|
|
public final static String GTASK_JSON_LATEST_SYNC_POINT = "latest_sync_point";
|
|
// 定义GTASK JSON列表ID
|
|
public final static String GTASK_JSON_LIST_ID = "list_id";
|
|
// 定义GTASK JSON列表
|
|
public final static String GTASK_JSON_LISTS = "lists";
|
|
// 定义GTASK JSON名称
|
|
public final static String GTASK_JSON_NAME = "name";
|
|
// 定义GTASK JSON新ID
|
|
public final static String GTASK_JSON_NEW_ID = "new_id";
|
|
// 定义GTASK JSON备注
|
|
public final static String GTASK_JSON_NOTES = "notes";
|
|
// 定义GTASK JSON父级ID
|
|
public final static String GTASK_JSON_PARENT_ID = "parent_id";
|
|
// 定义GTASK JSON前一个兄弟ID
|
|
public final static String GTASK_JSON_PRIOR_SIBLING_ID = "prior_sibling_id";
|
|
// 定义GTASK JSON结果
|
|
public final static String GTASK_JSON_RESULTS = "results";
|
|
// 定义GTASK JSON源列表
|
|
public final static String GTASK_JSON_SOURCE_LIST = "source_list";
|
|
// 定义GTASK JSON任务
|
|
public final static String GTASK_JSON_TASKS = "tasks";
|
|
// 定义GTASK JSON类型
|
|
public final static String GTASK_JSON_TYPE = "type";
|
|
// 定义GTASK JSON类型组
|
|
public final static String GTASK_JSON_TYPE_GROUP = "GROUP";
|
|
// 定义GTASK JSON类型任务
|
|
public final static String GTASK_JSON_TYPE_TASK = "TASK";
|
|
// 定义GTASK JSON用户
|
|
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";
|
|
// 定义元数据GTASK ID头部
|
|
public final static String META_HEAD_GTASK_ID = "meta_gid";
|
|
// 定义元数据笔记头部
|
|
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";
|
|
}
|
|
|