Android Open Source - TumblifeForAndroid T L User






From Project

Back to project page TumblifeForAndroid.

License

The source code is released under:

GNU General Public License

If you think the Android project TumblifeForAndroid 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 jp.mitukiii.tumblife.model;
/* w w  w  .  j  a  v  a2s.  co  m*/
import java.io.Serializable;
import java.util.List;

public class TLUser extends TLModel implements Serializable
{
  private static final long serialVersionUID = -105340118971840100L;

  protected List<TLTumblelog> tumblelogs;

  protected String            defaultPostFormat;
  protected boolean           canUploadAudio;
  protected boolean           canUploadAiff;
  protected boolean           canAskQuestion;
  protected boolean           canUploadVideo;
  protected int               maxVideoBytesUploaded;
  protected int               likedPostCount;

  public TLTumblelog getPrimaryTumblelog()
  {
    for (TLTumblelog tumblelog: tumblelogs) {
      if (tumblelog.isPrimary()) {
        return tumblelog;
      }
    }
    return null;
  }

  public List<TLTumblelog> getTumblelogs()
  {
    return tumblelogs;
  }

  public void setTumblelogs(List<TLTumblelog> tumblelogs)
  {
    this.tumblelogs = tumblelogs;
  }

  public String getDefaultPostFormat()
  {
    return defaultPostFormat;
  }

  public void setDefaultPostFormat(String defaultPostFormat)
  {
    this.defaultPostFormat = defaultPostFormat;
  }

  public boolean canUploadAudio()
  {
    return canUploadAudio;
  }

  public void setCanUploadAudio(boolean canUploadAudio)
  {
    this.canUploadAudio = canUploadAudio;
  }

  public boolean canUploadAiff()
  {
    return canUploadAiff;
  }

  public void setCanUploadAiff(boolean canUploadAiff)
  {
    this.canUploadAiff = canUploadAiff;
  }

  public boolean canAskQuestion()
  {
    return canAskQuestion;
  }

  public void setCanAskQuestion(boolean canAskQuestion)
  {
    this.canAskQuestion = canAskQuestion;
  }

  public boolean canUploadVideo()
  {
    return canUploadVideo;
  }

  public void setCanUploadVideo(boolean canUploadVideo)
  {
    this.canUploadVideo = canUploadVideo;
  }

  public int getMaxVideoBytesUploaded()
  {
    return maxVideoBytesUploaded;
  }

  public void setMaxVideoBytesUploaded(int maxVideoBytesUploaded)
  {
    this.maxVideoBytesUploaded = maxVideoBytesUploaded;
  }

  public int getLikedPostCount()
  {
    return likedPostCount;
  }

  public void setLikedPostCount(int likedPostCount)
  {
    this.likedPostCount = likedPostCount;
  }
}




Java Source Code List

jp.mitukiii.tumblife.App.java
jp.mitukiii.tumblife.HardkeySetting.java
jp.mitukiii.tumblife.KeyCodeMap.java
jp.mitukiii.tumblife.Main.java
jp.mitukiii.tumblife.Setting.java
jp.mitukiii.tumblife.exeption.TLAuthenticationFailureException.java
jp.mitukiii.tumblife.exeption.TLFailureException.java
jp.mitukiii.tumblife.exeption.TLParserException.java
jp.mitukiii.tumblife.exeption.TLSDCardNotFoundException.java
jp.mitukiii.tumblife.model.TLModel.java
jp.mitukiii.tumblife.model.TLPost.java
jp.mitukiii.tumblife.model.TLSetting.java
jp.mitukiii.tumblife.model.TLTumblelog.java
jp.mitukiii.tumblife.model.TLUser.java
jp.mitukiii.tumblife.parser.TLParser.java
jp.mitukiii.tumblife.parser.TLPostParser.java
jp.mitukiii.tumblife.parser.TLUserParser.java
jp.mitukiii.tumblife.tumblr.TLDashboardDelegate.java
jp.mitukiii.tumblife.tumblr.TLDashboardInterface.java
jp.mitukiii.tumblife.tumblr.TLDashboard.java
jp.mitukiii.tumblife.ui.TLWebViewClientDelegate.java
jp.mitukiii.tumblife.ui.TLWebViewClient.java
jp.mitukiii.tumblife.util.TLBrowser.java
jp.mitukiii.tumblife.util.TLConnection.java
jp.mitukiii.tumblife.util.TLExplorer.java
jp.mitukiii.tumblife.util.TLLog.java
jp.mitukiii.tumblife.util.TLPostFactory.java