ICatalogPermissions Class Reference
[Data Model]

#include <support/ICatalogPermissions.h>

Inheritance diagram for ICatalogPermissions:

IInterface SAtom BnCatalogPermissions BCatalogMirror List of all members.

Detailed Description

ICatalogPermissions provides for ICatalog modifications.

But without modifying the original catalog. It might seem that ICatalogPermissions should be called something different and should inherit from ICatalog. However, we need to separate the interfaces for security purposes. (If you have an ICatalog, that is all you can see, but if you have an ICatalogPermissions then you can work with both interfaces.)


Public Member Functions

virtual status_t HideEntry (const SString &name)=0
 Hide an entry from the original catalog.
status_t LinkCatalogPermissions (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0)
virtual status_t Merge (const sptr< ICatalog > &catalog)=0
virtual status_t OverlayEntry (const SString &location, const SValue &item)=0
 Overlay an entry in the original catalog.
virtual status_t RestoreEntry (const SString &location)=0
 Restore an entry that was previously replaced.
virtual void SetWritable (bool value)=0
virtual status_t ShowEntry (const SString &name)=0
 Show an entry that was previously hidden.
status_t UnlinkCatalogPermissions (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0)
virtual bool Writable () const =0

Protected Member Functions

 ICatalogPermissions ()
virtual ~ICatalogPermissions ()


Constructor & Destructor Documentation

ICatalogPermissions  )  [inline, protected]
 

virtual ~ICatalogPermissions  )  [protected, virtual]
 


Member Function Documentation

virtual status_t HideEntry const SString name  )  [pure virtual]
 

Hide an entry from the original catalog.

Implemented in BCatalogMirror.

status_t LinkCatalogPermissions const sptr< IBinder > &  to,
const SValue mappings,
uint32_t  flags = 0
[inline]
 

virtual status_t Merge const sptr< ICatalog > &  catalog  )  [pure virtual]
 

Implemented in BCatalogMirror.

virtual status_t OverlayEntry const SString location,
const SValue item
[pure virtual]
 

Overlay an entry in the original catalog.

Overlay an entry in the original catalog with the replacement.

Implemented in BCatalogMirror.

virtual status_t RestoreEntry const SString location  )  [pure virtual]
 

Restore an entry that was previously replaced.

Implemented in BCatalogMirror.

virtual void SetWritable bool  value  )  [pure virtual]
 

Implemented in BCatalogMirror.

virtual status_t ShowEntry const SString name  )  [pure virtual]
 

Show an entry that was previously hidden.

Implemented in BCatalogMirror.

status_t UnlinkCatalogPermissions const sptr< IBinder > &  to,
const SValue mappings,
uint32_t  flags = 0
[inline]
 

virtual bool Writable  )  const [pure virtual]
 

Implemented in BCatalogMirror.


The documentation for this class was generated from the following file: