diff --git a/examples/sharing-service-docs/api-docs/sharing_cpi.html b/examples/sharing-service-docs/api-docs/sharing_cpi.html index 29da22d1969..4478889350e 100644 --- a/examples/sharing-service-docs/api-docs/sharing_cpi.html +++ b/examples/sharing-service-docs/api-docs/sharing_cpi.html @@ -1,389 +1,681 @@ - - + + +
- - -| Constant | Type | Value | -
|---|---|---|
SHARING_CPI_VERSION | string | "0.18.0" |
base_api.BaseAPI+stringcreateDomain(sharing_models.Domaindomain) + + +Thrift module: sharing_cpi + + + +++Thrift module: sharing_cpi
+
+Constants
++ +
+Constant +Type +Value + ++ ++ SHARING_CPI_VERSION+ string+ "0.18.0"
+Services
+Service: SharingRegistryService
+extends+base_api.BaseAPI++Function: SharingRegistryService.createDomain
+stringcreateDomain(sharing_models.Domaindomain) throwssharing_models.SharingRegistryException,sharing_models.DuplicateEntryException-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.isDomainExists
-boolisDomainExists(stringdomainId) - throwssharing_models.SharingRegistryException-API method to check Domain Exists
-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, +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.isDomainExists
++boolisDomainExists(stringdomainId) + throwssharing_models.SharingRegistryException+API method to check Domain Exists
+
+++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) +API method to get all domain.
+
++Function: SharingRegistryService.createUser
+stringcreateUser(sharing_models.Useruser) throwssharing_models.SharingRegistryException,sharing_models.DuplicateEntryException-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.isUserExists
-+boolisUserExists(stringdomainId, +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.isUserExists
+boolisUserExists(stringdomainId,stringuserId) throwssharing_models.SharingRegistryException-API method to check User Exists
-+Function: SharingRegistryService.deleteUser
-+booldeleteUser(stringdomainId, +API method to check User Exists
+
++Function: SharingRegistryService.deleteUser
+booldeleteUser(stringdomainId,stringuserId) throwssharing_models.SharingRegistryException-API method to delete user
-+Function: SharingRegistryService.getUser
-+sharing_models.UsergetUser(stringdomainId, +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, +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.
+API method to get a list of users in a specific domain.
domainId : Domain id offset : Starting result number limit : Number of max results to be sent -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.isGroupExists
-boolisGroupExists(stringdomainId, +
+++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.isGroupExists
+boolisGroupExists(stringdomainId,stringgroupId) throwssharing_models.SharingRegistryException-API method to check Group Exists
-+Function: SharingRegistryService.deleteGroup
-+booldeleteGroup(stringdomainId, +API method to check Group Exists
+
++Function: SharingRegistryService.deleteGroup
+booldeleteGroup(stringdomainId,stringgroupId) throwssharing_models.SharingRegistryException-API method to delete a group
-+Function: SharingRegistryService.getGroup
-+sharing_models.UserGroupgetGroup(stringdomainId, +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, +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, +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, +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.transferGroupOwnership
-+booltransferGroupOwnership(stringdomainId, +API method to remove users from a group
+
++Function: + SharingRegistryService.transferGroupOwnership
+booltransferGroupOwnership(stringdomainId,stringgroupId,stringnewOwnerId) throwssharing_models.SharingRegistryException-API method to transfer group ownership
-+Function: SharingRegistryService.addGroupAdmins
-+booladdGroupAdmins(stringdomainId, +API method to transfer group ownership
+
++Function: SharingRegistryService.addGroupAdmins
+booladdGroupAdmins(stringdomainId,stringgroupId,list<adminIds) throwsstring>sharing_models.SharingRegistryException-API method to add Admin for a group
-+Function: SharingRegistryService.removeGroupAdmins
-+boolremoveGroupAdmins(stringdomainId, +API method to add Admin for a group
+
++Function: SharingRegistryService.removeGroupAdmins
+boolremoveGroupAdmins(stringdomainId,stringgroupId,list<adminIds) throwsstring>sharing_models.SharingRegistryException-API method to remove Admin for a group
-+Function: SharingRegistryService.hasAdminAccess
-+boolhasAdminAccess(stringdomainId, +API method to remove Admin for a group
+
++Function: SharingRegistryService.hasAdminAccess
+boolhasAdminAccess(stringdomainId,stringgroupId,stringadminId) throwssharing_models.SharingRegistryException-API method to check whether the user has Admin access for the group
-+Function: SharingRegistryService.hasOwnerAccess
-+boolhasOwnerAccess(stringdomainId, +API method to check whether the user has Admin access for the group
+
++Function: SharingRegistryService.hasOwnerAccess
+boolhasOwnerAccess(stringdomainId,stringgroupId,stringownerId) throwssharing_models.SharingRegistryException-API method to check whether the user has Admin access for the group
-+Function: SharingRegistryService.getGroupMembersOfTypeUser
-+list<getGroupMembersOfTypeUser(sharing_models.User>stringdomainId, +API method to check whether the user has Admin access for the 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, +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, +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, +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.getAllMemberGroupsForUser
-+list<getAllMemberGroupsForUser(sharing_models.UserGroup>stringdomainId, +API method to remove a child group from parent group.
+
++Function: + SharingRegistryService.getAllMemberGroupsForUser
+list<getAllMemberGroupsForUser(sharing_models.UserGroup>stringdomainId,stringuserId) throwssharing_models.SharingRegistryException-+Function: SharingRegistryService.createEntityType
-+stringcreateEntityType(sharing_models.EntityTypeentityType) ++Function: SharingRegistryService.createEntityType
+stringcreateEntityType(sharing_models.EntityTypeentityType) throwssharing_models.SharingRegistryException,sharing_models.DuplicateEntryException-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.isEntityTypeExists
-+boolisEntityTypeExists(stringdomainId, +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.isEntityTypeExists +
+boolisEntityTypeExists(stringdomainId,stringentityTypeId) throwssharing_models.SharingRegistryException-API method to check EntityType Exists
-+Function: SharingRegistryService.deleteEntityType
-+booldeleteEntityType(stringdomainId, +API method to check EntityType Exists
+
++Function: SharingRegistryService.deleteEntityType
+booldeleteEntityType(stringdomainId,stringentityTypeId) throwssharing_models.SharingRegistryException-API method to delete entity type
-+Function: SharingRegistryService.getEntityType
-+sharing_models.EntityTypegetEntityType(stringdomainId, +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, +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.isEntityExists
-+boolisEntityExists(stringdomainId, +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.isEntityExists
+boolisEntityExists(stringdomainId,stringentityId) throwssharing_models.SharingRegistryException-API method to check Entity Exists
-+Function: SharingRegistryService.deleteEntity
-+booldeleteEntity(stringdomainId, +API method to check Entity Exists
+
++Function: SharingRegistryService.deleteEntity
+booldeleteEntity(stringdomainId,stringentityId) throwssharing_models.SharingRegistryException-API method to delete entity
-+Function: SharingRegistryService.getEntity
-+sharing_models.EntitygetEntity(stringdomainId, +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, +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, +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.getListOfDirectlySharedUsers
-+list<getListOfDirectlySharedUsers(sharing_models.User>stringdomainId, +API method to get a list of shared users given the entity id
+
++Function: + SharingRegistryService.getListOfDirectlySharedUsers
+list<getListOfDirectlySharedUsers(sharing_models.User>stringdomainId,stringentityId,stringpermissionTypeId) throwssharing_models.SharingRegistryException-API method to get a list of shared users given the entity id where the sharing type is directly applied
-+Function: SharingRegistryService.getListOfSharedGroups
-+list<getListOfSharedGroups(sharing_models.UserGroup>stringdomainId, +API method to get a list of shared users given the entity id where the sharing type is directly applied
+
++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.getListOfDirectlySharedGroups
-+list<getListOfDirectlySharedGroups(sharing_models.UserGroup>stringdomainId, +API method to get a list of shared groups given the entity id
+
++Function: + SharingRegistryService.getListOfDirectlySharedGroups
+list<getListOfDirectlySharedGroups(sharing_models.UserGroup>stringdomainId,stringentityId,stringpermissionTypeId) throwssharing_models.SharingRegistryException-API method to get a list of directly shared groups given the entity id where the sharing type is directly applied
-+Function: SharingRegistryService.createPermissionType
-+stringcreatePermissionType(sharing_models.PermissionTypepermissionType) +API method to get a list of directly shared groups given the entity id where the sharing type is directly applied
+
++Function: + SharingRegistryService.createPermissionType
+stringcreatePermissionType(sharing_models.PermissionTypepermissionType) throwssharing_models.SharingRegistryException,sharing_models.DuplicateEntryException-API method to create permission type
-Function: SharingRegistryService.updatePermissionType
-boolupdatePermissionType(sharing_models.PermissionTypepermissionType) - throwssharing_models.SharingRegistryException-API method to update permission type
-+Function: SharingRegistryService.isPermissionExists
-+boolisPermissionExists(stringdimainId, +API method to create permission type
+
+++Function: + SharingRegistryService.updatePermissionType
++boolupdatePermissionType(sharing_models.PermissionTypepermissionType) + throwssharing_models.SharingRegistryException+API method to update permission type
+
++Function: SharingRegistryService.isPermissionExists +
+boolisPermissionExists(stringdimainId,stringpermissionId) throwssharing_models.SharingRegistryException-API method to check Permission Exists
-+Function: SharingRegistryService.deletePermissionType
-+booldeletePermissionType(stringdomainId, +API method to check Permission Exists
+
++Function: + SharingRegistryService.deletePermissionType
+booldeletePermissionType(stringdomainId,stringpermissionTypeId) throwssharing_models.SharingRegistryException-API method to delete permission type
-+Function: SharingRegistryService.getPermissionType
-+sharing_models.PermissionTypegetPermissionType(stringdomainId, +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, +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, +API method to get list of permission types in a given domainId.
+
++Function: + SharingRegistryService.shareEntityWithUsers
+boolshareEntityWithUsers(stringdomainId,stringentityId,list<userList,string>stringpermissionTypeId,boolcascadePermission) throwssharing_models.SharingRegistryException-API method to share an entity with users
-+Function: SharingRegistryService.revokeEntitySharingFromUsers
-+boolrevokeEntitySharingFromUsers(stringdomainId, +API method to share an entity with users
+
++Function: + SharingRegistryService.revokeEntitySharingFromUsers
+boolrevokeEntitySharingFromUsers(stringdomainId,stringentityId,list<userList,string>stringpermissionTypeId) throwssharing_models.SharingRegistryException-API method to revoke sharing from a list of users
-+Function: SharingRegistryService.shareEntityWithGroups
-+boolshareEntityWithGroups(stringdomainId, +API method to revoke sharing from a list of users
+
++Function: + SharingRegistryService.shareEntityWithGroups
+boolshareEntityWithGroups(stringdomainId,stringentityId,list<groupList,string>stringpermissionTypeId,boolcascadePermission) throwssharing_models.SharingRegistryException-API method to share an entity with list of groups
-+Function: SharingRegistryService.revokeEntitySharingFromGroups
-+boolrevokeEntitySharingFromGroups(stringdomainId, +API method to share an entity with list of groups
+
++Function: + SharingRegistryService.revokeEntitySharingFromGroups
+boolrevokeEntitySharingFromGroups(stringdomainId,stringentityId,list<groupList,string>stringpermissionTypeId) throwssharing_models.SharingRegistryException-API method to revoke sharing from list of users
-+Function: SharingRegistryService.userHasAccess
-+booluserHasAccess(stringdomainId, +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
-
API method to check whether a user has access to a specific entity
+