string
createDomain(sharing_models.Domain
domain) throwssharing_models.SharingRegistryException
,sharing_models.DuplicateEntryException
API method to create a new domain
bool
updateDomain(sharing_models.Domain
domain) throwssharing_models.SharingRegistryException
API method to update a domain
bool
isDomainExists(string
domainId) throwssharing_models.SharingRegistryException
API method to check Domain Exists
bool
deleteDomain(string
domainId) throwssharing_models.SharingRegistryException
API method to delete domain
sharing_models.Domain
getDomain(string
domainId) throwssharing_models.SharingRegistryException
API method to retrieve a domain
list<
getDomains(sharing_models.Domain
>i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get all domain.
string
createUser(sharing_models.User
user) throwssharing_models.SharingRegistryException
,sharing_models.DuplicateEntryException
API method to register a user in the system
bool
updatedUser(sharing_models.User
user) throwssharing_models.SharingRegistryException
API method to update existing user
bool
isUserExists(string
domainId,string
userId) throwssharing_models.SharingRegistryException
API method to check User Exists
bool
deleteUser(string
domainId,string
userId) throwssharing_models.SharingRegistryException
API method to delete user
sharing_models.User
getUser(string
domainId,string
userId) throwssharing_models.SharingRegistryException
API method to get a user
list<
getUsers(sharing_models.User
>string
domainId,i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get a list of users in a specific domain.
string
createGroup(sharing_models.UserGroup
group) throwssharing_models.SharingRegistryException
API method to create a new group
bool
updateGroup(sharing_models.UserGroup
group) throwssharing_models.SharingRegistryException
API method to update a group
bool
isGroupExists(string
domainId,string
groupId) throwssharing_models.SharingRegistryException
API method to check Group Exists
bool
deleteGroup(string
domainId,string
groupId) throwssharing_models.SharingRegistryException
API method to delete a group
sharing_models.UserGroup
getGroup(string
domainId,string
groupId) throwssharing_models.SharingRegistryException
API method to get a group
list<
getGroups(sharing_models.UserGroup
>string
domainId,i32
offset,i32
limit)
API method to get groups in a domainId.
bool
addUsersToGroup(string
domainId,list<
userIds,string
>string
groupId) throwssharing_models.SharingRegistryException
API method to add list of users to a group
bool
removeUsersFromGroup(string
domainId,list<
userIds,string
>string
groupId) throwssharing_models.SharingRegistryException
API method to remove users from a group
list<
getGroupMembersOfTypeUser(sharing_models.User
>string
domainId,string
groupId,i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get list of child users in a group. Only the direct members will be returned.
list<
getGroupMembersOfTypeGroup(sharing_models.UserGroup
>string
domainId,string
groupId,i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get list of child groups in a group. Only the direct members will be returned.
bool
addChildGroupsToParentGroup(string
domainId,list<
childIds,string
>string
groupId) throwssharing_models.SharingRegistryException
API method to add a child group to a parent group.
bool
removeChildGroupFromParentGroup(string
domainId,string
childId,string
groupId) throwssharing_models.SharingRegistryException
API method to remove a child group from parent group.
list<
getAllMemberGroupsForUser(sharing_models.UserGroup
>string
domainId,string
userId) throwssharing_models.SharingRegistryException
string
createEntityType(sharing_models.EntityType
entityType) throwssharing_models.SharingRegistryException
,sharing_models.DuplicateEntryException
API method to create a new entity type
bool
updateEntityType(sharing_models.EntityType
entityType) throwssharing_models.SharingRegistryException
API method to update entity type
bool
isEntityTypeExists(string
domainId,string
entityTypeId) throwssharing_models.SharingRegistryException
API method to check EntityType Exists
bool
deleteEntityType(string
domainId,string
entityTypeId) throwssharing_models.SharingRegistryException
API method to delete entity type
sharing_models.EntityType
getEntityType(string
domainId,string
entityTypeId) throwssharing_models.SharingRegistryException
API method to get an entity type
list<
getEntityTypes(sharing_models.EntityType
>string
domainId,i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get entity types in a domainId.
string
createEntity(sharing_models.Entity
entity) throwssharing_models.SharingRegistryException
API method to register new entity
bool
updateEntity(sharing_models.Entity
entity) throwssharing_models.SharingRegistryException
API method to update entity
bool
isEntityExists(string
domainId,string
entityId) throwssharing_models.SharingRegistryException
API method to check Entity Exists
bool
deleteEntity(string
domainId,string
entityId) throwssharing_models.SharingRegistryException
API method to delete entity
sharing_models.Entity
getEntity(string
domainId,string
entityId) throwssharing_models.SharingRegistryException
API method to get entity
list<
searchEntities(sharing_models.Entity
>string
domainId,string
userId,list<
filters,sharing_models.SearchCriteria
>i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to search entities
list<
getListOfSharedUsers(sharing_models.User
>string
domainId,string
entityId,string
permissionTypeId) throwssharing_models.SharingRegistryException
API method to get a list of shared users given the entity id
list<
getListOfSharedGroups(sharing_models.UserGroup
>string
domainId,string
entityId,string
permissionTypeId) throwssharing_models.SharingRegistryException
API method to get a list of shared groups given the entity id
string
createPermissionType(sharing_models.PermissionType
permissionType) throwssharing_models.SharingRegistryException
,sharing_models.DuplicateEntryException
API method to create permission type
bool
updatePermissionType(sharing_models.PermissionType
permissionType) throwssharing_models.SharingRegistryException
API method to update permission type
bool
isPermissionExists(string
dimainId,string
permissionId) throwssharing_models.SharingRegistryException
API method to check Permission Exists
bool
deletePermissionType(string
domainId,string
permissionTypeId) throwssharing_models.SharingRegistryException
API method to delete permission type
sharing_models.PermissionType
getPermissionType(string
domainId,string
permissionTypeId) throwssharing_models.SharingRegistryException
API method to get permission type
list<
getPermissionTypes(sharing_models.PermissionType
>string
domainId,i32
offset,i32
limit) throwssharing_models.SharingRegistryException
API method to get list of permission types in a given domainId.
bool
shareEntityWithUsers(string
domainId,string
entityId,list<
userList,string
>string
perssionTypeId,bool
cascadePermission) throwssharing_models.SharingRegistryException
API method to share an entity with users
bool
revokeEntitySharingFromUsers(string
domainId,string
entityId,list<
userList,string
>string
perssionTypeId) throwssharing_models.SharingRegistryException
API method to revoke sharing from a list of users
bool
shareEntityWithGroups(string
domainId,string
entityId,list<
groupList,string
>string
perssionTypeId,bool
cascadePermission) throwssharing_models.SharingRegistryException
API method to share an entity with list of groups
bool
revokeEntitySharingFromGroups(string
domainId,string
entityId,list<
groupList,string
>string
perssionTypeId) throwssharing_models.SharingRegistryException
API method to revoke sharing from list of users
bool
userHasAccess(string
domainId,string
userId,string
entityId,string
permissionTypeId) throwssharing_models.SharingRegistryException
API method to check whether a user has access to a specific entity