package samples.webcenter.beans;

import samples.webcenter.services.wiki.*;

public class BlogBean {

	protected String[] entryIds;
	protected String[] entries;
	protected int maxEntries;
	protected String[] comments;
	protected int[] commentSizes;
	protected SearchResult[] searchResults;
	protected String searchText;
	protected java.util.ArrayList<String> templates;
	protected BlogEntry entry;
	protected String rssUrl;
	protected boolean create;

	public BlogBean() {
		// TODO Auto-generated constructor stub
		System.out.println("BlogBean constructor");
	}

	public String[] getEntryIds() {
		return this.entryIds;
	}
	
	public void setEntryIds(String[] entryIds) {
		this.entryIds = entryIds;
	}
	
	public String[] getEntries() {
		System.out.println("BlogBean.getEntries, returning " + this.entries);
		return this.entries;
	}
	
	public void setEntries(String[] entries) {
		System.out.println("BlogBean.setEntries: " + entries);
		this.entries = entries;
	}
	
	public int getMaxEntries() {
		return this.maxEntries;
	}
	
	public void setMaxEntries(int maxEntries) {
		this.maxEntries = maxEntries;
	}
	
	public String[] getComments() {
		return this.comments;
	}
	
	public void setComments(String[] comments) {
		this.comments = comments;
	}

	public int[] getCommentSizes() {
		return this.commentSizes;
	}
	
	public void setCommentSizes(int[] sizes) {
		this.commentSizes = sizes;
	}

	public SearchResult[] getSearchResults() {
		return this.searchResults;
	}
	
	public void setSearchResults(SearchResult[] results) {
		this.searchResults = results;
	}

	public String getSearchText() {
		return this.searchText;
	}
	
	public void setSearchText(String text) {
		this.searchText = text;
	}

	public java.util.ArrayList<String> getTemplates() {
		return this.templates;
	}
	
	public void setTemplates(java.util.ArrayList<String> templates) {
		this.templates = templates;
	}

	public BlogEntry getEntry() {
		System.out.println("BlogBean.getEntry, returning " + this.entry);
		return this.entry;
	}
	
	public void setEntry(BlogEntry entry) {
		System.out.println("BlogBean.setEntry: " + entry);
		this.entry = entry;
	}

	public String getRssUrl() {
		return this.rssUrl;
	}
	
	public void setRssUrl(String url) {
		this.rssUrl = url;
	}

	public boolean getCreate() {
		return this.create;
	}
	
	public void setCreate(boolean create) {
		this.create = create;
	}
}