|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The Groupware manager class acts as the central point for managing the different groupware item types, their storage locations, and interacting with the available transports.
Copyright (c) SAP 2002
| Method Summary | |
IGroupwareItem |
createNewItem(GroupwareItemType itemType)
Creates a new groupware item based on the default transport. |
IGroupwareItem |
createNewItem(GroupwareItemType itemType,
java.lang.String transportName)
Creates a new groupware item based on the specified transport. |
IAttachment |
getAttachmentContent(GroupwareItemType itemType,
java.lang.String transportName,
java.lang.String id,
java.lang.String attachmentId,
com.sapportals.portal.security.usermanagement.IUser user)
Returns content of the attachment based on the id specified. |
java.util.Map |
getAvailabilityInfo(IDateRange range,
int timeInterval,
java.util.List addresses,
com.sapportals.portal.security.usermanagement.IUser user)
Returns the availability information for a list of users. |
IGroupwareCredentials |
getCredentials(com.sapportals.portal.security.usermanagement.IUser user,
java.lang.String serverAlias)
|
java.util.Properties |
getCredentialsProperties(int itemType,
java.lang.String transportName)
Returns different credential properties needed by the specified transport.Used for fetching information from user mapping. |
IGroupwareItemFactory |
getGroupwareItemFactory(com.sapportals.portal.security.usermanagement.IUser user)
|
IGroupwareItem |
getItem(GroupwareItemType itemType,
java.lang.String transportName,
java.lang.String Id,
com.sapportals.portal.security.usermanagement.IUser user)
Returns a groupware item from the transport based on the id specified. |
java.util.List |
getItemList(GroupwareItemType itemType,
IDateRange range,
com.sapportals.portal.security.usermanagement.IUser user)
Returns all groupware items for the specified date range. |
java.util.List |
getItemList(GroupwareItemType itemType,
IDateRange range,
java.util.Properties searchCriteria,
com.sapportals.portal.security.usermanagement.IUser user)
Returns all groupware items for the specified date range and search attributes. |
java.util.List |
getSystemIds(int itemType,
java.lang.String transportName)
Method get the ids of different systems for the specified transport. |
java.util.Map |
getTransportNames(GroupwareItemType itemType,
TransportType transportType,
java.util.Locale locale)
Returns names of the available transposrts for the specified transport type.The names are returned as a map with the transport name as the key, and the description as the value. |
void |
loadTransport(java.lang.String transportClass,
java.util.List transportProperties)
Loads up the specified transport class, initializes it and registers the transport with transport registry. |
void |
loadTransport(java.lang.String transportClass,
java.util.List transportProperties,
boolean isDefault)
Loads up the specified transport class, initializes it and registers the transport with transport registry. |
void |
remove(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
Saves the groupware item.This method obtains the necessery credentials for connecting to the groupware server from credentials factory. |
void |
save(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
Saves the groupware item.This method obtains the necessery credentials for connecting to the groupware server from credentials factory. |
void |
send(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
Sends the groupware item to the intended recipient list.This method obtains the necessery credentials for connecting to the groupware server from credentials factory. |
void |
shutDown()
Terminates the groupware manager. |
void |
startUp()
Initalizes the groupware manager. |
| Method Detail |
public IGroupwareItem createNewItem(GroupwareItemType itemType)
throws GroupwareException
itemType - groupware item type like mail, meeting, taskGroupwareException -
public IGroupwareItem createNewItem(GroupwareItemType itemType,
java.lang.String transportName)
throws GroupwareException
itemType - groupware item type like mail, meeting, tasktransportName - name of the transportGroupwareException -
public IAttachment getAttachmentContent(GroupwareItemType itemType,
java.lang.String transportName,
java.lang.String id,
java.lang.String attachmentId,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
itemType - groupware item type like mail, meeting, tasktransportName - name of the transport from which the item will be fetchedid - id of the groupware itemattachmentId - id of the attchmentIUser - userGroupwareException -
public java.util.Map getAvailabilityInfo(IDateRange range,
int timeInterval,
java.util.List addresses,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
DateRange - range date rangeint - timeIntervalList - addresses list of e-mailId of usersIUser - userGroupwareException -
public IGroupwareCredentials getCredentials(com.sapportals.portal.security.usermanagement.IUser user,
java.lang.String serverAlias)
throws GroupwareException
public java.util.Properties getCredentialsProperties(int itemType,
java.lang.String transportName)
throws GroupwareException
itemType - groupware item type like mail, meeting, tasktransportName - name of the transportGroupwareException -
public IGroupwareItemFactory getGroupwareItemFactory(com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
public IGroupwareItem getItem(GroupwareItemType itemType,
java.lang.String transportName,
java.lang.String Id,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
itemType - groupware item type like mail, meeting, tasktransportName - name of the transport from which the item will be fetchedId - id of the groupware itemuser - GroupwareException -
public java.util.List getItemList(GroupwareItemType itemType,
IDateRange range,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
itemType - groupware item type like mail, meeting, taskrange - date range for which the groupware items are fetcheduser - GroupwareException -
public java.util.List getItemList(GroupwareItemType itemType,
IDateRange range,
java.util.Properties searchCriteria,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
itemType - groupware item type like mail, meeting, taskrange - date range for which the groupware items are fetchedsearchCriteria - user - GroupwareException -
public java.util.List getSystemIds(int itemType,
java.lang.String transportName)
itemType - groupware item type like mail, meeting, tasktransportName - name of the transport
public java.util.Map getTransportNames(GroupwareItemType itemType,
TransportType transportType,
java.util.Locale locale)
itemType - groupware item type like mail, meeting, tasktransportType - transport types like read, or send transportlocale - locale for the description text
public void loadTransport(java.lang.String transportClass,
java.util.List transportProperties)
throws GroupwareException
transportClass - transportProperties - GroupwareException -
public void loadTransport(java.lang.String transportClass,
java.util.List transportProperties,
boolean isDefault)
throws GroupwareException
transportClass - transportProperties - isDefault - GroupwareException -
public void remove(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be saveduser - GroupwareException -
public void save(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be saveduser - GroupwareException -
public void send(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be sentuser - GroupwareException -
public void shutDown()
throws GroupwareException
GroupwareException -
public void startUp()
throws GroupwareException
GroupwareException -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||