|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a SiteArea object.
SiteArea objects are grouped by Site
objects to form the Site Framework.
Like Site objects, SiteArea objects
can specify a relationship between AuthoringTemplate
and PresentationTemplate objects. However, any relationship
specified in a SiteArea will override the relationship
specified in a Site.
An important feature of SiteArea objects to note is the
ability to add Content objects. Adding a Content
to a SiteArea groups the Content and will determine
where the Content lies in the Site Framework.
A SiteArea may be the child of a Site or another
SiteArea. A SiteArea may also be the parent of
another SiteArea.
Passing a null argument to a method of this interface will result in a
NullPointerException, unless stated otherwise.
Site| Field Summary | |
static java.lang.String |
COPYRIGHT
Copyright statement |
| Method Summary | |
void |
addContent(DocumentId p_contentId)
Adds the Content with the specified DocumentId as
the last child of this SiteArea. |
DocumentId |
getParent()
Returns the DocumentId of the parent of this SiteArea. |
boolean |
hasContent(DocumentId p_contentId)
Returns true if this SiteArea object has a
child Content with the given DocumentId. |
void |
insertContent(DocumentId p_priorChildId,
DocumentId p_contentId)
Inserts the Content with a DocumentId specified by p_contentId
as a child of this SiteArea after the Content with a
DocumentId of p_priorChildId. |
void |
removeContent(DocumentId p_contentId)
Removes a child Content with the given DocumentId
from the this SiteArea. |
| Methods inherited from interface com.ibm.workplace.wcm.api.SiteFrameworkContainer |
addSiteArea, addTemplateMapping, getAllChildren, getAuthoringTemplateIds, getChildren, getDefaultContent, getTemplateMapping, hasSiteArea, hasTemplateMapping, insertSiteArea, removeSiteArea, removeTemplateMapping, setDefaultContent |
| Methods inherited from interface com.ibm.workplace.wcm.api.ContentComponentContainer |
addComponent, componentIterator, createComponent, getComponent, getComponentByReference, getComponentNames, hasComponent, removeComponent, setComponent |
| Methods inherited from interface com.ibm.workplace.wcm.api.Editable |
addAuthors, addDeleteAccessMembers, addEditAccessMembers, addLiveAccessMembers, addOwners, addReadAccessMembers, isChanged, removeAuthors, removeDeleteAccessMembers, removeEditAccessMembers, removeLiveAccessMembers, removeOwners, removeReadAccessMembers, setDescription, setName |
| Methods inherited from interface com.ibm.workplace.wcm.api.Document |
getAuthors, getDeleteAccessMembers, getDescription, getEditAccessMembers, getId, getLiveAccessMembers, getModifiedDate, getName, getOwners, getReadAccessMembers, hasDeleteAccess, hasDeleteAccess, hasEditAccess, hasEditAccess, hasLiveAccess, hasLiveAccess, hasReadAccess, hasReadAccess |
| Field Detail |
public static final java.lang.String COPYRIGHT
| Method Detail |
public boolean hasContent(DocumentId p_contentId)
SiteArea object has a
child Content with the given DocumentId.
p_contentId - the ID of the content
SiteArea object has a child with
the given DocumentId; false otherwise.
public void addContent(DocumentId p_contentId)
throws DuplicateChildException
Content with the specified DocumentId as
the last child of this SiteArea.
p_contentId - the DocumentId of the Content to add
DuplicateChildException - if a Content with the given
DocumentId already exists as a child of this SiteArea
public void insertContent(DocumentId p_priorChildId,
DocumentId p_contentId)
throws DuplicateChildException
Content with a DocumentId specified by p_contentId
as a child of this SiteArea after the Content with a
DocumentId of p_priorChildId.
p_priorChildId - the DocumentId of the child Content to
insert afterp_contentId - the DocumentId of the Content to add
DuplicateChildException - if a Content with the given
DocumentId already exists as a child of this SiteAreapublic void removeContent(DocumentId p_contentId)
Content with the given DocumentId
from the this SiteArea.
p_contentId - the DocumentId of the Content to removepublic DocumentId getParent()
DocumentId of the parent of this SiteArea.
The parent of this SiteArea may be a Site or another
SiteArea.
This method will return null if the user does not have access to the
parent of this SiteArea.
DocumentId of the parent of this SiteArea.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||