#include <support/ICatalogPermissions.h>
Inheritance diagram for ICatalogPermissions:
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 () |
|
|
|
|
|
Hide an entry from the original catalog.
Implemented in BCatalogMirror. |
|
|
|
Implemented in BCatalogMirror. |
|
Overlay an entry in the original catalog. Overlay an entry in the original catalog with the replacement. Implemented in BCatalogMirror. |
|
Restore an entry that was previously replaced.
Implemented in BCatalogMirror. |
|
Implemented in BCatalogMirror. |
|
Show an entry that was previously hidden.
Implemented in BCatalogMirror. |
|
|
|
Implemented in BCatalogMirror. |