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.facebookjazz; 017 018 019/** 020 * Definitions for facebookjazz package. 021 */ 022public final class Definitions { 023 /** service name declaration */ 024 public static final String SERVICE_FBJ = "fbj"; 025 026 /* attributes */ 027 /** xml attribute declaration */ 028 public static final String ATTRIBUTE_WEIGHT = "weight"; 029 030 /* elements */ 031 /** xml element declaration */ 032 public static final String ELEMENT_COMMENT_LIST = "commentList"; 033 /** xml element declaration */ 034 public static final String ELEMENT_EVENT_LIST = "eventList"; 035 /** xml element declaration */ 036 public static final String ELEMENT_FACEBOOK_PROFILE = "profile"; 037 /** xml element declaration */ 038 public static final String ELEMENT_GROUP_LIST = "groupList"; 039 /** xml element declaration */ 040 public static final String ELEMENT_LIKE_LIST = "likeList"; 041 /** xml element declaration */ 042 public static final String ELEMENT_PHOTO_DESCRIPTION_LIST = "photoDescriptionList"; 043 /** xml element declaration */ 044 public static final String ELEMENT_PHOTO_TAG_LIST = "photoTagList"; 045 /** xml element declaration */ 046 public static final String ELEMENT_RELATIONSHIP_LIST = "relationshipList"; 047 /** xml element declaration */ 048 public static final String ELEMENT_STATUS_MESSAGE_LIST = "statusMessageList"; 049 /** xml element declaration */ 050 public static final String ELEMENT_VIDEO_DESCRIPTION_LIST = "videoDescriptionList"; 051 /** xml element declaration */ 052 public static final String ELEMENT_WEIGHT_MODIFIER_LIST = "weightModifierList"; 053 /** xml element declaration */ 054 public static final String ELEMENT_BACKEND_ID = "backendId"; 055 /** xml element declaration */ 056 public static final String ELEMENT_BIO = "bio"; 057 /** xml element declaration */ 058 public static final String ELEMENT_BIRTHDAY = "birthday"; 059 /** xml element declaration */ 060 public static final String ELEMENT_CATEGORY = "category"; 061 /** xml element declaration */ 062 public static final String ELEMENT_CITY = "city"; 063 /** xml element declaration */ 064 public static final String ELEMENT_COMMENT = "comment"; 065 /** xml element declaration */ 066 public static final String ELEMENT_COUNTRY = "country"; 067 /** xml element declaration */ 068 public static final String ELEMENT_CREATED_TIMESTAMP = "createdTimestamp"; 069 /** xml element declaration */ 070 public static final String ELEMENT_DESCRIPTION = "description"; 071 /** xml element declaration */ 072 public static final String ELEMENT_END_TIMESTAMP = "endTimestamp"; 073 /** xml element declaration */ 074 public static final String ELEMENT_EVENT = "event"; 075 /** xml element declaration */ 076 public static final String ELEMENT_FACEBOOK_ID = "facebookId"; 077 /** xml element declaration */ 078 public static final String ELEMENT_GENDER = "gender"; 079 /** xml element declaration */ 080 public static final String ELEMENT_GROUP = "group"; 081 /** xml element declaration */ 082 public static final String ELEMENT_HOMETOWN = "hometown"; 083 /** xml element declaration */ 084 public static final String ELEMENT_LIKE = "like"; 085 /** xml element declaration */ 086 public static final String ELEMENT_LIKE_COUNT = "likeCount"; 087 /** xml element declaration */ 088 public static final String ELEMENT_LOCATION = "location"; 089 /** xml element declaration */ 090 public static final String ELEMENT_MESSAGE = "message"; 091 /** xml element declaration */ 092 public static final String ELEMENT_MESSAGE_POSTER = "from"; 093 /** xml element declaration */ 094 public static final String ELEMENT_NAME = "name"; 095 /** xml element declaration */ 096 public static final String ELEMENT_NGRAMS = "nGrams"; 097 /** xml element declaration */ 098 public static final String ELEMENT_OWNER = "owner"; 099 /** xml element declaration */ 100 public static final String ELEMENT_PHOTO_DESCRIPTION = "photoDescription"; 101 /** xml element declaration */ 102 public static final String ELEMENT_PHOTO_GUID = "photoUID"; 103 /** xml element declaration */ 104 public static final String ELEMENT_PHOTO_TAG = "photoTag"; 105 /** xml element declaration */ 106 public static final String ELEMENT_POLITICAL = "political"; 107 /** xml element declaration */ 108 public static final String ELEMENT_PRIVACY = "groupPrivacy"; 109 /** xml element declaration */ 110 public static final String ELEMENT_PROFILE_ID = "profileId"; 111 /** xml element declaration */ 112 public static final String ELEMENT_RANK = "rank"; 113 /** xml element declaration */ 114 public static final String ELEMENT_RELATIONSHIP = "relationship"; 115 /** xml element declaration */ 116 public static final String ELEMENT_RELATIONSHIP_TYPE = "relationshipType"; 117 /** xml element declaration */ 118 public static final String ELEMENT_RELATIONSHIP_WITH = "with"; 119 /** xml element declaration */ 120 public static final String ELEMENT_RELIGION = "religion"; 121 /** xml element declaration */ 122 public static final String ELEMENT_RESULT_INFO = "resultInfo"; 123 /** xml element declaration */ 124 public static final String ELEMENT_RSVP_STATUS = "RSVPStatus"; 125 /** xml element declaration */ 126 public static final String ELEMENT_SOURCE = "source"; 127 /** xml element declaration */ 128 public static final String ELEMENT_START_TIMESTAMP = "startTimestamp"; 129 /** xml element declaration */ 130 public static final String ELEMENT_STATE = "state"; 131 /** xml element declaration */ 132 public static final String ELEMENT_STATUS = "status"; 133 /** xml element declaration */ 134 public static final String ELEMENT_STATUS_MESSAGE = "statusMessage"; 135 /** xml element declaration */ 136 public static final String ELEMENT_UID = "UID"; 137 /** xml element declaration */ 138 public static final String ELEMENT_UPDATED_TIMESTAMP = "updatedTimestamp"; 139 /** xml element declaration */ 140 public static final String ELEMENT_USER_DETAILS = "userDetails"; 141 /** xml element declaration */ 142 public static final String ELEMENT_VALUE = "value"; 143 /** xml element declaration */ 144 public static final String ELEMENT_VIDEO_DESCRIPTION = "videoDescription"; 145 /** xml element declaration */ 146 public static final String ELEMENT_VISIBILITY = "visibility"; 147 /** xml element declaration */ 148 public static final String ELEMENT_WEIGHT = "weight"; 149 /** xml element declaration */ 150 public static final String ELEMENT_WEIGHT_MODIFIER = "weightModifier"; 151 /** xml element declaration */ 152 public static final String ELEMENT_WEIGHT_MODIFIER_TYPE = "modifierType"; 153 154 /* params */ 155 /** service method parameter declaration */ 156 public static final String PARAMETER_CONTENT_TYPES = "content_types"; 157 /** service method parameter declaration */ 158 public static final String PARAMETER_RANK = "rank"; 159 /** service method parameter declaration */ 160 public static final String PARAMETER_SYNCHRONIZE = "synchronize"; 161 162 /* methods */ 163 /** service method declaration */ 164 public static final String METHOD_RETRIEVE_TAG_WEIGHTS = "getTagWeights"; 165 /** service method declaration */ 166 public static final String METHOD_RETRIEVE_TAGS_FOR_USER = "getTags"; 167 /** service method declaration */ 168 public static final String METHOD_SET_RANK = "setRank"; 169 /** service method declaration */ 170 public static final String METHOD_SET_TAG_WEIGHTS = "setTagWeights"; 171 /** service method declaration */ 172 public static final String METHOD_SUMMARIZE = "summarize"; 173 174 /** 175 * 176 */ 177 private Definitions(){ 178 //nothing needed 179 } 180}