|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpaceDao
| Method Summary | |
|---|---|
java.util.List |
findAllGlobalSpaces()
|
java.util.List |
findAllSpacesSorted(java.lang.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. |
java.util.List |
getPermittedSpacesForUser(com.atlassian.user.User user,
java.lang.String permission)
Find all spaces on which the given user has the given permission |
java.util.List |
getPermittedSpacesForUserByType(com.atlassian.user.User user,
java.lang.String permission,
SpaceType type)
Find all spaces of a certain type on which the given user has the given permission |
java.util.List |
getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user,
java.lang.String permission,
SpaceGroup spaceGroup)
Find all spaces within a spaceGroup to which the given user has the given permission |
Space |
getSpace(java.lang.String spaceKey)
Find a space by its space key. |
java.util.List |
getSpacesContainingCommentsByUser(java.lang.String username)
Find all spaces containing comments by a particular user. |
java.util.List |
getSpacesContainingPagesEditedByUser(java.lang.String username)
Find all spaces containing pages that were edited by a particular user. |
java.util.List |
getSpacesCreatedAfter(java.util.Date creationDate)
|
java.util.List |
getSpacesCreatedByUser(java.lang.String username)
Find all the spaces created by a given user. |
java.util.List |
getSpacesCreatedOrUpdatedSinceDate(java.util.Date previousLoginDate)
|
java.util.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 |
|---|
Space getById(long id)
Space getSpace(java.lang.String spaceKey)
java.util.List getSpacesInSpaceGroup(SpaceGroup spaceGroup)
spaceGroup -
java.util.List getSpacesCreatedByUser(java.lang.String username)
java.util.List getSpacesContainingPagesEditedByUser(java.lang.String username)
username - the name of the user to track down
java.util.List getSpacesContainingCommentsByUser(java.lang.String username)
username - the name of the user to track down
java.util.List getSpacesCreatedOrUpdatedSinceDate(java.util.Date previousLoginDate)
int findPageTotal(Space space)
int getNumberOfBlogPosts(Space space)
int getNumberOfMail(Space space)
java.util.List getSpacesCreatedAfter(java.util.Date creationDate)
java.util.List getPermittedSpacesForUser(com.atlassian.user.User user,
java.lang.String permission)
java.util.List getPermittedSpacesForUserByType(com.atlassian.user.User user,
java.lang.String permission,
SpaceType type)
java.util.List getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user,
java.lang.String permission,
SpaceGroup spaceGroup)
java.util.List findAllSpacesSorted(java.lang.String sortBy,
SpaceType type)
sortBy -
java.util.List findAllGlobalSpaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||