|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
List |
getPermittedSpacesForUserInSpaceGroup(User user,
String permission,
SpaceGroup spaceGroup)
Find all spaces within a spaceGroup to 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)
|
List |
getSpacesInSpaceGroup(SpaceGroup spaceGroup)
Find all spaces within a given spaceGroup |
Methods inherited from interface bucket.core.persistence.ObjectDao |
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Method Detail |
public Space getById(long id)
public Space getSpace(String spaceKey)
public List getSpacesInSpaceGroup(SpaceGroup spaceGroup)
spaceGroup
-
public List getSpacesCreatedByUser(String username)
public List getSpacesContainingPagesEditedByUser(String username)
username
- the name of the user to track down
public List getSpacesContainingCommentsByUser(String username)
username
- the name of the user to track down
public List getSpacesCreatedOrUpdatedSinceDate(Date previousLoginDate)
public int findPageTotal(Space space)
public int getNumberOfBlogPosts(Space space)
public int getNumberOfMail(Space space)
public List getSpacesCreatedAfter(Date creationDate)
public List getPermittedSpacesForUser(User user, String permission)
public List getPermittedSpacesForUserByType(User user, String permission, SpaceType type)
public List getPermittedSpacesForUserInSpaceGroup(User user, String permission, SpaceGroup spaceGroup)
public List findAllSpacesSorted(String sortBy, SpaceType type)
sortBy
-
public List findAllGlobalSpaces()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |