Method Summary |
|
public ToolConfiguration | addTool() Add a new tool to the page. |
public ToolConfiguration | addTool(Tool reg) Add a new tool to the page, initialized to the tool registration information provided.
Parameters: reg - The tool registration information used to initialize the tool. |
public ToolConfiguration | addTool(String toolId) Add a new tool to the page, initialized to the tool id provided.
Parameters: toolId - The tool id for this tool. |
public Site | getContainingSite() Access the site in which this page lives. |
public int | getLayout() the layout for this page. |
public String | getLayoutTitle() the layout title for this page. |
public int | getPosition() get the 0 based index position of the page within the site's pages. |
public String | getSiteId() the site id for this page. |
public String | getSkin() the skin to use for this page. |
public String | getTitle() The human readable Title of this SitePage. |
public ToolConfiguration | getTool(String id) Access a tool on this page by id.
Parameters: id - The tool id. |
public List | getTools() The List (ToolConfiguration) of tools on this page. |
public List | getTools(int col) The List (ToolConfiguration) of tools on this column (0 based) of this page. |
Collection | getTools(String[] toolIds) Get all the tools placed in the site on this page that are of any of these tool ids.
Parameters: tooldIds - The tool id array (String, such as sakai.chat, not a tool configuration / placement uuid) to search for. |
public boolean | isPopUp() true if page should open in new window. |
public void | moveDown() Move this page one step towards the end of the order of pages in this site. |
public void | moveUp() Move this page one step towards the start of the order of pages in this site. |
public void | removeTool(ToolConfiguration tool) Remove a tool from this page. |
public void | setLayout(int layout) Set the layout for this page. |
public void | setPopup(boolean popup) Set the popup status for this page. |
public void | setPosition(int pos) Move this page to a specific (0 based index) position within the site's pages. |
public void | setTitle(String title) Set the display title of this page. |