com.sap.ip.collaboration.room.api

Interface IRoomCategoryFactory


public interface IRoomCategoryFactory

Interface describing the factory for room categories.

You can obtain instances of IRoomCategory using this factory.

You can use these instances to set the room categories when you create a new room. To do this you first have to use the IRoomCategoryFactory to create new category instances and then put them into the method call IRoomInfo.setCategories(IRoomCategory[])

See Also:
IRoomCategory

Method Summary
 IRoomCategory getDefaultRoomCategory()
          Get the default room category
 IRoomCategory[] getRoomCategories()
          Get all existing room categories in the system
 IRoomCategory getRoomCategory(String name)
          Get a specific room category
 

Method Detail

getRoomCategories

public IRoomCategory[] getRoomCategories()
Get all existing room categories in the system

Returns:
Array containing all room categories

getRoomCategory

public IRoomCategory getRoomCategory(String name)
                              throws NoSuchRoomCategoryException
Get a specific room category

Parameters:
name - the name of the category to be instanciated
Returns:
instance of the room category
Throws:
NoSuchRoomCategoryException - if there is no such room category configured in the backend system with the given name

getDefaultRoomCategory

public IRoomCategory getDefaultRoomCategory()
                                     throws NoSuchRoomCategoryException
Get the default room category

Returns:
instance of the default room category
Throws:
NoSuchRoomCategoryException - if there is no default room category configured in the backend system


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.