| java.lang.Object org.sakaiproject.site.impl.BaseSitePage
BaseSitePage | public class BaseSitePage implements SitePage,Identifiable(Code) | |
BaseSitePage is an implementation of the Site API SitePage.
|
Constructor Summary | |
protected | BaseSitePage(Site site) Construct. | protected | BaseSitePage(Site site, String id, String title, String layout, boolean popup) | protected | BaseSitePage(String pageId, String title, String layout, boolean popup, String siteId, String skin) ReConstruct - if we don't have a site to follow up to get to certain site info. | protected | BaseSitePage(SitePage other, Site site, boolean exact) Construct as a copy of another. | protected | BaseSitePage(Element el, Site site) Construct from XML element. |
m_active | protected boolean m_active(Code) | | Active flag.
|
m_layout | protected int m_layout(Code) | | The layout.
|
m_popup | protected boolean m_popup(Code) | | The popup setting.
|
m_site | protected Site m_site(Code) | | The site I belong to.
|
m_siteId | protected String m_siteId(Code) | | The site id I belong to, in case I have no m_site.
|
m_skin | protected String m_skin(Code) | | The site skin, in case I have no m_site.
|
m_toolsLazy | protected boolean m_toolsLazy(Code) | | false while the page's tools have not yet been read in.
|
BaseSitePage | protected BaseSitePage(Site site)(Code) | | Construct. Auto-generate the id.
Parameters: site - The site in which this page lives. |
BaseSitePage | protected BaseSitePage(Site site, String id, String title, String layout, boolean popup)(Code) | | ReConstruct
Parameters: site - The site in which this page lives. Parameters: id - The page id. Parameters: title - The page title. Parameters: layout - The layout as a string ("0" or not currently supported). Parameters: popup - The page popup setting. |
BaseSitePage | protected BaseSitePage(String pageId, String title, String layout, boolean popup, String siteId, String skin)(Code) | | ReConstruct - if we don't have a site to follow up to get to certain site info.
Parameters: pageId - The page id. Parameters: title - The page title. Parameters: layout - The layout as a string ("0" or not currently supported). Parameters: popup - The page popup setting. Parameters: siteId - The page's site's id. Parameters: skin - The page's site's skin. |
BaseSitePage | protected BaseSitePage(SitePage other, Site site, boolean exact)(Code) | | Construct as a copy of another.
Parameters: other - The other to copy. Parameters: site - The site in which this page lives. Parameters: exact - If true, we copy ids - else we generate new ones for page and tools. |
BaseSitePage | protected BaseSitePage(Element el, Site site)(Code) | | Construct from XML element.
Parameters: el - The XML element. Parameters: site - The site in which this page lives. |
activate | protected void activate()(Code) | | Enable editing.
|
closeEdit | protected void closeEdit()(Code) | | Close the edit object - it cannot be used after this.
|
getContainingSite | public Site getContainingSite()(Code) | | |
getLayout | public int getLayout()(Code) | | |
getPosition | public int getPosition()(Code) | | |
isActiveEdit | public boolean isActiveEdit()(Code) | | |
isPopUp | public boolean isPopUp()(Code) | | |
moveDown | public void moveDown()(Code) | | |
moveUp | public void moveUp()(Code) | | |
setLayout | public void setLayout(int layout)(Code) | | |
setPopup | public void setPopup(boolean popup)(Code) | | |
setPosition | public void setPosition(int pos)(Code) | | |
|
|