|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnouncementsControl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.bea.apps.groupspace.controls.generic.ContentControlBase |
---|
ContentControlBase.NodeSearchType, ContentControlBase.Params |
Method Summary | |
---|---|
Announcement |
create(String title,
String description,
CommunityContent.Visibility visibility,
Calendar expiration,
String messageBody)
Creates an announcement with the effective date of the announcement being set to the current time. |
Announcement |
create(String title,
String description,
CommunityContent.Visibility visibility,
String severity,
Calendar expiration,
String messageBody,
ID parentId)
Creates an announcement with the effective date of the announcement being set to the current time. |
Announcement |
create(String title,
String description,
CommunityContent.Visibility visibility,
String severity,
String attachment,
String addressTo,
Calendar effective,
Calendar expiration,
String messageBody,
ID parentId,
ID[] relatedNodes)
Creates an announcement. |
Announcement |
create(String title,
String description,
CommunityContent.Visibility visibility,
String severity,
String attachment,
String addressTo,
Calendar effective,
Calendar expiration,
String messageBody,
ID parentId,
ID[] relatedNodes,
Set<CmxControl.PropertyPair> dynamicProps)
|
Set<Announcement> |
getEffectiveAnnouncements()
Returns the set of announcements that are: Currently in effect Apply to the currently logged in user. |
SortableFilterablePagedResult |
getEffectiveAnnouncementsAsPagedResult(SortCriteria[] sortCriteria)
Returns the set of announcements that are: Currently in effect Apply to the currently logged in user. |
String |
getMessageBody(Announcement announcement)
|
Methods inherited from interface com.bea.apps.groupspace.controls.generic.CM_Control |
---|
getPersonalContentFolder |
Methods inherited from interface com.bea.apps.groupspace.controls.generic.GroupSpaceContentControl |
---|
asSet, createFolder, createFolder, findByDescription, findByTitle, getCommunity, getCommunityAndPrivate, getCommunityFolder, getPersonal, getPrivate, getReferencingContent, getReferencingContent, getRelatedContent, promoteToCommunity, removeCommunityAndPrivate, removePersonal, removePrivate |
Methods inherited from interface com.bea.apps.groupspace.controls.generic.ContentControlBase |
---|
createObjectClass, createObjects, createObjects, findById, findContentById, findMany, findMany, findManyChildren, getAllPropertyDefinitions, getDefaultStringValue, getFolder, getImmediateChildren, getImmediateChildren, getImmediateChildrenAsPagedResult, getObjectClass, getTopFolder, getTopNode, move, move, remove, remove, remove, removeAll, update, update |
Method Detail |
---|
Announcement create(String title, String description, CommunityContent.Visibility visibility, Calendar expiration, String messageBody) throws Exception
title
- Title of the announcement (or subject)description
- A lengthy description of the announcment.visibility
- Visibility (Community, personal, private)expiration
- Expiration date of announcement.
Exception
Announcement create(String title, String description, CommunityContent.Visibility visibility, String severity, Calendar expiration, String messageBody, ID parentId) throws Exception
title
- Title of the announcement (or subject)description
- A lengthy description of the announcment.visibility
- Visibility (Community, personal, private)severity
- The severity of the announcement.expiration
- Expiration date of announcement.parentId
- The parent node ID
Exception
Announcement create(String title, String description, CommunityContent.Visibility visibility, String severity, String attachment, String addressTo, Calendar effective, Calendar expiration, String messageBody, ID parentId, ID[] relatedNodes) throws Exception
title
- Title of the announcement (or subject)description
- A lengthy description of the announcment.visibility
- Visibility (Community, personal, private)attachment
- TODOaddressTo
- If the visibility is community, this can be one of the
roles defined as membership capability.effective
- Effective date of announcement.expiration
- Expiration date of announcement.parentId
- The parent node IDrelatedNodes
- TODO
Exception
Announcement create(String title, String description, CommunityContent.Visibility visibility, String severity, String attachment, String addressTo, Calendar effective, Calendar expiration, String messageBody, ID parentId, ID[] relatedNodes, Set<CmxControl.PropertyPair> dynamicProps) throws Exception
Exception
Set<Announcement> getEffectiveAnnouncements() throws AuthorizationException, NoSuchNodeException, RepositoryException
AuthorizationException
NoSuchNodeException
RepositoryException
SortableFilterablePagedResult getEffectiveAnnouncementsAsPagedResult(SortCriteria[] sortCriteria) throws AuthorizationException, NoSuchNodeException, RepositoryException
AuthorizationException
NoSuchNodeException
RepositoryException
String getMessageBody(Announcement announcement) throws RepositoryException, AuthorizationException
RepositoryException
AuthorizationException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |