public class PermissionUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_PROPERTY_NAME |
Constructor and Description |
---|
PermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkResourceExists(String path) |
static void |
createRegistryCollection(String path,
String resourceName) |
static org.wso2.carbon.registry.core.Registry |
getGovernanceRegistry() |
static void |
putPermission(String permission) |
public static final String PERMISSION_PROPERTY_NAME
public static void putPermission(String permission)
public static void createRegistryCollection(String path, String resourceName) throws org.wso2.carbon.registry.api.RegistryException
org.wso2.carbon.registry.api.RegistryException
public static boolean checkResourceExists(String path) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static org.wso2.carbon.registry.core.Registry getGovernanceRegistry() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
Copyright © 2017 WSO2. All rights reserved.