public class PermissionUpdater extends Object
Constructor and Description |
---|
PermissionUpdater() |
Modifier and Type | Method and Description |
---|---|
static boolean |
needsUpdating(int tenantId)
Checks whether a tenant's permission cache needs to be updated
|
static void |
remove(int tenantId) |
static void |
update(int tenantId) |
public static void update(int tenantId)
public static void remove(int tenantId)
public static boolean needsUpdating(int tenantId) throws Exception
tenantId
- The ID of the tenantorg.wso2.carbon.registry.core.exceptions.RegistryException
- If an error occurs when retrieving Registry resourcesException
Copyright © 2016 WSO2 Inc. All rights reserved.