public interface ServiceAccessRightManagementService
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deletes access privilege data.
|
void |
deleteAccessRight(String userId,
String serviceId)
Deletes access privilege.
|
AccessRight |
getMyAccessRight(String serviceId)
Searches access privilege data of the called user.
|
AccessRightSearchResult |
searchAccessRights(int startIndex,
int maxCount,
String userId,
String serviceId,
Order[] orders)
Searches access privilege data over the specified conditions, sorts and returns.
|
void |
setAccessRight(String userId,
String serviceId,
boolean permitted)
Sets access privilege.
|
void clear()
throws AccessLimitExceededException,
NoAccessPermissionException,
ServiceConfigurationException,
UnknownException
AccessLimitExceededException - Violated an access restrictionNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service setup was not done appropriatelyUnknownException - An unexpected exception occurredAccessRightSearchResult searchAccessRights(int startIndex, int maxCount, String userId, String serviceId, Order[] orders) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
startIndex - Starting position of result acquisitionmaxCount - Maximum number of acquired resultsuserId - Target user ID for searching access privilegeserviceId - Target service IDs of searched access privilegesorders - Sort conditionAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service setup was not done appropriatelyUnknownException - An unexpected exception occurredAccessRight getMyAccessRight(String serviceId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
serviceId - Service IDAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service setup was not done appropriatelyUnknownException - An unexpected exception occurredvoid setAccessRight(String userId, String serviceId, boolean permitted) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
userId - User IDserviceId - Service IDpermitted - Whether permitted or notAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service setup was not done appropriatelyUnknownException - An unexpected exception occurredvoid deleteAccessRight(String userId, String serviceId) throws AccessLimitExceededException, AccessRightNotFoundException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
userId - Target user ID of the access privilege to be deleted. To specify all, use "*"serviceId - Target service IDs of access privileges to be deleted. To specify all, use "*"AccessLimitExceededException - Violated an access restrictionAccessRightNotFoundException - The access privilege does not existInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service setup was not done appropriatelyUnknownException - An unexpected exception occurred