|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpaceDao
| Method Summary | |
|---|---|
List |
findAllGlobalSpaces()
|
List |
findAllSpacesSorted(String sortBy,
SpaceType type)
Find all uncategorised spaces and sort results by named property. |
int |
findPageTotal(Space space)
Fast way to count pages in a space without loading them. |
Space |
getById(long id)
|
int |
getNumberOfBlogPosts(Space space)
Fast way to count blog posts in a space without loading them. |
int |
getNumberOfMail(Space space)
Fast way to count pages in a space without loading them. |
List |
getPermittedSpacesForUser(User user,
String permission)
Find all spaces on which the given user has the given permission |
List |
getPermittedSpacesForUserByType(User user,
String permission,
SpaceType type)
Find all spaces of a certain type on which the given user has the given permission |
Space |
getSpace(String spaceKey)
Find a space by its space key. |
List |
getSpacesContainingCommentsByUser(String username)
Find all spaces containing comments by a particular user. |
List |
getSpacesContainingPagesEditedByUser(String username)
Find all spaces containing pages that were edited by a particular user. |
List |
getSpacesCreatedAfter(Date creationDate)
|
List |
getSpacesCreatedByUser(String username)
Find all the spaces created by a given user. |
List |
getSpacesCreatedOrUpdatedSinceDate(Date previousLoginDate)
|
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
| Method Detail |
|---|
Space getById(long id)
Space getSpace(String spaceKey)
List getSpacesCreatedByUser(String username)
List getSpacesContainingPagesEditedByUser(String username)
username - the name of the user to track down
List getSpacesContainingCommentsByUser(String username)
username - the name of the user to track down
List getSpacesCreatedOrUpdatedSinceDate(Date previousLoginDate)
int findPageTotal(Space space)
int getNumberOfBlogPosts(Space space)
int getNumberOfMail(Space space)
List getSpacesCreatedAfter(Date creationDate)
List getPermittedSpacesForUser(User user,
String permission)
List getPermittedSpacesForUserByType(User user,
String permission,
SpaceType type)
List findAllSpacesSorted(String sortBy,
SpaceType type)
sortBy -
List findAllGlobalSpaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||