public class BasicPolicyHelper extends Object
| Constructor and Description |
|---|
BasicPolicyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ApplyElementDTO |
createApplyElementForBagFunctions(String functionId,
String category,
String attributeId,
String[] attributeValues,
String dataType) |
static ApplyElementDTO |
createApplyElementForNonBagFunctions(String functionId,
String category,
String attributeId,
String attributeValue,
String dataType) |
static ApplyElementDTO |
createApplyElementForNonBagFunctionsWithAnyOf(String functionId,
String category,
String attributeDesignatorId,
String dataType,
String attributeValue) |
static MatchElementDTO |
createMatchElementForNonBagFunctions(String functionId,
String attributeValue,
String category,
String attributeId,
String dataType) |
static Element |
createPolicyElement(BasicPolicyDTO basicPolicyDTO,
Document doc) |
static Element |
createRuleElement(BasicRuleDTO basicRuleDTO,
Document doc) |
static Element |
createTargetElement(BasicTargetDTO basicTargetDTO,
Document doc) |
static ApplyElementDTO |
processGreaterLessThanFunctions(String function,
String dataType,
String attributeValue,
AttributeDesignatorDTO designatorDTO)
Process less than and greater than functions
|
public static Element createPolicyElement(BasicPolicyDTO basicPolicyDTO, Document doc) throws PolicyBuilderException
PolicyBuilderExceptionpublic static Element createRuleElement(BasicRuleDTO basicRuleDTO, Document doc) throws PolicyBuilderException
PolicyBuilderExceptionpublic static Element createTargetElement(BasicTargetDTO basicTargetDTO, Document doc) throws PolicyBuilderException
PolicyBuilderExceptionpublic static ApplyElementDTO createApplyElementForBagFunctions(String functionId, String category, String attributeId, String[] attributeValues, String dataType)
public static ApplyElementDTO createApplyElementForNonBagFunctions(String functionId, String category, String attributeId, String attributeValue, String dataType)
public static ApplyElementDTO createApplyElementForNonBagFunctionsWithAnyOf(String functionId, String category, String attributeDesignatorId, String dataType, String attributeValue)
public static MatchElementDTO createMatchElementForNonBagFunctions(String functionId, String attributeValue, String category, String attributeId, String dataType)
public static ApplyElementDTO processGreaterLessThanFunctions(String function, String dataType, String attributeValue, AttributeDesignatorDTO designatorDTO) throws PolicyBuilderException
function - dataType - attributeValue - designatorDTO - PolicyBuilderExceptionCopyright © 2015 WSO2. All rights reserved.