Package | Description |
---|---|
org.apache.jetspeed.spaces |
Modifier and Type | Method and Description |
---|---|
Space |
Spaces.createSpace(String spaceName,
String owner,
Folder templateFolder,
String title,
String shortTitle,
String description,
String theme,
String constraint)
Creates a space persisted after copying from the template folder.
|
Space |
Spaces.lookupSpace(String spaceName)
Looks up a space object given the unique key spaceName from the persistence store
|
Space |
Spaces.lookupUserSpace(String username)
Retrieve the user space for a user
|
Modifier and Type | Method and Description |
---|---|
List<Space> |
Spaces.listSpaces()
Lists all unique spaces in the portal, regardless of environment
|
List<Space> |
Spaces.listSpaces(String envName)
Lists all spaces for a given environment
|
Modifier and Type | Method and Description |
---|---|
void |
Spaces.addSpaceToEnvironment(Space space,
Environment env)
Adds a space to the list of spaces for the given environment
A space can exist in zero or more environments
|
void |
Spaces.deleteSpace(Space space)
Deletes a space object given the unique key spaceName from the persistence store
|
boolean |
Spaces.isSpaceInEnvironment(Space space,
Environment env)
Determines if a space is a member of the set of spaces for a given environment
|
boolean |
Spaces.isUserSpace(Space space)
Returns true if the space is from a user space folder.
|
List<Folder> |
Spaces.listFolders(Space space)
List all folders in the given space
|
List<Link> |
Spaces.listLinks(Space space)
List all links in the given space
|
List<Page> |
Spaces.listPages(Space space)
List all pages in the given space
|
void |
Spaces.removeSpaceFromEnvironment(Space space,
Environment env)
Removes a space from the list of spaces for the given environment
|
void |
Spaces.storeSpace(Space space)
Stores a space to the portal
|
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.