public final class OperationContextUtils extends Object
OperationContext
objects.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTIES_STAR |
static String |
RENDITION_NONE |
Modifier and Type | Method and Description |
---|---|
static OperationContext |
copyOperationContext(OperationContext context)
Copies an OperationContext object.
|
static OperationContext |
createMaximumOperationContext()
Creates a new OperationContext object that selects everything.
|
static OperationContext |
createMinimumOperationContext()
Creates a new OperationContext object that only selects the bare minimum.
|
static OperationContext |
createMinimumOperationContext(String... propertyQueryNames)
Creates a new OperationContext object that only selects the bare minimum
plus the provided properties.
|
static OperationContext |
createOperationContext()
Creates a new OperationContext object.
|
static OperationContext |
createOperationContext(Set<String> filter,
boolean includeAcls,
boolean includeAllowableActions,
boolean includePolicies,
IncludeRelationships includeRelationships,
Set<String> renditionFilter,
boolean includePathSegments,
String orderBy,
boolean cacheEnabled,
int maxItemsPerPage)
Creates a new OperationContext object with the given parameters.
|
static OperationContext |
unmodifiableOperationContext(OperationContext context)
Returns an unmodifiable view of the specified OperationContext.
|
public static final String PROPERTIES_STAR
public static final String RENDITION_NONE
public static OperationContext createOperationContext()
public static OperationContext copyOperationContext(OperationContext context)
public static OperationContext createOperationContext(Set<String> filter, boolean includeAcls, boolean includeAllowableActions, boolean includePolicies, IncludeRelationships includeRelationships, Set<String> renditionFilter, boolean includePathSegments, String orderBy, boolean cacheEnabled, int maxItemsPerPage)
public static OperationContext createMinimumOperationContext()
public static OperationContext createMinimumOperationContext(String... propertyQueryNames)
public static OperationContext createMaximumOperationContext()
public static OperationContext unmodifiableOperationContext(OperationContext context)
UnsupportedOperationException
.Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.