protected static OperationContext createOperationContext(String filter, String orderBy) { OperationContext ctx = new OperationContextImpl(); ctx.setIncludeAcls(true); ctx.setIncludePolicies(true); ctx.setIncludeRelationships(IncludeRelationships.BOTH); if (StringUtils.isNotBlank(filter) || StringUtils.isNotBlank(orderBy)) { if (StringUtils.isNotBlank(filter)) { ctx.setFilterString(filter); } if (StringUtils.isNotBlank(orderBy)) { ctx.setOrderBy(orderBy); } } return ctx; }
allPropsContext.setIncludeAllowableActions(false); allPropsContext.setIncludePathSegments(false); allPropsContext.setIncludePolicies(false); allPropsContext.setIncludeRelationships(IncludeRelationships.NONE); allPropsContext.setRenditionFilterString("cmis:none");
allPropsContext.setIncludeAllowableActions(false); allPropsContext.setIncludePathSegments(false); allPropsContext.setIncludePolicies(false); allPropsContext.setIncludeRelationships(IncludeRelationships.NONE); allPropsContext.setRenditionFilterString("cmis:none");
context.setIncludeAllowableActions(false); context.setIncludePathSegments(false); context.setIncludePolicies(false); context.setIncludeRelationships(IncludeRelationships.NONE); context.setRenditionFilterString("cmis:none");
context.setIncludeAllowableActions(false); context.setIncludePathSegments(false); context.setIncludePolicies(false); context.setIncludeRelationships(IncludeRelationships.NONE); context.setLoadSecondaryTypeProperties(false);
SELECT_ALL_NO_CACHE_OC.setIncludeAcls(true); SELECT_ALL_NO_CACHE_OC.setIncludePathSegments(true); SELECT_ALL_NO_CACHE_OC.setIncludePolicies(true); SELECT_ALL_NO_CACHE_OC.setIncludeRelationships(IncludeRelationships.BOTH); SELECT_ALL_NO_CACHE_OC.setRenditionFilterString("*");