public interface RWikiCurrentObjectDao extends RWikiObjectDao
| Modifier and Type | Method and Description |
|---|---|
RWikiCurrentObject |
createRWikiObject(String name,
String realm)
Create a new Current Object
|
boolean |
exists(String name)
Does the global name exist
|
List |
findAllChangedSince(Date time,
String basepath)
Find all the pages with names starting with the supplied name cahnged
since the date givem ordered by the most recent.
|
List |
findAllPageNames()
get a list of all pages in the database, used for search
|
RWikiCurrentObject |
findByGlobalName(String name)
Finds an RWikiObject which matches the given name and realm exactly
|
List |
findByGlobalNameAndContents(String criteria,
String user,
String realm)
Find a page by search, user and realm
|
List |
findChangedSince(Date since,
String realm)
Find current objects that have changed since
|
RWikiObject |
findLastRWikiSubPage(String globalParentPageName)
Finds the last comment on the supplied page name, if not comment has been
made, it will return null.
|
List |
findReferencingPages(String name)
Find pages references this one
|
List |
findRWikiSubPages(String globalParentPageName)
Find a list of subpages based on the parent page name
|
int |
getPageCount(String group)
Count the number of pages in a group/realm
|
RWikiCurrentObject |
getRWikiCurrentObject(RWikiObject reference)
Get the current oject base on a child (or the curent object)
|
void |
update(RWikiCurrentObject rwo,
RWikiHistoryObject rwho)
Update an RWikiCurrentObject
|
getAll, updateObjectRWikiCurrentObject findByGlobalName(String name)
name - The globalised name of the objectrealm - The realm of control of the objectList findByGlobalNameAndContents(String criteria, String user, String realm)
criteria - user - realm - void update(RWikiCurrentObject rwo, RWikiHistoryObject rwho)
rwo - RWikiCurrentObject createRWikiObject(String name, String realm)
name - realm - List findChangedSince(Date since, String realm)
since - realm - List findReferencingPages(String name)
name - RWikiCurrentObject getRWikiCurrentObject(RWikiObject reference)
reference - boolean exists(String name)
name - int getPageCount(String group)
group - List findRWikiSubPages(String globalParentPageName)
globalParentPageName - RWikiObject findLastRWikiSubPage(String globalParentPageName)
globalParentPageName - List findAllChangedSince(Date time, String basepath)
time - changes after this dateuser - the userbasepath - pages starting with this nameList findAllPageNames()
Copyright © 2003–2021 Sakai Project. All rights reserved.