com.sap.ip.collaboration.gw.api.framework.groupware

Interface IGroupwareItemFactory


public interface IGroupwareItemFactory

This is a class used for creating differenct types of Groupware Objects.


Method Summary
 IAvailabilityInfo getAvailabilityInfo()
          Method for fetching Availability information.
 IDateRange getDateRange(Date pStartDate, Date pEndDate)
           
 IEmailAddress getEmailObject(String pName)
           
 IEmailAddress getEmailObject(String pName, String pMailId)
           
 IGroupwareItem getNewInstance(GroupwareItemType type)
          Creates the Groupware item of the given type.
 Object getNewInstanceForImpl(GroupwareItemType type)
          Creates the object of the given groupware item type which is not actual Groupware Item Object but sub objects associated with the Standard Groupware Item. e.g Items like Attachements,Availability Info
 IRecurrenceTransport getRecurrenceImpl()
          This method is used to give recurrence implementation object
 

Method Detail

getNewInstance

public IGroupwareItem getNewInstance(GroupwareItemType type)
Creates the Groupware item of the given type.

Parameters:
type - Groupware Item type.
Returns:
Instance of the given groupware item type.

getNewInstanceForImpl

public Object getNewInstanceForImpl(GroupwareItemType type)
Creates the object of the given groupware item type which is not actual Groupware Item Object but sub objects associated with the Standard Groupware Item. e.g Items like Attachements,Availability Info

Parameters:
type - Input Groupware item type.
Returns:
Instance of the Implementation of given groupware item type.

getDateRange

public IDateRange getDateRange(Date pStartDate,
                               Date pEndDate)
Parameters:
pStartDate - Start date value.
pEndDate - End date value.
Returns:
IDateRange Object. IDateRange object constructed out of given start date and end date object.

getEmailObject

public IEmailAddress getEmailObject(String pName)
                             throws MalformedURLException
Parameters:
pName - A valid name object according to the RFC 822 is a String that does not contain the characters 0 - 31, 34 or 127 which is control characters, delete and qoute. This class will ruthlessly accept ANY strings as valid names and it is up to the implementors and users of this class to make sure that the name string get encoded or left out before attempting to use it in a protocoll specific manner.
Returns:
Email Address Object conforming to IEmailAddress.
Throws:
MalformedURLException - Upon creation of the address object an MalformedURLException will be thrown if the address does not conform to the above rules.

getEmailObject

public IEmailAddress getEmailObject(String pName,
                                    String pMailId)
                             throws MalformedURLException
Parameters:
pName - A valid name object according to the RFC 822 is a String that does not contain the characters 0 - 31, 34 or 127 which is control characters, delete and qoute. This class will ruthlessly accept ANY strings as valid names and it is up to the implementors and users of this class to make sure that the name string get encoded or left out before attempting to use it in a protocoll specific manner.
pMailId - A valid address string cannot - like the name string - contain the characters 0 - 31, 34 or 127. It also cannot contain spaces. An address must also contain a "@" character which cannot start or end the address string.
Returns:
EmailAddress Object
Throws:
MalformedURLException - Upon creation of the address object an MalformedURLException will be thrown if the address does not conform to the above rules.

getAvailabilityInfo

public IAvailabilityInfo getAvailabilityInfo()
Method for fetching Availability information.

Returns:
Availability information

getRecurrenceImpl

public IRecurrenceTransport getRecurrenceImpl()
This method is used to give recurrence implementation object

Returns:
new Recurrence Object


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.