|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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.
| Method Summary | |
void |
clearAllTransports()
Clears all the transports in the Registry that it holds. |
IAttachment |
getAttachmentContent(GroupwareItemType itemType,
String transportName,
String id,
String attachmentId,
com.sapportals.portal.security.usermanagement.IUser user)
Returns content of the attachment based on the id specified. |
Map |
getAvailabilityInfo(IDateRange range,
int timeInterval,
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,
String serverAlias)
|
Properties |
getCredentialsProperties(int itemType,
String transportName)
Returns different credential properties needed by the specified transport.Used for fetching information from user mapping. |
IGWResourceManager |
getGWResourceManager()
Returns the IGWResourceManager instance available with this manager. |
IGroupwareItem |
getItem(GroupwareItemType itemType,
String transportName,
String Id,
com.sapportals.portal.security.usermanagement.IUser user)
Returns a groupware item from the transport based on the id specified. |
List |
getItemList(GroupwareItemType itemType,
IDateRange range,
com.sapportals.portal.security.usermanagement.IUser user)
Returns all groupware items for the specified date range. |
List |
getItemList(GroupwareItemType itemType,
IDateRange range,
Properties searchCriteria,
com.sapportals.portal.security.usermanagement.IUser user,
int nCount)
Returns all groupware items for the specified date range and search attributes. |
List |
getSystemIds(int itemType,
String transportName)
Method get the ids of different systems for the specified transport. |
Map |
getTransportNames(GroupwareItemType itemType,
TransportType transportType,
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. |
Map |
getTransports(GroupwareItemType itemType,
TransportType transportType)
Returns the available transposrts for the specified transport type.The tranpsports are returned as a map with the transport name as the key, and the transport as the value. |
void |
loadTransport(String transportClass,
List transportProperties)
Loads up the specified transport class, initializes it and registers the transport with transport registry. |
void |
loadTransport(String transportClass,
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 |
remove(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user,
boolean isSeries)
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 void startUp()
throws GroupwareException
GroupwareException - When error occurs
public void shutDown()
throws GroupwareException
GroupwareException - When error occurs
public void loadTransport(String transportClass,
List transportProperties)
throws GroupwareException
transportClass - Class name of the transport to be loaded.transportProperties - Transport properties.
GroupwareException - When error occurs
public void loadTransport(String transportClass,
List transportProperties,
boolean isDefault)
throws GroupwareException
transportClass - Class name of the transport to be loaded.transportProperties - Transport properties.isDefault - true if transport (with its classname transportClass)is default or false
GroupwareException - When error occurs
public void save(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be saveduser - User Object
GroupwareException - When error occurs
public void remove(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be saveduser - User object
GroupwareException - When error occurs
public void remove(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user,
boolean isSeries)
throws GroupwareException
item - groupware item to be saveduser - User object
GroupwareException - When error occurs
public void send(IGroupwareItem item,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
item - groupware item to be sentuser - User object
GroupwareException - When error occurs
public 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 - User Object
GroupwareException - When error occurs
public List getItemList(GroupwareItemType itemType,
IDateRange range,
Properties searchCriteria,
com.sapportals.portal.security.usermanagement.IUser user,
int nCount)
throws GroupwareException
itemType - groupware item type like mail, meeting, taskrange - date range for which the groupware items are fetchedsearchCriteria - search criteria to search in groupware server groupware itemsuser - User object
GroupwareException - When error occurs
public IGroupwareItem getItem(GroupwareItemType itemType,
String transportName,
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 - User Object
GroupwareException - When error occurs
public Map getAvailabilityInfo(IDateRange range,
int timeInterval,
List addresses,
com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
GroupwareException - When error occurs
public Map getTransportNames(GroupwareItemType itemType,
TransportType transportType,
Locale locale)
itemType - groupware item type like mail, meeting, tasktransportType - transport types like read, or send transportlocale - locale for the description text
public Map getTransports(GroupwareItemType itemType,
TransportType transportType)
itemType - groupware item type like mail, meeting, tasktransportType - transport types like read, or send transport
public Properties getCredentialsProperties(int itemType,
String transportName)
throws GroupwareException
itemType - groupware item type like mail, meeting, tasktransportName - name of the transport
GroupwareException - When error occurs
public IAttachment getAttachmentContent(GroupwareItemType itemType,
String transportName,
String id,
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 attchment
GroupwareException - When error occurs
public List getSystemIds(int itemType,
String transportName)
itemType - groupware item type like mail, meeting, tasktransportName - name of the transport
public IGroupwareCredentials getCredentials(com.sapportals.portal.security.usermanagement.IUser user,
String serverAlias)
throws GroupwareException
user - User Object.serverAlias - system name under which the user's groupware authentication information is present.
GroupwareException - When error occurs
public IGWResourceManager getGWResourceManager()
throws GroupwareException
GroupwareException - When error occurs
public void clearAllTransports()
throws GroupwareException
GroupwareException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||