Package dev.warrant
Class WarrantClient
java.lang.Object
dev.warrant.WarrantBaseClient
dev.warrant.WarrantClient
-
Field Summary
Fields inherited from class dev.warrant.WarrantBaseClient
BACKOFF_MULTIPLIER, MAX_RETRIES, MINIMUM_SLEEP_TIME, SDK_VERSION, USER_AGENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignFeatureToPricingTier(Feature feature, PricingTier pricingTier) assignFeatureToPricingTier(Feature feature, PricingTier pricingTier, RequestOptions requestOptions) assignFeatureToPricingTier(String featureId, String pricingTierId) assignFeatureToPricingTier(String featureId, String pricingTierId, RequestOptions requestOptions) assignFeatureToTenant(Feature feature, Tenant tenant) assignFeatureToTenant(Feature feature, Tenant tenant, RequestOptions requestOptions) assignFeatureToTenant(String featureId, String tenantId) assignFeatureToTenant(String featureId, String tenantId, RequestOptions requestOptions) assignFeatureToUser(Feature feature, User user) assignFeatureToUser(Feature feature, User user, RequestOptions requestOptions) assignFeatureToUser(String featureId, String userId) assignFeatureToUser(String featureId, String userId, RequestOptions requestOptions) assignPermissionToRole(Permission permission, Role role) assignPermissionToRole(Permission permission, Role role, RequestOptions requestOptions) assignPermissionToRole(String permissionId, String roleId) assignPermissionToRole(String permissionId, String roleId, RequestOptions requestOptions) assignPermissionToUser(Permission permission, User user) assignPermissionToUser(Permission permission, User user, RequestOptions requestOptions) assignPermissionToUser(String permissionId, String userId) assignPermissionToUser(String permissionId, String userId, RequestOptions requestOptions) assignPricingTierToTenant(PricingTier pricingTier, Tenant tenant) assignPricingTierToTenant(PricingTier pricingTier, Tenant tenant, RequestOptions requestOptions) assignPricingTierToTenant(String pricingTierId, String tenantId) assignPricingTierToTenant(String pricingTierId, String tenantId, RequestOptions requestOptions) assignPricingTierToUser(PricingTier pricingTier, User user) assignPricingTierToUser(PricingTier pricingTier, User user, RequestOptions requestOptions) assignPricingTierToUser(String pricingTierId, String userId) assignPricingTierToUser(String pricingTierId, String userId, RequestOptions requestOptions) assignRoleToUser(Role role, User user) assignRoleToUser(Role role, User user, RequestOptions requestOptions) assignRoleToUser(String roleId, String userId) assignRoleToUser(String roleId, String userId, RequestOptions requestOptions) assignUserToTenant(User user, Tenant tenant) assignUserToTenant(User user, Tenant tenant, RequestOptions requestOptions) assignUserToTenant(String userId, String tenantId) assignUserToTenant(String userId, String tenantId, RequestOptions requestOptions) booleancheckTenantHasFeature(Tenant tenant, String featureId) booleancheckTenantHasFeature(Tenant tenant, String featureId, RequestOptions requestOptions) booleancheckTenantHasFeature(String tenantId, String featureId) booleancheckTenantHasFeature(String tenantId, String featureId, RequestOptions requestOptions) booleancheckUserHasFeature(User user, String featureId) booleancheckUserHasFeature(User user, String featureId, RequestOptions requestOptions) booleancheckUserHasFeature(String userId, String featureId) booleancheckUserHasFeature(String userId, String featureId, RequestOptions requestOptions) booleancheckUserHasPermission(User user, String permissionId) booleancheckUserHasPermission(User user, String permissionId, RequestOptions requestOptions) booleancheckUserHasPermission(String userId, String permissionId) booleancheckUserHasPermission(String userId, String permissionId, RequestOptions requestOptions) createFeature(Feature feature) createFeature(Feature feature, RequestOptions requestOptions) createFeature(RequestOptions requestOptions) createPermission(Permission permission) createPermission(Permission permission, RequestOptions requestOptions) createPermission(RequestOptions requestOptions) createPricingTier(PricingTier pricingTier) createPricingTier(PricingTier pricingTier, RequestOptions requestOptions) createPricingTier(RequestOptions requestOptions) createRole(Role role) createRole(Role role, RequestOptions requestOptions) createRole(RequestOptions requestOptions) createTenant(Tenant tenant) createTenant(Tenant tenant, RequestOptions requestOptions) createTenant(RequestOptions requestOptions) Tenant[]createTenants(Tenant[] tenants) Tenant[]createTenants(Tenant[] tenants, RequestOptions requestOptions) createUser(User user) createUser(User user, RequestOptions requestOptions) createUser(RequestOptions requestOptions) User[]createUsers(User[] users) User[]createUsers(User[] users, RequestOptions requestOptions) deleteFeature(Feature feature) deleteFeature(Feature feature, RequestOptions requestOptions) deleteFeature(String featureId) deleteFeature(String featureId, RequestOptions requestOptions) deletePermission(Permission permission) deletePermission(Permission permission, RequestOptions requestOptions) deletePermission(String permissionId) deletePermission(String permissionId, RequestOptions requestOptions) deletePricingTier(PricingTier pricingTier) deletePricingTier(PricingTier pricingTier, RequestOptions requestOptions) deletePricingTier(String pricingTierId) deletePricingTier(String pricingTierId, RequestOptions requestOptions) deleteRole(Role role) deleteRole(Role role, RequestOptions requestOptions) deleteRole(String roleId) deleteRole(String roleId, RequestOptions requestOptions) deleteTenant(Tenant tenant) deleteTenant(Tenant tenant, RequestOptions requestOptions) deleteTenant(String tenantId) deleteTenant(String tenantId, RequestOptions requestOptions) deleteTenants(Tenant[] tenants) deleteTenants(Tenant[] tenants, RequestOptions requestOptions) deleteUser(User user) deleteUser(String userId) deleteUser(String userId, RequestOptions requestOptions) deleteUsers(User[] users) deleteUsers(User[] users, RequestOptions requestOptions) getFeature(String featureId) getFeature(String featureId, RequestOptions requestOptions) getPermission(String permissionId) getPermission(String permissionId, RequestOptions requestOptions) getPricingTier(String pricingTierId) getPricingTier(String pricingTierId, RequestOptions requestOptions) getRole(String roleId, RequestOptions requestOptions) getTenant(String tenantId, RequestOptions requestOptions) getUser(String userId, RequestOptions requestOptions) listFeatures(int limit) listFeatures(int limit, RequestOptions requestOptions) listFeatures(ListParams listParams) listFeatures(ListParams listParams, RequestOptions requestOptions) listFeaturesForPricingTier(PricingTier pricingTier, int limit) listFeaturesForPricingTier(PricingTier pricingTier, int limit, RequestOptions requestOptions) listFeaturesForPricingTier(PricingTier pricingTier, ListParams listParams) listFeaturesForPricingTier(PricingTier pricingTier, ListParams listParams, RequestOptions requestOptions) listFeaturesForPricingTier(String pricingTierId, int limit) listFeaturesForPricingTier(String pricingTierId, int limit, RequestOptions requestOptions) listFeaturesForPricingTier(String pricingTierId, ListParams listParams) listFeaturesForPricingTier(String pricingTierId, ListParams listParams, RequestOptions requestOptions) listFeaturesForTenant(Tenant tenant, int limit) listFeaturesForTenant(Tenant tenant, int limit, RequestOptions requestOptions) listFeaturesForTenant(Tenant tenant, ListParams listParams) listFeaturesForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) listFeaturesForTenant(String tenantId, int limit) listFeaturesForTenant(String tenantId, int limit, RequestOptions requestOptions) listFeaturesForTenant(String tenantId, ListParams listParams) listFeaturesForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) listFeaturesForUser(User user, int limit) listFeaturesForUser(User user, int limit, RequestOptions requestOptions) listFeaturesForUser(User user, ListParams listParams) listFeaturesForUser(User user, ListParams listParams, RequestOptions requestOptions) listFeaturesForUser(String userId, int limit) listFeaturesForUser(String userId, int limit, RequestOptions requestOptions) listFeaturesForUser(String userId, ListParams listParams) listFeaturesForUser(String userId, ListParams listParams, RequestOptions requestOptions) listPermissions(int limit) listPermissions(int limit, RequestOptions requestOptions) listPermissions(ListParams listParams) listPermissions(ListParams listParams, RequestOptions requestOptions) listPermissionsForRole(Role role, int limit) listPermissionsForRole(Role role, int limit, RequestOptions requestOptions) listPermissionsForRole(Role role, ListParams listParams) listPermissionsForRole(Role role, ListParams listParams, RequestOptions requestOptions) listPermissionsForRole(String roleId, int limit) listPermissionsForRole(String roleId, int limit, RequestOptions requestOptions) listPermissionsForRole(String roleId, ListParams listParams) listPermissionsForRole(String roleId, ListParams listParams, RequestOptions requestOptions) listPermissionsForUser(User user, int limit) listPermissionsForUser(User user, int limit, RequestOptions requestOptions) listPermissionsForUser(User user, ListParams listParams) listPermissionsForUser(User user, ListParams listParams, RequestOptions requestOptions) listPermissionsForUser(String userId, int limit) listPermissionsForUser(String userId, int limit, RequestOptions requestOptions) listPermissionsForUser(String userId, ListParams listParams) listPermissionsForUser(String userId, ListParams listParams, RequestOptions requestOptions) listPricingTiers(int limit) listPricingTiers(int limit, RequestOptions requestOptions) listPricingTiers(ListParams listParams) listPricingTiers(ListParams listParams, RequestOptions requestOptions) listPricingTiersForTenant(Tenant tenant, int limit) listPricingTiersForTenant(Tenant tenant, int limit, RequestOptions requestOptions) listPricingTiersForTenant(Tenant tenant, ListParams listParams) listPricingTiersForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) listPricingTiersForTenant(String tenantId, int limit) listPricingTiersForTenant(String tenantId, int limit, RequestOptions requestOptions) listPricingTiersForTenant(String tenantId, ListParams listParams) listPricingTiersForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) listPricingTiersForUser(User user, int limit) listPricingTiersForUser(User user, int limit, RequestOptions requestOptions) listPricingTiersForUser(User user, ListParams listParams) listPricingTiersForUser(User user, ListParams listParams, RequestOptions requestOptions) listPricingTiersForUser(String userId, int limit) listPricingTiersForUser(String userId, int limit, RequestOptions requestOptions) listPricingTiersForUser(String userId, ListParams listParams) listPricingTiersForUser(String userId, ListParams listParams, RequestOptions requestOptions) listRoles(int limit) listRoles(int limit, RequestOptions requestOptions) listRoles(ListParams listParams) listRoles(ListParams listParams, RequestOptions requestOptions) listRolesForUser(User user, int limit) listRolesForUser(User user, int limit, RequestOptions requestOptions) listRolesForUser(User user, ListParams listParams) listRolesForUser(User user, ListParams listParams, RequestOptions requestOptions) listRolesForUser(String userId, int limit) listRolesForUser(String userId, int limit, RequestOptions requestOptions) listRolesForUser(String userId, ListParams listParams) listRolesForUser(String userId, ListParams listParams, RequestOptions requestOptions) listTenants(int limit) listTenants(int limit, RequestOptions requestOptions) listTenants(ListParams listParams) listTenants(ListParams listParams, RequestOptions requestOptions) listTenantsForUser(User user, int limit) listTenantsForUser(User user, int limit, RequestOptions requestOptions) listTenantsForUser(User user, ListParams listParams) listTenantsForUser(User user, ListParams listParams, RequestOptions requestOptions) listTenantsForUser(String userId, int limit) listTenantsForUser(String userId, int limit, RequestOptions requestOptions) listTenantsForUser(String userId, ListParams listParams) listTenantsForUser(String userId, ListParams listParams, RequestOptions requestOptions) listUsers(int limit) listUsers(int limit, RequestOptions requestOptions) listUsers(ListParams listParams) listUsers(ListParams listParams, RequestOptions requestOptions) listUsersForTenant(Tenant tenant, int limit) listUsersForTenant(Tenant tenant, int limit, RequestOptions requestOptions) listUsersForTenant(Tenant tenant, ListParams listParams) listUsersForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) listUsersForTenant(String tenantId, int limit) listUsersForTenant(String tenantId, int limit, RequestOptions requestOptions) listUsersForTenant(String tenantId, ListParams listParams) listUsersForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) voidremoveFeatureFromPricingTier(Feature feature, PricingTier pricingTier) voidremoveFeatureFromPricingTier(Feature feature, PricingTier pricingTier, RequestOptions requestOptions) voidremoveFeatureFromPricingTier(String featureId, String pricingTierId) voidremoveFeatureFromPricingTier(String featureId, String pricingTierId, RequestOptions requestOptions) voidremoveFeatureFromTenant(Feature feature, Tenant tenant) voidremoveFeatureFromTenant(Feature feature, Tenant tenant, RequestOptions requestOptions) voidremoveFeatureFromTenant(String featureId, String tenantId) voidremoveFeatureFromTenant(String featureId, String tenantId, RequestOptions requestOptions) voidremoveFeatureFromUser(Feature feature, User user) voidremoveFeatureFromUser(Feature feature, User user, RequestOptions requestOptions) voidremoveFeatureFromUser(String featureId, String userId) voidremoveFeatureFromUser(String featureId, String userId, RequestOptions requestOptions) voidremovePermissionFromRole(Permission permission, Role role) voidremovePermissionFromRole(Permission permission, Role role, RequestOptions requestOptions) voidremovePermissionFromRole(String permissionId, String roleId) voidremovePermissionFromRole(String permissionId, String roleId, RequestOptions requestOptions) voidremovePermissionFromUser(Permission permission, User user) voidremovePermissionFromUser(Permission permission, User user, RequestOptions requestOptions) voidremovePermissionFromUser(String permissionId, String userId) voidremovePermissionFromUser(String permissionId, String userId, RequestOptions requestOptions) voidremovePricingTierFromTenant(PricingTier pricingTier, Tenant tenant) voidremovePricingTierFromTenant(PricingTier pricingTier, Tenant tenant, RequestOptions requestOptions) voidremovePricingTierFromTenant(String pricingTierId, String tenantId) voidremovePricingTierFromTenant(String pricingTierId, String tenantId, RequestOptions requestOptions) voidremovePricingTierFromUser(PricingTier pricingTier, User user) voidremovePricingTierFromUser(PricingTier pricingTier, User user, RequestOptions requestOptions) voidremovePricingTierFromUser(String pricingTierId, String userId) voidremovePricingTierFromUser(String pricingTierId, String userId, RequestOptions requestOptions) voidremoveRoleFromUser(Role role, User user) voidremoveRoleFromUser(Role role, User user, RequestOptions requestOptions) voidremoveRoleFromUser(String roleId, String userId) voidremoveRoleFromUser(String roleId, String userId, RequestOptions requestOptions) voidremoveUserFromTenant(User user, Tenant tenant) voidremoveUserFromTenant(User user, Tenant tenant, RequestOptions requestOptions) voidremoveUserFromTenant(String userId, String tenantId) voidremoveUserFromTenant(String userId, String tenantId, RequestOptions requestOptions) updatePermission(String permissionId, Permission toUpdate) updatePermission(String permissionId, Permission toUpdate, RequestOptions requestOptions) updateRole(String roleId, Role toUpdate) updateRole(String roleId, Role toUpdate, RequestOptions requestOptions) updateTenant(String tenantId, Tenant toUpdate) updateTenant(String tenantId, Tenant toUpdate, RequestOptions requestOptions) updateUser(String userId, User toUpdate) updateUser(String userId, User toUpdate, RequestOptions requestOptions) Methods inherited from class dev.warrant.WarrantBaseClient
check, check, check, check, checkAllOf, checkAllOf, checkAnyOf, checkAnyOf, checkBatch, checkBatch, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObjects, createObjects, createObjects, createObjects, createUserAuthzSession, createUserAuthzSession, createUserSelfServiceDashboardUrl, createUserSelfServiceDashboardUrl, createWarrant, createWarrant, createWarrant, createWarrant, createWarrants, createWarrants, deleteObject, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjects, deleteObjects, deleteObjects, deleteWarrant, deleteWarrant, deleteWarrant, deleteWarrant, deleteWarrants, deleteWarrants, getObject, getObject, getObject, getObject, listObjects, listObjects, listWarrants, listWarrants, query, query, updateObject, updateObject, updateObject, updateObject
-
Constructor Details
-
WarrantClient
-
-
Method Details
-
createUser
- Throws:
WarrantException
-
createUser
- Throws:
WarrantException
-
createUser
- Throws:
WarrantException
-
createUser
- Throws:
WarrantException
-
createUsers
- Throws:
WarrantException
-
createUsers
- Throws:
WarrantException
-
updateUser
- Throws:
WarrantException
-
updateUser
public User updateUser(String userId, User toUpdate, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deleteUser
- Throws:
WarrantException
-
deleteUser
- Throws:
WarrantException
-
deleteUser
- Throws:
WarrantException
-
deleteUsers
- Throws:
WarrantException
-
deleteUsers
- Throws:
WarrantException
-
getUser
- Throws:
WarrantException
-
getUser
- Throws:
WarrantException
-
listUsers
- Throws:
WarrantException
-
listUsers
- Throws:
WarrantException
-
listUsers
- Throws:
WarrantException
-
listUsers
public ListResult<User> listUsers(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
- Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(Tenant tenant, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(Tenant tenant, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
- Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(String tenantId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(String tenantId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listUsersForTenant
public ListResult<User> listUsersForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
createTenant
- Throws:
WarrantException
-
createTenant
- Throws:
WarrantException
-
createTenant
- Throws:
WarrantException
-
createTenant
- Throws:
WarrantException
-
createTenants
- Throws:
WarrantException
-
createTenants
public Tenant[] createTenants(Tenant[] tenants, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
updateTenant
- Throws:
WarrantException
-
updateTenant
public Tenant updateTenant(String tenantId, Tenant toUpdate, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deleteTenant
- Throws:
WarrantException
-
deleteTenant
- Throws:
WarrantException
-
deleteTenant
- Throws:
WarrantException
-
deleteTenant
- Throws:
WarrantException
-
deleteTenants
- Throws:
WarrantException
-
deleteTenants
public String deleteTenants(Tenant[] tenants, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
getTenant
- Throws:
WarrantException
-
getTenant
- Throws:
WarrantException
-
listTenants
- Throws:
WarrantException
-
listTenants
public ListResult<Tenant> listTenants(int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listTenants
- Throws:
WarrantException
-
listTenants
public ListResult<Tenant> listTenants(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
- Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(User user, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(User user, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(User user, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
- Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(String userId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(String userId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listTenantsForUser
public ListResult<Tenant> listTenantsForUser(String userId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
createRole
- Throws:
WarrantException
-
createRole
- Throws:
WarrantException
-
createRole
- Throws:
WarrantException
-
createRole
- Throws:
WarrantException
-
updateRole
- Throws:
WarrantException
-
updateRole
public Role updateRole(String roleId, Role toUpdate, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deleteRole
- Throws:
WarrantException
-
deleteRole
- Throws:
WarrantException
-
deleteRole
- Throws:
WarrantException
-
deleteRole
- Throws:
WarrantException
-
getRole
- Throws:
WarrantException
-
getRole
- Throws:
WarrantException
-
listRoles
- Throws:
WarrantException
-
listRoles
- Throws:
WarrantException
-
listRoles
- Throws:
WarrantException
-
listRoles
public ListResult<Role> listRoles(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listRolesForUser
- Throws:
WarrantException
-
listRolesForUser
public ListResult<Role> listRolesForUser(User user, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listRolesForUser
- Throws:
WarrantException
-
listRolesForUser
public ListResult<Role> listRolesForUser(User user, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listRolesForUser
- Throws:
WarrantException
-
listRolesForUser
public ListResult<Role> listRolesForUser(String userId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listRolesForUser
public ListResult<Role> listRolesForUser(String userId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listRolesForUser
public ListResult<Role> listRolesForUser(String userId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
createPermission
- Throws:
WarrantException
-
createPermission
- Throws:
WarrantException
-
createPermission
- Throws:
WarrantException
-
createPermission
public Permission createPermission(Permission permission, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
updatePermission
public Permission updatePermission(String permissionId, Permission toUpdate) throws WarrantException - Throws:
WarrantException
-
updatePermission
public Permission updatePermission(String permissionId, Permission toUpdate, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deletePermission
- Throws:
WarrantException
-
deletePermission
public String deletePermission(Permission permission, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deletePermission
- Throws:
WarrantException
-
deletePermission
public String deletePermission(String permissionId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
getPermission
- Throws:
WarrantException
-
getPermission
public Permission getPermission(String permissionId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissions
- Throws:
WarrantException
-
listPermissions
public ListResult<Permission> listPermissions(int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissions
- Throws:
WarrantException
-
listPermissions
public ListResult<Permission> listPermissions(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
- Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(User user, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(User user, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(User user, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(String userId, int limit) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(String userId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(String userId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPermissionsForUser
public ListResult<Permission> listPermissionsForUser(String userId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
- Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(Role role, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(Role role, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(Role role, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(String roleId, int limit) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(String roleId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(String roleId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPermissionsForRole
public ListResult<Permission> listPermissionsForRole(String roleId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
createFeature
- Throws:
WarrantException
-
createFeature
- Throws:
WarrantException
-
createFeature
- Throws:
WarrantException
-
createFeature
public Feature createFeature(Feature feature, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deleteFeature
- Throws:
WarrantException
-
deleteFeature
- Throws:
WarrantException
-
deleteFeature
- Throws:
WarrantException
-
deleteFeature
public String deleteFeature(String featureId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
getFeature
- Throws:
WarrantException
-
getFeature
- Throws:
WarrantException
-
listFeatures
- Throws:
WarrantException
-
listFeatures
public ListResult<Feature> listFeatures(int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeatures
- Throws:
WarrantException
-
listFeatures
public ListResult<Feature> listFeatures(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
- Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(User user, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(User user, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(User user, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
- Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(String userId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(String userId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForUser
public ListResult<Feature> listFeaturesForUser(String userId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
- Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(Tenant tenant, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(Tenant tenant, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(String tenantId, int limit) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(String tenantId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(String tenantId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForTenant
public ListResult<Feature> listFeaturesForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(PricingTier pricingTier, int limit) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(PricingTier pricingTier, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(PricingTier pricingTier, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(PricingTier pricingTier, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(String pricingTierId, int limit) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(String pricingTierId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(String pricingTierId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listFeaturesForPricingTier
public ListResult<Feature> listFeaturesForPricingTier(String pricingTierId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
createPricingTier
- Throws:
WarrantException
-
createPricingTier
- Throws:
WarrantException
-
createPricingTier
- Throws:
WarrantException
-
createPricingTier
public PricingTier createPricingTier(PricingTier pricingTier, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deletePricingTier
- Throws:
WarrantException
-
deletePricingTier
public String deletePricingTier(PricingTier pricingTier, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
deletePricingTier
- Throws:
WarrantException
-
deletePricingTier
public String deletePricingTier(String pricingTierId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
getPricingTier
- Throws:
WarrantException
-
getPricingTier
public PricingTier getPricingTier(String pricingTierId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiers
- Throws:
WarrantException
-
listPricingTiers
public ListResult<PricingTier> listPricingTiers(int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiers
- Throws:
WarrantException
-
listPricingTiers
public ListResult<PricingTier> listPricingTiers(ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(Tenant tenant, int limit) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(Tenant tenant, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(Tenant tenant, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(Tenant tenant, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(String tenantId, int limit) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(String tenantId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(String tenantId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForTenant
public ListResult<PricingTier> listPricingTiersForTenant(String tenantId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(User user, int limit) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(User user, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(User user, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(User user, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(String userId, int limit) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(String userId, int limit, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(String userId, ListParams listParams) throws WarrantException - Throws:
WarrantException
-
listPricingTiersForUser
public ListResult<PricingTier> listPricingTiersForUser(String userId, ListParams listParams, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignRoleToUser
- Throws:
WarrantException
-
assignRoleToUser
public Warrant assignRoleToUser(Role role, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignRoleToUser
- Throws:
WarrantException
-
assignRoleToUser
public Warrant assignRoleToUser(String roleId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPermissionToUser
- Throws:
WarrantException
-
assignPermissionToUser
public Warrant assignPermissionToUser(Permission permission, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPermissionToUser
- Throws:
WarrantException
-
assignPermissionToUser
public Warrant assignPermissionToUser(String permissionId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToUser
- Throws:
WarrantException
-
assignPricingTierToUser
public Warrant assignPricingTierToUser(PricingTier pricingTier, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToUser
- Throws:
WarrantException
-
assignPricingTierToUser
public Warrant assignPricingTierToUser(String pricingTierId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToUser
- Throws:
WarrantException
-
assignFeatureToUser
public Warrant assignFeatureToUser(Feature feature, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToUser
- Throws:
WarrantException
-
assignFeatureToUser
public Warrant assignFeatureToUser(String featureId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignUserToTenant
- Throws:
WarrantException
-
assignUserToTenant
public Warrant assignUserToTenant(User user, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignUserToTenant
- Throws:
WarrantException
-
assignUserToTenant
public Warrant assignUserToTenant(String userId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToTenant
public Warrant assignPricingTierToTenant(PricingTier pricingTier, Tenant tenant) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToTenant
public Warrant assignPricingTierToTenant(PricingTier pricingTier, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToTenant
public Warrant assignPricingTierToTenant(String pricingTierId, String tenantId) throws WarrantException - Throws:
WarrantException
-
assignPricingTierToTenant
public Warrant assignPricingTierToTenant(String pricingTierId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToTenant
- Throws:
WarrantException
-
assignFeatureToTenant
public Warrant assignFeatureToTenant(Feature feature, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToTenant
- Throws:
WarrantException
-
assignFeatureToTenant
public Warrant assignFeatureToTenant(String featureId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToPricingTier
public Warrant assignFeatureToPricingTier(Feature feature, PricingTier pricingTier) throws WarrantException - Throws:
WarrantException
-
assignFeatureToPricingTier
public Warrant assignFeatureToPricingTier(Feature feature, PricingTier pricingTier, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignFeatureToPricingTier
public Warrant assignFeatureToPricingTier(String featureId, String pricingTierId) throws WarrantException - Throws:
WarrantException
-
assignFeatureToPricingTier
public Warrant assignFeatureToPricingTier(String featureId, String pricingTierId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPermissionToRole
- Throws:
WarrantException
-
assignPermissionToRole
public Warrant assignPermissionToRole(Permission permission, Role role, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
assignPermissionToRole
- Throws:
WarrantException
-
assignPermissionToRole
public Warrant assignPermissionToRole(String permissionId, String roleId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeRoleFromUser
- Throws:
WarrantException
-
removeRoleFromUser
public void removeRoleFromUser(Role role, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeRoleFromUser
- Throws:
WarrantException
-
removeRoleFromUser
public void removeRoleFromUser(String roleId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePermissionFromUser
- Throws:
WarrantException
-
removePermissionFromUser
public void removePermissionFromUser(Permission permission, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePermissionFromUser
- Throws:
WarrantException
-
removePermissionFromUser
public void removePermissionFromUser(String permissionId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromUser
- Throws:
WarrantException
-
removePricingTierFromUser
public void removePricingTierFromUser(PricingTier pricingTier, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromUser
- Throws:
WarrantException
-
removePricingTierFromUser
public void removePricingTierFromUser(String pricingTierId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromUser
- Throws:
WarrantException
-
removeFeatureFromUser
public void removeFeatureFromUser(Feature feature, User user, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromUser
- Throws:
WarrantException
-
removeFeatureFromUser
public void removeFeatureFromUser(String featureId, String userId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeUserFromTenant
- Throws:
WarrantException
-
removeUserFromTenant
public void removeUserFromTenant(User user, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeUserFromTenant
- Throws:
WarrantException
-
removeUserFromTenant
public void removeUserFromTenant(String userId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromTenant
public void removePricingTierFromTenant(PricingTier pricingTier, Tenant tenant) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromTenant
public void removePricingTierFromTenant(PricingTier pricingTier, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromTenant
public void removePricingTierFromTenant(String pricingTierId, String tenantId) throws WarrantException - Throws:
WarrantException
-
removePricingTierFromTenant
public void removePricingTierFromTenant(String pricingTierId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromTenant
- Throws:
WarrantException
-
removeFeatureFromTenant
public void removeFeatureFromTenant(Feature feature, Tenant tenant, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromTenant
- Throws:
WarrantException
-
removeFeatureFromTenant
public void removeFeatureFromTenant(String featureId, String tenantId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromPricingTier
public void removeFeatureFromPricingTier(Feature feature, PricingTier pricingTier) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromPricingTier
public void removeFeatureFromPricingTier(Feature feature, PricingTier pricingTier, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromPricingTier
public void removeFeatureFromPricingTier(String featureId, String pricingTierId) throws WarrantException - Throws:
WarrantException
-
removeFeatureFromPricingTier
public void removeFeatureFromPricingTier(String featureId, String pricingTierId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePermissionFromRole
- Throws:
WarrantException
-
removePermissionFromRole
public void removePermissionFromRole(Permission permission, Role role, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
removePermissionFromRole
- Throws:
WarrantException
-
removePermissionFromRole
public void removePermissionFromRole(String permissionId, String roleId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkUserHasPermission
- Throws:
WarrantException
-
checkUserHasPermission
public boolean checkUserHasPermission(User user, String permissionId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkUserHasPermission
- Throws:
WarrantException
-
checkUserHasPermission
public boolean checkUserHasPermission(String userId, String permissionId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkTenantHasFeature
- Throws:
WarrantException
-
checkTenantHasFeature
public boolean checkTenantHasFeature(Tenant tenant, String featureId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkTenantHasFeature
- Throws:
WarrantException
-
checkTenantHasFeature
public boolean checkTenantHasFeature(String tenantId, String featureId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkUserHasFeature
- Throws:
WarrantException
-
checkUserHasFeature
public boolean checkUserHasFeature(User user, String featureId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-
checkUserHasFeature
- Throws:
WarrantException
-
checkUserHasFeature
public boolean checkUserHasFeature(String userId, String featureId, RequestOptions requestOptions) throws WarrantException - Throws:
WarrantException
-