public class EntitlementPolicyServiceClient extends Object
| Constructor and Description |
|---|
EntitlementPolicyServiceClient(String backEndUrl,
String sessionCookie) |
EntitlementPolicyServiceClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicies(File policyFile) |
void |
addPolicies(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO[] policies) |
void |
addPolicy(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO policyDTO) |
void |
addSubscriber(org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder holder) |
void |
deleteSubscriber(String subscriberId) |
void |
enableDisablePolicy(String policyId,
boolean enable) |
org.wso2.carbon.identity.entitlement.stub.dto.PaginatedPolicySetDTO |
getAllPolicies(String policyTypeFilter,
String policySearchString,
int pageNumber,
boolean isPDPPolicy) |
String[] |
getAllPolicyIds(String searchString) |
org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO |
getPolicy(String policyId,
boolean isPDPPolicy) |
org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO |
getPolicyByVersion(String policyId,
String version) |
String[] |
getPolicyVersions(String policyId) |
org.wso2.carbon.identity.entitlement.stub.dto.PaginatedStatusHolder |
getStatusData(String about,
String key,
String type,
String searchString,
int pageNumber) |
org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder |
getSubscriber(String subscribeId) |
String[] |
getSubscriberIds(String searchString) |
void |
importPolicyFromRegistry(String policyRegistryPath) |
void |
orderPolicy(String policyId,
int newOrder) |
void |
publish(String verificationCode) |
void |
publishPolicies(String[] policies,
String[] subscriberIds,
String action,
boolean enabled,
String version,
int order) |
void |
publishToPDP(String[] policies,
String action,
boolean enabled,
String version,
int order) |
void |
removePolicies(String[] policies,
boolean dePromote) |
void |
removePolicy(String policyId) |
void |
removePolicy(String policyId,
boolean dePromote) |
void |
updatePolicy(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO policyDTO) |
void |
updateSubscriber(org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder holder) |
public EntitlementPolicyServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void addPolicies(File policyFile) throws IOException, ParserConfigurationException, TransformerException, SAXException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
IOExceptionParserConfigurationExceptionTransformerExceptionSAXExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void removePolicy(String policyId) throws IOException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
IOExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void removePolicy(String policyId, boolean dePromote) throws IOException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
IOExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void updatePolicy(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO policyDTO)
throws RemoteException,
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void removePolicies(String[] policies, boolean dePromote) throws RemoteException
RemoteExceptionpublic String[] getAllPolicyIds(String searchString) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void addPolicy(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO policyDTO)
throws RemoteException,
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void addPolicies(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO[] policies)
throws RemoteException
RemoteExceptionpublic org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO getPolicy(String policyId, boolean isPDPPolicy) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic String[] getPolicyVersions(String policyId) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic org.wso2.carbon.identity.entitlement.stub.dto.PaginatedPolicySetDTO getAllPolicies(String policyTypeFilter, String policySearchString, int pageNumber, boolean isPDPPolicy) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO getPolicyByVersion(String policyId, String version) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic void importPolicyFromRegistry(String policyRegistryPath) throws RemoteException, org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementException
RemoteExceptionorg.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceEntitlementExceptionpublic org.wso2.carbon.identity.entitlement.stub.dto.PaginatedStatusHolder getStatusData(String about, String key, String type, String searchString, int pageNumber) throws RemoteException
RemoteExceptionpublic void addSubscriber(org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder holder)
throws RemoteException
RemoteExceptionpublic void updateSubscriber(org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder holder)
throws RemoteException
RemoteExceptionpublic org.wso2.carbon.identity.entitlement.stub.dto.PublisherDataHolder getSubscriber(String subscribeId) throws RemoteException
RemoteExceptionpublic String[] getSubscriberIds(String searchString) throws RemoteException
RemoteExceptionpublic void deleteSubscriber(String subscriberId) throws RemoteException
RemoteExceptionpublic void enableDisablePolicy(String policyId, boolean enable) throws RemoteException
RemoteExceptionpublic void publish(String verificationCode) throws RemoteException
RemoteExceptionpublic void publishToPDP(String[] policies, String action, boolean enabled, String version, int order) throws RemoteException
RemoteExceptionpublic void publishPolicies(String[] policies, String[] subscriberIds, String action, boolean enabled, String version, int order) throws RemoteException
RemoteExceptionpublic void orderPolicy(String policyId, int newOrder) throws RemoteException
RemoteExceptionCopyright © 2007–2016 WSO2. All rights reserved.