001/**
002 * Copyright 2014 Tampere University of Technology, Pori Department
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 */
016package service.tut.pori.twitterjazz;
017
018/**
019 * Definitions for package twitterjazz.
020 */
021public final class Definitions {
022  /* services */
023  /** service name declaration */
024  public static final String SERVICE_TJ = "tj";
025  /* elements */
026  /** xml element declaration */
027  public static final String ELEMENT_TWITTER_PROFILE = "profile";
028  /** xml element declaration */
029  public static final String ELEMENT_BIO = "bio";
030  /** xml element declaration */
031  public static final String ELEMENT_CREATED_TIMESTAMP = "createdTimestamp";
032  /** xml element declaration */
033  public static final String ELEMENT_DESCRIPTION = "description";
034  /** xml element declaration */
035  public static final String ELEMENT_FAVORITES_COUNT = "favoritesCount";
036  /** xml element declaration */
037  public static final String ELEMENT_FOLLOWERS_COUNT = "followersCount";
038  /** xml element declaration */
039  public static final String ELEMENT_FRIENDS_COUNT = "friendsCount";
040  /** xml element declaration */
041  public static final String ELEMENT_LATITUDE = "latitude";
042  /** xml element declaration */
043  public static final String ELEMENT_LOCATION = "location";
044  /** xml element declaration */
045  public static final String ELEMENT_LONGITUDE = "longitude";
046  /** xml element declaration */
047  public static final String ELEMENT_NAME = "name";
048  /** xml element declaration */
049  public static final String ELEMENT_MESSAGE = "message";
050  /** xml element declaration */
051  public static final String ELEMENT_MESSAGE_POSTER = "from";
052  /** xml element declaration */
053  public static final String ELEMENT_PHOTO_DESCRIPTION = "photoDescription";
054  /** xml element declaration */
055  public static final String ELEMENT_PHOTO_DESCRIPTION_LIST = "photoDescriptionList";
056  /** xml element declaration */
057  public static final String ELEMENT_PHOTO_GUID = "photoUID";
058  /** xml element declaration */
059  public static final String ELEMENT_PHOTO_TAG = "photoTag";
060  /** xml element declaration */
061  public static final String ELEMENT_PHOTO_TAG_LIST = "photoTagList";
062  /** xml element declaration */
063  public static final String ELEMENT_SCREEN_NAME = "screenName";
064  /** xml element declaration */
065  public static final String ELEMENT_STATUS_MESSAGE = "statusMessage";
066  /** xml element declaration */
067  public static final String ELEMENT_STATUS_MESSAGE_LIST = "statusMessageList";
068  /** xml element declaration */
069  public static final String ELEMENT_TWITTER_ID = "twitterId";
070  /** xml element declaration */
071  public static final String ELEMENT_UPDATED_TIMESTAMP = "updatedTimestamp";
072  /** xml element declaration */
073  public static final String ELEMENT_USER_DETAILS = "userDetails";
074  /** xml element declaration */
075  public static final String ELEMENT_VALUE = "value";
076  /** xml element declaration */
077  public static final String ELEMENT_VIDEO_DESCRIPTION = "videoDescription";
078  /** xml element declaration */
079  public static final String ELEMENT_VIDEO_DESCRIPTION_LIST = "videoDescriptionList";
080  
081  /* methods */
082  /** service method declaration */
083  public static final String METHOD_RETRIEVE_TAGS_FOR_USER = "getTags";
084  /** service method declaration */
085  public static final String METHOD_SET_RANK = "setRank";
086  /** service method declaration */
087  public static final String METHOD_SUMMARIZE = "summarize";
088  
089  /* params */
090  /** service method parameter declaration */
091  public static final String PARAMETER_CONTENT_TYPES = "content_types";
092  /** service method parameter declaration */
093  public static final String PARAMETER_RANK = "rank";
094  /** service method parameter declaration */
095  public static final String PARAMETER_SCREEN_NAMES = "screen_names";
096  /** service method parameter declaration */
097  public static final String PARAMETER_SYNCHRONIZE = "synchronize";
098  
099  /* types */
100  /** media entity type for photos */
101  public static final String TWITTER_TYPE_PHOTO = "photo";
102  /** media entity type for videos */
103  public static final String TWITTER_TYPE_VIDEO = "video";
104  
105  /**
106   * 
107   */
108  private Definitions(){
109    // nothing needed
110  }
111}