/*
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();
}
|