| |
IERUItemSAAPI uses the term Item to refer to any object inside a Room that is distinct from other objects in the sense that it has its own creator and create date. The IERUItem interface is the common interface implemented by these objects. Nearly all SAAPI objects inside Rooms are Items. Because IERUItem is one of the most generic and widely-implemented interfaces in SAAPI, you'll find yourself frequently using its properties and methods. If you are writing eRoom applications in a scripting language, you'll find IERUItem's interface accessor properties useful when you need to access other interfaces implemented by an object. For example, you could use IERUItem's Type property to determine what type of object, such as a Link or a File, the item represents. Then you would access the item with the appropriate type-specific property, such as File or Link. Use the IsPage, IsContainer, and IsTopic properties to categorize eRoom items and then treat objects in those categories generically. Many of the properties in IERUItem are accessible to members even if they do not have "Can Open" access to the Item. These properties are: AccessControl, CreateDate, File, ID, IsContainer, IsPage, IsTopic, ModifiedDate, Name, Parent, PrincipalItem, Room, and Type. All other properties and methods return EROOM_E_ACCESSDENIED if the logged in member does not have "Can Open" access to the item. |
Home |