Class SpacesQueryWithPermissionQueryBuilder

java.lang.Object
com.atlassian.confluence.dmz.spaces.SpacesQueryWithPermissionQueryBuilder

@Internal public class SpacesQueryWithPermissionQueryBuilder extends Object
see the package-info.java for rationale.
Since:
9.0
  • Method Details

    • spacesQueryWithoutPermissionCheck

      public static SpacesQueryWithPermissionQueryBuilder spacesQueryWithoutPermissionCheck(SpacesQuery spacesQuery)
    • spacesQueryWithPermissionCheck

      public static SpacesQueryWithPermissionQueryBuilder spacesQueryWithPermissionCheck(SpacesQuery spacesQuery, SpacePermissionQueryBuilder permissionClauseBuilder)
    • includesPermissionCheck

      public boolean includesPermissionCheck()
    • getHqlPermissionFilterString

      public String getHqlPermissionFilterString(String spacePermissionTableAlias)
    • substituteHqlQueryParameters

      public void substituteHqlQueryParameters(org.hibernate.query.Query query)
    • getSpaceType

      public SpaceType getSpaceType()
    • getPermissionType

      public String getPermissionType()
    • getUser

      public com.atlassian.user.User getUser()
    • getUserGroups

      public List<String> getUserGroups()
    • getSpaceKeys

      public List<String> getSpaceKeys()
    • getSortBy

      public List<String> getSortBy()
    • getLabels

      public List<Label> getLabels()
    • getFavourite

      public Optional<Boolean> getFavourite()
    • getCreationDate

      public Date getCreationDate()
    • getSpaceStatuses

      public Set<SpaceStatus> getSpaceStatuses()
    • getSpaceIds

      public Set<Long> getSpaceIds()
    • getSpacesQuery

      public SpacesQuery getSpacesQuery()
    • getHasRetentionPolicy

      public Optional<Boolean> getHasRetentionPolicy()