Interface SpaceGroupManager

    • Method Detail

      • createSpaceGroup

        SpaceGroup createSpaceGroup​(String key,
                                    String name)
        Deprecated.
        Create a Space Group
      • saveSpaceGroup

        void saveSpaceGroup​(SpaceGroup spaceGroup)
        Deprecated.
      • removeSpaceGroup

        void removeSpaceGroup​(SpaceGroup spaceGroup,
                              boolean removeSpaces)
        Deprecated.
        Removes the spaceGroup without removing the space. The contained spaces will be without a spaceGroup.
      • getSpaceGroup

        @Transactional(readOnly=true)
        SpaceGroup getSpaceGroup​(long id)
        Deprecated.
        Retrieve a space by its ID. The space can be of any type.
        Parameters:
        id - the ID of the space
        Returns:
        the space, or null if no space exists with that id.
      • getSpaceGroup

        @Transactional(readOnly=true)
        SpaceGroup getSpaceGroup​(String spaceGroupKey)
        Deprecated.
        Retrieve a spaceGroup by its key.
        Parameters:
        spaceGroupKey - the key of the spaceGroup to retrieve
        Returns:
        the spaceGroup, or null if no spaceGroup exists with that key
      • getSpaceGroups

        @Transactional(readOnly=true)
        List getSpaceGroups()
        Deprecated.
        Retrieves all SpaceGroups in the system
        Returns:
        List of SpaceGroup objects
      • getSpaceGroupsForUser

        @Transactional(readOnly=true)
        Set<SpaceGroup> getSpaceGroupsForUser​(String username)
        Deprecated.
        Returns:
        a set of space groups for the specified user, and empty set if none found.
        Throws:
        IllegalArgumentException - if username is null