6#include <icomp/CComponentBase.h>
9#include <imtbase/IObjectCollection.h>
10#include <imtauth/IRoleInfoProvider.h>
17class CRoleCollectionAdapterComp:
18 public icomp::CComponentBase,
19 virtual public IRoleInfoProvider
22 typedef icomp::CComponentBase BaseClass;
24 I_BEGIN_COMPONENT(CRoleCollectionAdapterComp);
25 I_REGISTER_INTERFACE(IRoleInfoProvider);
26 I_ASSIGN(m_roleCollectionCompPtr,
"RoleCollection",
"Adapting the collection to the provider",
true,
"RoleCollection");
31 virtual imtauth::IRoleUniquePtr GetRole(
const QByteArray& objectId,
const iprm::IParamsSet* paramsPtr =
nullptr)
const override;