|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlogController
This interface define business logic related to blogs.
| Method Summary | |
|---|---|
void |
deleteEntry(int iId)
Delete entry. |
Blog |
get(java.lang.String strFolder)
Get blog knowing just the folder where it's entries are displayed. |
java.util.List |
getAll()
Get all blogs. |
java.util.List |
getEntries(int iBlogId)
Get all entries for a given blog. |
java.lang.Object[] |
getWithEntries(java.lang.String strFolder)
Get blog and its entries knowing just the folder where it's entries are displayed. |
java.lang.Object[] |
getWithEntry(int iBlogId,
int iEntryId)
Get blog and entry knowing just the id of the blog and the id of the entry. |
java.lang.Object[] |
getWithEntry(java.lang.String strFolder,
int iEntryId)
Get blog and entry knowing just the folder where the entry are displayed and the id of the entry. |
| Methods inherited from interface org.opensubsystems.core.logic.ModifiableDataController |
|---|
save |
| Methods inherited from interface org.opensubsystems.core.logic.BasicDataController |
|---|
create, delete |
| Methods inherited from interface org.opensubsystems.core.logic.DataController |
|---|
get |
| Methods inherited from interface org.opensubsystems.core.logic.StatelessController |
|---|
constructor |
| Method Detail |
|---|
Blog get(java.lang.String strFolder)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
strFolder - - folder where entries for given folder are displayed
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
java.util.List getEntries(int iBlogId)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
iBlogId - - id of a blog to get entries for
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
java.lang.Object[] getWithEntries(java.lang.String strFolder)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
strFolder - - folder where entries for given folder are displayed
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
java.lang.Object[] getWithEntry(java.lang.String strFolder,
int iEntryId)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
strFolder - - folder where entries for given folder are displayediEntryId - - id of the blog entry to load
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
java.lang.Object[] getWithEntry(int iBlogId,
int iEntryId)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
iBlogId - - id of the blog to loadiEntryId - - id of the blog entry to load
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
java.util.List getAll()
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
void deleteEntry(int iId)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
iId - - id of the entry to delete
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||