org.intabulas.sandler.elements
Interface SandlerEntry

All Known Subinterfaces:
Entry, Feed
All Known Implementing Classes:
AbstractEntryElement, EntryImpl, FeedImpl

public interface SandlerEntry

SandlerEntry

Version:
$Id: SandlerEntry.java,v 1.6 2004/02/04 22:09:35 intabulas Exp $
Author:
Mark Lussier

Method Summary
 void addContributor(int index, Person contributor)
           
 boolean addContributor(Person contributor)
           
 void addLink(int index, Link link)
           
 boolean addLink(Link link)
           
 Person getAuthor()
          Returns the Entries Author
 Person getContributor(int index)
           
 int getContributorCount()
           
 String getId()
          Returns the Entries ID
 Link getLink(int index)
           
 int getLinkCount()
           
 Date getModified()
          Returns the date the entry was last modified
 Content getSummary()
          Returns the Entries Summary
 Content getTitle()
          Returns the Entries Title
 void removeContributor(int index)
           
 boolean removeContributor(Person contributor)
           
 void removeLink(int index)
           
 boolean removeLink(Link link)
           
 void setAuthor(Person author)
          Set's the entries Author
 void setId(String id)
          Set's the Entries ID
 void setModified(Date date)
          Set's the date the entry was last modified
 void setSummary(Content summary)
          Set's the Entries Summary
 void setSummary(String summary)
          Set's the Entries Summary
 void setTitle(Content title)
          Set's the Entries Title
 void setTitle(String title)
          Set's the Entries Title
 

Method Detail

getTitle

Content getTitle()
Returns the Entries Title

Returns:
a Content representing the Title

setTitle

void setTitle(Content title)
Set's the Entries Title

Parameters:
title - a Content representing the Title

setTitle

void setTitle(String title)
Set's the Entries Title

Parameters:
title - a String representing the Title

getSummary

Content getSummary()
Returns the Entries Summary

Returns:
a Content representing the Summary

setSummary

void setSummary(Content summary)
Set's the Entries Summary

Parameters:
summary - a Content representing the Summary

setSummary

void setSummary(String summary)
Set's the Entries Summary

Parameters:
summary - a Content representing the Summary

getModified

Date getModified()
Returns the date the entry was last modified

Returns:
a Date representing the last time the entry was modified

setModified

void setModified(Date date)
Set's the date the entry was last modified

Parameters:
date - a Date representing the last time the entry was modified

getId

String getId()
Returns the Entries ID

Returns:
a String representing the Entry ID

setId

void setId(String id)
Set's the Entries ID

Parameters:
id - a String representing the Entry ID

getAuthor

Person getAuthor()
Returns the Entries Author

Returns:
a Person representing the Entry Author

setAuthor

void setAuthor(Person author)
Set's the entries Author

Parameters:
author - a Person representing the Entry Author

getContributorCount

int getContributorCount()
Returns:
an int representing the number of contributors to the entry

getContributor

Person getContributor(int index)
Parameters:
index -
Returns:
a Person representing a Contributor to the Entry

addContributor

boolean addContributor(Person contributor)
Parameters:
contributor - a Person representing a Contributor to the Entry

addContributor

void addContributor(int index,
                    Person contributor)
Parameters:
index - an int indiciating where in the contributor list to insert this contributor
contributor - a Person representing a Contributor to the Entry

removeLink

boolean removeLink(Link link)
Parameters:
link - a Person representing a Link to the Entry
Returns:
a boolean indicating the sucessful removel of a link

removeLink

void removeLink(int index)
Parameters:
index - an int indicating which Link in the list to remove

getLinkCount

int getLinkCount()
Returns:
an int representing the number of links to the entry

getLink

Link getLink(int index)
Parameters:
index -
Returns:
a Link representing a Link to the Entry

addLink

boolean addLink(Link link)
Parameters:
link - a Link representing a Link to the Entry

addLink

void addLink(int index,
             Link link)
Parameters:
index - an int indiciating where in the contributor list to insert this contributor
link - a Link representing a Link to the Entry

removeContributor

boolean removeContributor(Person contributor)
Parameters:
contributor - a Person representing a Contributor to the Entry
Returns:
a boolean indicating the sucessful removel of a contributor

removeContributor

void removeContributor(int index)
Parameters:
index - an int indicating which contributor in the list to remove


Copyright © 2003-2004 Mark Lussier. All Rights Reserved.