Android Open Source - doubanbook4android Request Grant Scope From Project Back to project page doubanbook4android .
License The source code is released under:
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECI...
If you think the Android project doubanbook4android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package com.study.doubanbook_for_android.model;
/ * w w w . j a v a 2 s . c o m * /
public class RequestGrantScope {
private String description;
private String value;
private String name;
private static final String SCOPE_SHUO_READ = "shuo_basic_r" ;
private static final String SCOPE_SHUO_WRITE = "shuo_basic_w" ;
private static final String SCOPE_MAIL_READ = "community_advanced_doumail_r" ;
private static final String SCOPE_MAIL_WRITE = "community_advanced_doumail_w" ;
private static final String SCOPE_BASIC_COMMON = "douban_basic_common" ;
private static final String SCOPE_BASIC_NOTE = "community_basic_note" ;
private static final String SCOPE_BOOK_READ = "book_basic_r" ;
private static final String SCOPE_MOVIE_READ = "movie_basic_r" ;
private static final String SCOPE_MUSIC_READ = "music_basic_r" ;
private static final String SCOPE_EVENT_READ = "event_basic_r" ;
private static final String SCOPE_EVENT_WRITE = "event_basic_w" ;
public static final RequestGrantScope SHUO_READ_SCOPE = new RequestGrantScope(
"DoubanShuoRead" , RequestGrantScope.SCOPE_SHUO_READ, "????????????" );
public static final RequestGrantScope SHUO_WRITE_SCOPE = new RequestGrantScope(
"DoubanShuoWrite" , RequestGrantScope.SCOPE_SHUO_WRITE, "??????????" );
public static final RequestGrantScope BASIC_COMMON_SCOPE = new RequestGrantScope(
"BasicCommon" , RequestGrantScope.SCOPE_BASIC_COMMON, "?????????" );
public static final RequestGrantScope MAIL_READ_SCOPE = new RequestGrantScope(
"MailRead" , RequestGrantScope.SCOPE_MAIL_READ, "????????" );
public static final RequestGrantScope MAIL_WRITE_SCOPE = new RequestGrantScope(
"DoubanShuoWrite" , RequestGrantScope.SCOPE_MAIL_WRITE, "????????" );
public static final RequestGrantScope BASIC_NOTE_SCOPE = new RequestGrantScope(
"BasicNote" , RequestGrantScope.SCOPE_BASIC_NOTE, "?????????" );
public static final RequestGrantScope BOOK_READ_SCOPE = new RequestGrantScope(
"BookRead" , RequestGrantScope.SCOPE_BOOK_READ, "????" );
public static final RequestGrantScope MOVIE_READ_SCOPE = new RequestGrantScope(
"MovieRead" , RequestGrantScope.SCOPE_MOVIE_READ, "????" );
public static final RequestGrantScope MUSIC_READ_SCOPE = new RequestGrantScope(
"MusicRead" , RequestGrantScope.SCOPE_MUSIC_READ, "?????" );
public static final RequestGrantScope EVENT_READ_SCOPE = new RequestGrantScope(
"EventRead" , RequestGrantScope.SCOPE_EVENT_READ, "????????????" );
public static final RequestGrantScope EVENT_WRITE_SCOPE = new RequestGrantScope(
"EventWrite" , RequestGrantScope.SCOPE_EVENT_WRITE, "????????????" );
private RequestGrantScope(String name, String value, String description) {
this.description = description;
this.name = name;
this.value = value;
}
/**
* @return the description
*/
public String getDescription() {
return description;
}
/**
* @return the value
*/
public String getValue() {
return value;
}
/**
* @return the name
*/
public String getName() {
return name;
}
}
Java Source Code List .UserListAdapter.java com.study.doubanbook_for_android.activity.BaseActivity.java com.study.doubanbook_for_android.activity.BaseP2RActivity.java com.study.doubanbook_for_android.activity.BookDetailActivity.java com.study.doubanbook_for_android.activity.BookListsActivity.java com.study.doubanbook_for_android.activity.BookNoteListActivity.java com.study.doubanbook_for_android.activity.CollectDetailActivity.java com.study.doubanbook_for_android.activity.NoteAndUserDetailActivity.java com.study.doubanbook_for_android.activity.SerchInputActivity.java com.study.doubanbook_for_android.activity.TextActivity1.java com.study.doubanbook_for_android.activity.UserDetailActivity.java com.study.doubanbook_for_android.activity.UserListActivity.java com.study.doubanbook_for_android.activity.UserNoteActivity.java com.study.doubanbook_for_android.adapter.BookAdapter.java com.study.doubanbook_for_android.adapter.CommentAdapter.java com.study.doubanbook_for_android.adapter.UserNoteAdapter.java com.study.doubanbook_for_android.api.NetUtils.java com.study.doubanbook_for_android.api.SSLSocketFactoryEx.java com.study.doubanbook_for_android.api.WrongMsg.java com.study.doubanbook_for_android.auth.AccessToken.java com.study.doubanbook_for_android.auth.DoubanDialogError.java com.study.doubanbook_for_android.auth.DoubanDialog.java com.study.doubanbook_for_android.auth.DoubanException.java com.study.doubanbook_for_android.auth.DoubanOAuthListener.java com.study.doubanbook_for_android.auth.DoubanParameters.java com.study.doubanbook_for_android.auth.DoubanRequest.java com.study.doubanbook_for_android.auth.Douban.java com.study.doubanbook_for_android.auth.KeepToken.java com.study.doubanbook_for_android.auth.SimpleDoubanOAuthListener.java com.study.doubanbook_for_android.auth.Token.java com.study.doubanbook_for_android.business.DoubanBusiness.java com.study.doubanbook_for_android.callback.AsynCallback.java com.study.doubanbook_for_android.imagedownloader.FileCache.java com.study.doubanbook_for_android.imagedownloader.INetImageDownloader.java com.study.doubanbook_for_android.imagedownloader.ImageCache.java com.study.doubanbook_for_android.imagedownloader.ImageDownloaderListener.java com.study.doubanbook_for_android.imagedownloader.ImageDownloader.java com.study.doubanbook_for_android.model.Annotations.java com.study.doubanbook_for_android.model.AuthorUser.java com.study.doubanbook_for_android.model.BookItem.java com.study.doubanbook_for_android.model.CollectBookMsg.java com.study.doubanbook_for_android.model.CollectSuccessResult.java com.study.doubanbook_for_android.model.CommentItem.java com.study.doubanbook_for_android.model.Comment.java com.study.doubanbook_for_android.model.CurrenUserCollection.java com.study.doubanbook_for_android.model.GeneralNoteResult.java com.study.doubanbook_for_android.model.GeneralResult.java com.study.doubanbook_for_android.model.GeneralUserResult.java com.study.doubanbook_for_android.model.ImageItem.java com.study.doubanbook_for_android.model.Rating.java com.study.doubanbook_for_android.model.RequestGrantScope.java com.study.doubanbook_for_android.model.TagItem.java com.study.doubanbook_for_android.model.URLMananeger.java com.study.doubanbook_for_android.utils.EncodeUtils.java com.study.doubanbook_for_android.utils.JsonParser.java com.study.doubanbook_for_android.utils.JsonUtil.java com.study.doubanbook_for_android.utils.UriUtils.java