|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpaceDao
Method Summary | |
---|---|
int |
countPermittedSpacesForUser(com.atlassian.user.User user,
java.util.List<com.atlassian.user.Group> groupsForUser,
java.lang.String permission)
|
int |
countSpaces(SpacesQuery query)
Count the spaces specified by the SpacesQuery . |
java.util.List<Space> |
findAllGlobalSpaces()
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
java.util.List<Space> |
findAllSpacesSorted(java.lang.String sortBy,
SpaceType type)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
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<Space> |
getPermittedSpacesForUser(com.atlassian.user.User user,
java.util.List<com.atlassian.user.Group> groups,
java.lang.String permission)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
java.util.List<Space> |
getPermittedSpacesForUser(com.atlassian.user.User user,
java.util.List<com.atlassian.user.Group> groupsForUser,
java.lang.String permission,
int offset,
int maxResults)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
java.util.List<Space> |
getPermittedSpacesForUser(com.atlassian.user.User user,
java.lang.String permission)
Deprecated. since 3.0, use getPermittedSpacesForUser(User, List, String) |
java.util.List<Space> |
getPermittedSpacesForUserByType(com.atlassian.user.User user,
java.util.List<com.atlassian.user.Group> groups,
java.lang.String permission,
SpaceType type)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
java.util.List<Space> |
getPermittedSpacesForUserByType(com.atlassian.user.User user,
java.lang.String permission,
SpaceType type)
Deprecated. since 3.0, use getPermittedSpacesForUserByType(User, List, String, SpaceType) |
java.util.List<Space> |
getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user,
java.util.List<com.atlassian.user.Group> groups,
java.lang.String permission,
SpaceGroup spaceGroup)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
java.util.List<Space> |
getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user,
java.lang.String permission,
SpaceGroup spaceGroup)
Deprecated. since 3.0, use getPermittedSpacesForUserInSpaceGroup(User, List, String, SpaceGroup) |
Space |
getSpace(java.lang.String spaceKey)
Find a space by its space key. |
java.util.List<Space> |
getSpaces(SpacesQuery query)
Get a list of spaces specified by the SpacesQuery . |
java.util.List<Space> |
getSpaces(SpacesQuery query,
int offset,
int maxResults)
Get a list of spaces specified by the SpacesQuery . |
java.util.List<Space> |
getSpacesContainingCommentsByUser(java.lang.String username)
Find all spaces containing comments by a particular user. |
java.util.List<Space> |
getSpacesContainingPagesEditedByUser(java.lang.String username)
Find all spaces containing pages that were edited by a particular user. |
java.util.List<Space> |
getSpacesCreatedAfter(java.util.Date creationDate)
|
java.util.List<Space> |
getSpacesCreatedByUser(java.lang.String username)
Find all the spaces created by a given user. |
java.util.List<Space> |
getSpacesCreatedOrUpdatedSinceDate(java.util.Date previousLoginDate)
|
java.util.List<Space> |
getSpacesInSpaceGroup(SpaceGroup spaceGroup)
Deprecated. since 3.1 use getSpaces(SpacesQuery,int,int) |
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<Space> getSpacesInSpaceGroup(SpaceGroup spaceGroup)
getSpaces(SpacesQuery,int,int)
spaceGroup
-
java.util.List<Space> getSpacesCreatedByUser(java.lang.String username)
java.util.List<Space> getSpacesContainingPagesEditedByUser(java.lang.String username)
username
- the name of the user to track down
java.util.List<Space> getSpacesContainingCommentsByUser(java.lang.String username)
username
- the name of the user to track down
java.util.List<Space> getSpacesCreatedOrUpdatedSinceDate(java.util.Date previousLoginDate)
int findPageTotal(Space space)
int getNumberOfBlogPosts(Space space)
int getNumberOfMail(Space space)
java.util.List<Space> getSpacesCreatedAfter(java.util.Date creationDate)
@Deprecated java.util.List<Space> getPermittedSpacesForUser(com.atlassian.user.User user, java.lang.String permission)
getPermittedSpacesForUser(User, List, String)
@Deprecated java.util.List<Space> getPermittedSpacesForUserByType(com.atlassian.user.User user, java.lang.String permission, SpaceType type)
getPermittedSpacesForUserByType(User, List, String, SpaceType)
@Deprecated java.util.List<Space> getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user, java.lang.String permission, SpaceGroup spaceGroup)
getPermittedSpacesForUserInSpaceGroup(User, List, String, SpaceGroup)
@Deprecated java.util.List<Space> getPermittedSpacesForUser(com.atlassian.user.User user, java.util.List<com.atlassian.user.Group> groups, java.lang.String permission)
getSpaces(SpacesQuery,int,int)
@Deprecated java.util.List<Space> getPermittedSpacesForUserByType(com.atlassian.user.User user, java.util.List<com.atlassian.user.Group> groups, java.lang.String permission, SpaceType type)
getSpaces(SpacesQuery,int,int)
@Deprecated java.util.List<Space> getPermittedSpacesForUserInSpaceGroup(com.atlassian.user.User user, java.util.List<com.atlassian.user.Group> groups, java.lang.String permission, SpaceGroup spaceGroup)
getSpaces(SpacesQuery,int,int)
@Deprecated java.util.List<Space> findAllSpacesSorted(java.lang.String sortBy, SpaceType type)
getSpaces(SpacesQuery,int,int)
sortBy
-
@Deprecated java.util.List<Space> findAllGlobalSpaces()
getSpaces(SpacesQuery,int,int)
@Deprecated java.util.List<Space> getPermittedSpacesForUser(com.atlassian.user.User user, java.util.List<com.atlassian.user.Group> groupsForUser, java.lang.String permission, int offset, int maxResults)
getSpaces(SpacesQuery,int,int)
int countPermittedSpacesForUser(com.atlassian.user.User user, java.util.List<com.atlassian.user.Group> groupsForUser, java.lang.String permission)
java.util.List<Space> getSpaces(SpacesQuery query, int offset, int maxResults)
SpacesQuery
.
query
-
java.util.List<Space> getSpaces(SpacesQuery query)
SpacesQuery
. Its recommended to use the
getSpaces(com.atlassian.confluence.spaces.SpacesQuery, int, int)
form of this method where ever
possible.
query
-
int countSpaces(SpacesQuery query)
SpacesQuery
.
query
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |