Example usage for twitter4j UserList getName

List of usage examples for twitter4j UserList getName

Introduction

In this page you can find the example usage for twitter4j UserList getName.

Prototype

String getName();

Source Link

Document

Returns the name of the list

Usage

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListMemberDeletion(User deletedMember, User listOwner, UserList list) {
    debug("onUserListMemberDeleted deleted member:@" + deletedMember.getScreenName() + " listOwner:@"
            + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListSubscription(User subscriber, User listOwner, UserList list) {
    debug("onUserListSubscribed subscriber:@" + subscriber.getScreenName() + " listOwner:@"
            + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListUnsubscription(User subscriber, User listOwner, UserList list) {
    debug("onUserListUnsubscribed subscriber:@" + subscriber.getScreenName() + " listOwner:@"
            + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListCreation(User listOwner, UserList list) {
    debug("onUserListCreated  listOwner:@" + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListUpdate(User listOwner, UserList list) {
    debug("onUserListUpdated  listOwner:@" + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:com.tweetmyhome.TweetMyHome.java

@Override
public void onUserListDeletion(User listOwner, UserList list) {
    debug("onUserListDestroyed  listOwner:@" + listOwner.getScreenName() + " list:" + list.getName());
}

From source file:de.vanita5.twittnuker.model.ParcelableUserList.java

License:Open Source License

public ParcelableUserList(final UserList list, final long account_id, final long position,
        final boolean is_following) {
    final User user = list.getUser();
    this.position = position;
    this.account_id = account_id;
    id = list.getId();//from w ww .  j a v  a 2  s. com
    is_public = list.isPublic();
    this.is_following = is_following;
    name = list.getName();
    description = list.getDescription();
    user_id = user.getId();
    user_name = user.getName();
    user_screen_name = user.getScreenName();
    user_profile_image_url = ParseUtils.parseString(user.getProfileImageUrlHttps());
    members_count = list.getMemberCount();
    subscribers_count = list.getSubscriberCount();
}

From source file:org.getlantern.firetweet.model.ParcelableUserList.java

License:Open Source License

public ParcelableUserList(final UserList list, final long account_id, final long position,
        final boolean is_following) {
    final User user = list.getUser();
    this.position = position;
    this.account_id = account_id;
    id = list.getId();//from w  ww . j a  va  2 s.  c  om
    is_public = list.isPublic();
    this.is_following = is_following;
    name = list.getName();
    description = list.getDescription();
    user_id = user.getId();
    user_name = user.getName();
    user_screen_name = user.getScreenName();
    user_profile_image_url = user.getProfileImageUrlHttps();
    members_count = list.getMemberCount();
    subscribers_count = list.getSubscriberCount();
}

From source file:org.tweetalib.android.model.TwitterList.java

License:Apache License

public TwitterList(UserList list) {
    mId = list.getId();//from  www  .ja  v a  2s  . c  o  m
    mName = list.getName();
    mFullName = list.getFullName();
    mDescription = list.getDescription();
    mIsPublic = list.isPublic();
    mIsFollowing = list.isFollowing();
    mMemberCount = list.getMemberCount();
    mSubscriberCount = list.getSubscriberCount();
}

From source file:twitter4j.examples.list.GetUserListMemberships.java

License:Apache License

/**
 * Usage: java twitter4j.examples.list.GetUserListMemberships [list member screen name]
 *
 * @param args message/*from   ww w  .ja v a  2s.  co m*/
 */
public static void main(String[] args) {
    if (args.length < 1) {
        System.out.println(
                "Usage: java twitter4j.examples.list.GetUserListMemberships [list member screen name]");
        System.exit(-1);
    }
    try {
        Twitter twitter = new TwitterFactory().getInstance();
        long cursor = -1;
        PagableResponseList<UserList> lists;
        do {
            lists = twitter.getUserListMemberships(args[0], cursor);
            for (UserList list : lists) {
                System.out.println("id:" + list.getId() + ", name:" + list.getName() + ", description:"
                        + list.getDescription() + ", slug:" + list.getSlug() + "");
            }
        } while ((cursor = lists.getNextCursor()) != 0);
        System.exit(0);
    } catch (TwitterException te) {
        te.printStackTrace();
        System.out.println("Failed to list the lists: " + te.getMessage());
        System.exit(-1);
    }
}