/* * Copyright 2005 The Apache Software Foundation. * * 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. */ namespace PhoneBook.Core { /// /// Tokens representing context keys. /// /// public class App { private App() { // No need to construct static helper class } #region Properties /// /// Token for Catalog property. /// /// public const string CATALOG_KEY = "Catalog"; /// /// Token for entry_key property. /// /// public const string ENTRY_KEY = "entry_key"; /// /// Token for first_name property. /// /// public const string FIRST_NAME = "first_name"; /// /// Token for last_name property. /// /// public const string LAST_NAME = "last_name"; /// /// Token for user_name property. /// /// public const string USER_NAME = "user_name"; /// /// Token for extension property. /// /// public const string EXTENSION = "extension"; /// /// Token for hired property. /// /// public const string HIRED = "hired"; /// /// Token for hours property. /// /// public const string HOURS = "hours"; /// /// Token for editor property. /// /// public const string EDITOR = "editor"; #endregion #region Commands public const string FROM_DATE = "from_date"; public const string THRU_DATE = "thru_date"; /// /// Token for SQL LIMIT clause. /// /// public const string ITEM_LIMIT = "item_limit"; /// /// Token for SQL OFFSET clause. /// /// public const string ITEM_OFFSET = "item_offset"; /// /// Token for SQL COUNT clause. /// /// public const string ITEM_COUNT = "item_count"; /// /// Token for select one command. /// /// public const string ENTRY = "entry"; /// /// Token for list all command. /// /// public const string ENTRY_LIST = "entry_list"; /// /// Token for Entry Initial command. /// /// public const string ENTRY_INITIAL = "entry_initial"; /// /// Token for List Last Names command. /// /// public const string LAST_NAME_LIST = "last_name_list"; /// /// Token for List Last Names command. /// /// public const string FIRST_NAME_LIST = "first_name_list"; /// /// Token for List Extensions command. /// /// public const string EXTENSION_LIST = "extension_list"; /// /// Token for List UserNames command. /// /// public const string USER_NAME_LIST = "user_name_list"; /// /// Token for List Hire Dates command. /// /// public const string HIRED_LIST = "hired_list"; /// /// Token for List Hours command. /// /// public const string HOURS_LIST = "hours_list"; /// /// Token for Entry Find command. /// /// public const string ENTRY_FIND = "entry_find"; /// /// Token for Entry Save command. /// /// public const string ENTRY_SAVE = "entry_save"; /// /// Token for Entry Delete command. /// /// public const string ENTRY_DELETE = "entry_delete"; #endregion #region Messages /// /// Token for Directory page title. /// public const string DIRECTORY_TITLE = "directory_title"; /// /// Token for Directory directory page heading. /// public const string DIRECTORY_HEADING = "directory_heading"; /// /// Token for Directory page prompt. /// public const string DIRECTORY_PROMPT = "directory_prompt"; #endregion } }