Interface Space

All Superinterfaces:
CanRender<Renderer<? extends Renderer<?>>>, HasReference<ModelEntityReference>, ModelEntity, ModelEntityBase<Space,SpaceReference>

public interface Space extends ModelEntityBase<Space,SpaceReference>
The space now represents a folder (IFolder from old API) in which the rich pages or documents are contained, but in future it might me extended to also have some fields, so it will derive from ModelObject
Since:
3.9.0
  • Method Details

    • pageOrDocumentExists

      boolean pageOrDocumentExists(@NotNull String name)
      This method also returns true when the current user does not have the rights to see the pages or documents.
    • title

      @Nullable String title()
    • label

      @NotNull String label()
      Returns:
      A user-readable label.
    • label

      String label(@NotNull String separator)
      Parameters:
      separator - will render the hierarchy of spaces, using the delimiter as the separator between spaces.
      Returns:
      A user-readable label.
      Since:
      3.22.2
    • getChildSpaces

      @NotNull IterableWithSize<Space> getChildSpaces()
      Returns:
      a list of child spaces.
      Since:
      3.18.1
    • getParentSpace

      @Nullable Space getParentSpace()
      Returns:
      the parent space if not the root space.
      Since:
      3.18.1
    • can

      @NotNull SpacePermissions can()
      Specified by:
      can in interface ModelEntity
      Since:
      3.23.10
    • getOldApi

      @NotNull @GwtIncompatible com.polarion.alm.projects.model.IFolder getOldApi()
      Since:
      3.23.10