Thrift module: sharing_cpi
Services
Service: SharingRegistryService
Function: SharingRegistryService.createDomain
stringcreateDomain(sharing_models.Domaindomain) throwssharing_models.SharingRegistryException
API method to create a new domain
Function: SharingRegistryService.updateDomain
boolupdateDomain(sharing_models.Domaindomain) throwssharing_models.SharingRegistryException
API method to update a domain
Function: SharingRegistryService.deleteDomain
booldeleteDomain(stringdomainId) throwssharing_models.SharingRegistryException
API method to delete domain
Function: SharingRegistryService.getDomain
sharing_models.DomaingetDomain(stringdomainId) throwssharing_models.SharingRegistryException
API method to retrieve a domain
Function: SharingRegistryService.getDomains
list<getDomains(sharing_models.Domain>i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get all domain.
Function: SharingRegistryService.createUser
stringcreateUser(sharing_models.Useruser) throwssharing_models.SharingRegistryException
API method to register a user in the system
Function: SharingRegistryService.updatedUser
boolupdatedUser(sharing_models.Useruser) throwssharing_models.SharingRegistryException
API method to update existing user
Function: SharingRegistryService.deleteUser
booldeleteUser(stringdomainId,stringuserId) throwssharing_models.SharingRegistryException
API method to delete user
Function: SharingRegistryService.getUser
sharing_models.UsergetUser(stringdomainId,stringuserId) throwssharing_models.SharingRegistryException
API method to get a user
Function: SharingRegistryService.getUsers
list<getUsers(sharing_models.User>stringdomainId,i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get a list of users in a specific domain.
Function: SharingRegistryService.createGroup
stringcreateGroup(sharing_models.UserGroupgroup) throwssharing_models.SharingRegistryException
API method to create a new group
Function: SharingRegistryService.updateGroup
boolupdateGroup(sharing_models.UserGroupgroup) throwssharing_models.SharingRegistryException
API method to update a group
Function: SharingRegistryService.deleteGroup
booldeleteGroup(stringdomainId,stringgroupId) throwssharing_models.SharingRegistryException
API method to delete a group
Function: SharingRegistryService.getGroup
sharing_models.UserGroupgetGroup(stringdomainId,stringgroupId) throwssharing_models.SharingRegistryException
API method to get a group
Function: SharingRegistryService.getGroups
list<getGroups(sharing_models.UserGroup>stringdomainId,i32offset,i32limit)
API method to get groups in a domainId.
Function: SharingRegistryService.addUsersToGroup
booladdUsersToGroup(stringdomainId,list<userIds,string>stringgroupId) throwssharing_models.SharingRegistryException
API method to add list of users to a group
Function: SharingRegistryService.removeUsersFromGroup
boolremoveUsersFromGroup(stringdomainId,list<userIds,string>stringgroupId) throwssharing_models.SharingRegistryException
API method to remove users from a group
Function: SharingRegistryService.getGroupMembersOfTypeUser
list<getGroupMembersOfTypeUser(sharing_models.User>stringdomainId,stringgroupId,i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get list of child users in a group. Only the direct members will be returned.
Function: SharingRegistryService.getGroupMembersOfTypeGroup
list<getGroupMembersOfTypeGroup(sharing_models.UserGroup>stringdomainId,stringgroupId,i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get list of child groups in a group. Only the direct members will be returned.
Function: SharingRegistryService.addChildGroupsToParentGroup
booladdChildGroupsToParentGroup(stringdomainId,list<childIds,string>stringgroupId) throwssharing_models.SharingRegistryException
API method to add a child group to a parent group.
Function: SharingRegistryService.removeChildGroupFromParentGroup
boolremoveChildGroupFromParentGroup(stringdomainId,stringchildId,stringgroupId) throwssharing_models.SharingRegistryException
API method to remove a child group from parent group.
Function: SharingRegistryService.createEntityType
stringcreateEntityType(sharing_models.EntityTypeentityType) throwssharing_models.SharingRegistryException
API method to create a new entity type
Function: SharingRegistryService.updateEntityType
boolupdateEntityType(sharing_models.EntityTypeentityType) throwssharing_models.SharingRegistryException
API method to update entity type
Function: SharingRegistryService.deleteEntityType
booldeleteEntityType(stringdomainId,stringentityTypeId) throwssharing_models.SharingRegistryException
API method to delete entity type
Function: SharingRegistryService.getEntityType
sharing_models.EntityTypegetEntityType(stringdomainId,stringentityTypeId) throwssharing_models.SharingRegistryException
API method to get an entity type
Function: SharingRegistryService.getEntityTypes
list<getEntityTypes(sharing_models.EntityType>stringdomainId,i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get entity types in a domainId.
Function: SharingRegistryService.createEntity
stringcreateEntity(sharing_models.Entityentity) throwssharing_models.SharingRegistryException
API method to register new entity
Function: SharingRegistryService.updateEntity
boolupdateEntity(sharing_models.Entityentity) throwssharing_models.SharingRegistryException
API method to update entity
Function: SharingRegistryService.deleteEntity
booldeleteEntity(stringdomainId,stringentityId) throwssharing_models.SharingRegistryException
API method to delete entity
Function: SharingRegistryService.getEntity
sharing_models.EntitygetEntity(stringdomainId,stringentityId) throwssharing_models.SharingRegistryException
API method to get entity
Function: SharingRegistryService.searchEntities
list<searchEntities(sharing_models.Entity>stringdomainId,stringuserId,list<filters,sharing_models.SearchCriteria>i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to search entities
Function: SharingRegistryService.getListOfSharedUsers
list<getListOfSharedUsers(sharing_models.User>stringdomainId,stringentityId,stringpermissionTypeId) throwssharing_models.SharingRegistryException
API method to get a list of shared users given the entity id
Function: SharingRegistryService.getListOfSharedGroups
list<getListOfSharedGroups(sharing_models.UserGroup>stringdomainId,stringentityId,stringpermissionTypeId) throwssharing_models.SharingRegistryException
API method to get a list of shared groups given the entity id
Function: SharingRegistryService.createPermissionType
stringcreatePermissionType(sharing_models.PermissionTypepermissionType) throwssharing_models.SharingRegistryException
API method to create permission type
Function: SharingRegistryService.updatePermissionType
boolupdatePermissionType(sharing_models.PermissionTypepermissionType) throwssharing_models.SharingRegistryException
API method to update permission type
Function: SharingRegistryService.deletePermissionType
booldeletePermissionType(stringdomainId,stringpermissionTypeId) throwssharing_models.SharingRegistryException
API method to delete permission type
Function: SharingRegistryService.getPermissionType
sharing_models.PermissionTypegetPermissionType(stringdomainId,stringpermissionTypeId) throwssharing_models.SharingRegistryException
API method to get permission type
Function: SharingRegistryService.getPermissionTypes
list<getPermissionTypes(sharing_models.PermissionType>stringdomainId,i32offset,i32limit) throwssharing_models.SharingRegistryException
API method to get list of permission types in a given domainId.
Function: SharingRegistryService.shareEntityWithUsers
boolshareEntityWithUsers(stringdomainId,stringentityId,list<userList,string>stringperssionTypeId,boolcascadePermission) throwssharing_models.SharingRegistryException
API method to share an entity with users
Function: SharingRegistryService.revokeEntitySharingFromUsers
boolrevokeEntitySharingFromUsers(stringdomainId,stringentityId,list<userList,string>stringperssionTypeId) throwssharing_models.SharingRegistryException
API method to revoke sharing from a list of users
Function: SharingRegistryService.shareEntityWithGroups
boolshareEntityWithGroups(stringdomainId,stringentityId,list<groupList,string>stringperssionTypeId,boolcascadePermission) throwssharing_models.SharingRegistryException
API method to share an entity with list of groups
Function: SharingRegistryService.revokeEntitySharingFromGroups
boolrevokeEntitySharingFromGroups(stringdomainId,stringentityId,list<groupList,string>stringperssionTypeId) throwssharing_models.SharingRegistryException
API method to revoke sharing from list of users
Function: SharingRegistryService.userHasAccess
booluserHasAccess(stringdomainId,stringuserId,stringentityId,stringpermissionTypeId) throwssharing_models.SharingRegistryException
API method to check whether a user has access to a specific entity