org.opensubsystems.blog.persist
Interface BlogFactory
- All Superinterfaces:
- org.opensubsystems.core.persist.BasicDataFactory, org.opensubsystems.core.persist.DataFactory, org.opensubsystems.core.persist.ModifiableDataFactory
- All Known Implementing Classes:
- BlogDatabaseFactory
public interface BlogFactory
- extends org.opensubsystems.core.persist.ModifiableDataFactory
This interface defines methods to create, retrieve and manipulate blogs
in the persistance store.
- Version:
- $Id: BlogFactory.java,v 1.3 2007/01/07 06:04:30 bastafidli Exp $
- Author:
- Miro Halas
- Code reviewer:
- Miro Halas
- Code reviewed:
- Initial revision
|
Method Summary |
Blog |
get(java.lang.String strFolder)
Get blog data knowing just the folder where it's entries are displayed. |
java.util.List |
getAll()
Return collection of all Blogs in the persistance store. |
| Methods inherited from interface org.opensubsystems.core.persist.ModifiableDataFactory |
save |
| Methods inherited from interface org.opensubsystems.core.persist.BasicDataFactory |
create, create, delete |
| Methods inherited from interface org.opensubsystems.core.persist.DataFactory |
get, getDataType |
get
Blog get(java.lang.String strFolder)
throws org.opensubsystems.core.error.OSSException
- Get blog data knowing just the folder where it's entries are displayed.
- Parameters:
strFolder - - folder where entries for given folder are displayed
- Returns:
- Blog - specified blog or null if not found
- Throws:
org.opensubsystems.core.error.OSSException - - an error has occured
getAll
java.util.List getAll()
throws org.opensubsystems.core.error.OSSException
- Return collection of all Blogs in the persistance store.
- Returns:
- List - list of Blogs objects sorted alphabetically
- Throws:
org.opensubsystems.core.error.OSSException - - an error has occureds
Copyright © 2003 - 2007 OpenSubsystems s.r.o.