Class ViewUtil
- java.lang.Object
 - 
- uk.gov.gchq.gaffer.data.elementdefinition.view.ViewUtil
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewremoveGroups(View view, String... groups)Remove specified from the supplied view.static voidremoveProperties(ViewElementDefinition elDef, Element element)Remove properties from the supplied element, according to theViewElementDefinition.static voidremoveProperties(ViewElementDefinition elDef, Properties properties)Remove properties from the supplied element, according to theViewElementDefinition.static voidremoveProperties(View view, Element element)Remove properties from the supplied element, according to theViewElementDefinitionin theView. 
 - 
 
- 
- 
Method Detail
- 
removeProperties
public static void removeProperties(View view, Element element)
Remove properties from the supplied element, according to theViewElementDefinitionin theView.- Parameters:
 view- the view to applyelement- the element to modify
 
- 
removeProperties
public static void removeProperties(ViewElementDefinition elDef, Element element)
Remove properties from the supplied element, according to theViewElementDefinition.- Parameters:
 elDef- the element definition to applyelement- the element to modify
 
- 
removeProperties
public static void removeProperties(ViewElementDefinition elDef, Properties properties)
Remove properties from the supplied element, according to theViewElementDefinition.- Parameters:
 elDef- the element definition to applyproperties- the properties to modify
 
- 
removeGroups
public static View removeGroups(View view, String... groups)
Remove specified from the supplied view. Because TheViewis unmodifiable it will return a newViewwith the group(s) removed.- Parameters:
 view- the view to applygroups- the groups to remove- Returns:
 - the new view with the groups removed
 
 
 - 
 
 -