| java.lang.Object org.sakaiproject.site.impl.BaseSite
BaseSite | public class BaseSite implements Site(Code) | |
BaseSite is a base implementation of the Site API Site.
|
Constructor Summary | |
public | BaseSite(String id) Construct. | public | BaseSite(Site other) Construct from another Site, exact. | public | BaseSite(Site other, boolean exact) Construct from another Site. | public | BaseSite(Element el) Construct from an existing definition, in xml. | public | BaseSite(String id, String title, String type, String shortDesc, String description, String iconUrl, String infoUrl, String skin, boolean published, boolean joinable, boolean pubView, String joinRole, boolean isSpecial, boolean isUser, String createdBy, Time createdOn, String modifiedBy, Time modifiedOn, boolean customPageOrdered) ReConstruct. |
m_active | protected boolean m_active(Code) | | Active flag.
|
m_azg | protected AuthzGroup m_azg(Code) | | The azg from the AuthzGroupService that is my AuthzGroup impl.
|
m_azgChanged | protected boolean m_azgChanged(Code) | | Set to true if we have changed our azg, so it need to be written back on save.
|
m_createdTime | protected Time m_createdTime(Code) | | The time created.
|
m_createdUserId | protected String m_createdUserId(Code) | | The created user id.
|
m_customPageOrdered | protected boolean m_customPageOrdered(Code) | | Set to true to use the site's page order, or false to let a toolOrder override the page order.
|
m_deletedGroups | protected Collection m_deletedGroups(Code) | | List of groups deleted in this edit pass.
|
m_description | protected String m_description(Code) | | The site description.
|
m_event | protected String m_event(Code) | | The event code for this edit.
|
m_groupsLazy | protected boolean m_groupsLazy(Code) | | Set true while the groups have not yet been read in for a site.
|
m_joinable | protected boolean m_joinable(Code) | | Is this site joinable.
|
m_joinerRole | protected String m_joinerRole(Code) | | The name of the role given to users who join a joinable site.
|
m_lastModifiedTime | protected Time m_lastModifiedTime(Code) | | The time last modified.
|
m_lastModifiedUserId | protected String m_lastModifiedUserId(Code) | | The last modified user id.
|
m_pagesLazy | protected boolean m_pagesLazy(Code) | | Set true while the pages have not yet been read in for a site.
|
m_pubView | protected boolean m_pubView(Code) | | The pubView flag.
|
m_published | protected boolean m_published(Code) | | Published or not.
|
m_shortDescription | protected String m_shortDescription(Code) | | The site short description.
|
m_skin | protected String m_skin(Code) | | The skin to use for this site.
|
BaseSite | public BaseSite(String id)(Code) | | Construct.
Parameters: id - The site id. |
BaseSite | public BaseSite(Site other)(Code) | | Construct from another Site, exact.
Parameters: site - The other site to copy values from. Parameters: exact - If true, we copy ids - else we generate new ones for site, page and tools. |
BaseSite | public BaseSite(Site other, boolean exact)(Code) | | Construct from another Site.
Parameters: site - The other site to copy values from. Parameters: exact - If true, we copy ids - else we generate new ones for site, page and tools. |
BaseSite | public BaseSite(Element el)(Code) | | Construct from an existing definition, in xml.
Parameters: el - The message in XML in a DOM element. |
BaseSite | public BaseSite(String id, String title, String type, String shortDesc, String description, String iconUrl, String infoUrl, String skin, boolean published, boolean joinable, boolean pubView, String joinRole, boolean isSpecial, boolean isUser, String createdBy, Time createdOn, String modifiedBy, Time modifiedOn, boolean customPageOrdered)(Code) | | ReConstruct.
Parameters: id - Parameters: title - Parameters: type - Parameters: shortDesc - Parameters: description - Parameters: iconUrl - Parameters: infoUrl - Parameters: skin - Parameters: published - Parameters: joinable - Parameters: pubView - Parameters: joinRole - Parameters: isSpecial - Parameters: isUser - Parameters: createdBy - Parameters: createdOn - Parameters: modifiedBy - Parameters: modifiedOn - |
activate | protected void activate()(Code) | | Enable editing.
|
addMember | public void addMember(String userId, String roleId, boolean active, boolean provided)(Code) | | |
closeEdit | protected void closeEdit()(Code) | | Close the edit object - it cannot be used after this.
|
getAzg | protected AuthzGroup getAzg()(Code) | | Access (find if needed) the azg from the AuthzGroupService that implements my grouping.
My azg. |
getEvent | protected String getEvent()(Code) | | Access the event code for this edit.
The event code for this edit. |
getModifiedTime | public Time getModifiedTime()(Code) | | |
getOrderedPages | public List getOrderedPages()(Code) | | |
getShortDescription | public String getShortDescription()(Code) | | |
hasGroups | public boolean hasGroups()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isActiveEdit | public boolean isActiveEdit()(Code) | | |
isCustomPageOrdered | public boolean isCustomPageOrdered()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
isJoinable | public boolean isJoinable()(Code) | | |
isPubView | public boolean isPubView()(Code) | | |
isPublished | public boolean isPublished()(Code) | | |
loadAll | public void loadAll()(Code) | | |
regenerateIds | public void regenerateIds()(Code) | | |
removeMembers | public void removeMembers()(Code) | | |
removeRoles | public void removeRoles()(Code) | | |
set | protected void set(BaseSite other, boolean exact)(Code) | | Set me to be a deep copy of other (all but my id.)
Parameters: bOther - the other to copy. Parameters: exact - If true, we copy ids - else we generate new ones for site, page and tools. |
setCustomPageOrdered | public void setCustomPageOrdered(boolean setting)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setEvent | protected void setEvent(String event)(Code) | | Set the event code for this edit.
Parameters: event - The event code for this edit. |
setJoinable | public void setJoinable(boolean joinable)(Code) | | |
setMaintainRole | public void setMaintainRole(String role)(Code) | | |
setProviderGroupId | public void setProviderGroupId(String id)(Code) | | |
setPubView | public void setPubView(boolean pubView)(Code) | | |
setPublished | public void setPublished(boolean published)(Code) | | |
setShortDescription | public void setShortDescription(String shortDescripion)(Code) | | |
|
|