IPost.java :  » UnTagged » snaio » edu » uta » cse » snaio » core » model » post » Android Open Source

Android Open Source » UnTagged » snaio 
snaio » edu » uta » cse » snaio » core » model » post » IPost.java
/*
Copyright (c) 2010, SNAIO team
All rights reserved.
 */
package edu.uta.cse.snaio.core.model.post;

import java.util.Date;

import edu.uta.cse.snaio.core.model.SContact;

/**
 * The Interface IPost.
 *
 * @author Tuan Nguyen - tnguyen@mavs.uta.edu
 */
public interface IPost {
  
  /**
   * Gets the contact infomation.
   *
   * @return the contact infomation
   */
  public SContact getContactInfomation();

  /**
   * return unique ID of Post's Plug-in.
   *
   * @return the plugin type
   */
  public String getPluginType();

  /**
   * Gets the posted date.
   *
   * @return the posted date
   */
  public Date getCreatedDate();

  /**
   * Gets the posted date.
   *
   * @return the posted date
   */
  public Date getUpdatedDate();

  /**
   * return unique ID of This Post.
   *
   * @return the post id
   */
  public String getPostId();

  /**
   * a view can show on wall screen, each plug-in must implement their post
   * view by itself.
   *
   * @return the view
   */
  public SPostView getView();

  /**
   * Init the view of this post
   */
  public void initView();
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.