/* * Copyright 2013 JNRain * * 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 org.jnrain.mobile.ui.kbs; public final class KBSUIConstants { // Section public static final String SECTION_STORE = "_sec"; public static final String SECTIONS_LIST_STORE = "_sections"; // Board public static final String BOARD_ID_STORE = "_brdId"; public static final String BOARDS_LIST_STORE = "_boards"; // Thread public static final String THREAD_ID_STORE = "_tid"; public static final String THREADS_COUNT_STORE = "_totalThreads"; // Post public static final String POST_TITLE_STORE = "_title"; public static final String POST_COUNT_STORE = "_totalPosts"; public static final String POSTS_LIST_STORE = "_posts"; public static final String POST_REPLY_ID_STORE = "_inReplyTo"; public static final String GLOBAL_HOT_POSTS_STORE = "_hotPostsGlobal"; // Other constants public static final String PAGE_STORE = "_page"; public static final String IS_NEW_THREAD_STORE = "_isNewThread"; public static final int THREADS_PER_PAGE = 30; public static final int POSTS_PER_PAGE = 10; public static final long REG_CHECK_UID_INTERVAL_MILLIS = 2500; }