@Test public void validatePagingNull() { ModelUtils.validatePaging(null); }
public static void validatePaging(ObjectPaging paging) { if (paging == null) { return; } if (paging.getMaxSize() != null && paging.getMaxSize().longValue() < 0) { throw new IllegalArgumentException("Paging max size must be more than 0."); } if (paging.getOffset() != null && paging.getOffset().longValue() < 0) { throw new IllegalArgumentException("Paging offset index must be more than 0."); } }
ModelUtils { public static void validatePaging(ObjectPaging paging) { if (paging == null) { return; } if (paging.getMaxSize() != null && paging.getMaxSize().longValue() < 0) { throw new IllegalArgumentException("Paging max size must be more than 0."); } if (paging.getOffset() != null && paging.getOffset().longValue() < 0) { throw new IllegalArgumentException("Paging offset index must be more than 0."); } } }
ModelUtils { public static void validatePaging(ObjectPaging paging) { if (paging == null) { return; } if (paging.getMaxSize() != null && paging.getMaxSize().longValue() < 0) { throw new IllegalArgumentException("Paging max size must be more than 0."); } if (paging.getOffset() != null && paging.getOffset().longValue() < 0) { throw new IllegalArgumentException("Paging offset index must be more than 0."); } }  }
ModelUtils { public static void validatePaging(ObjectPaging paging) { if (paging == null) { return; } if (paging.getMaxSize() != null && paging.getMaxSize().longValue() < 0) { throw new IllegalArgumentException("Paging max size must be more than 0."); } if (paging.getOffset() != null && paging.getOffset().longValue() < 0) { throw new IllegalArgumentException("Paging offset index must be more than 0."); } }  static void validatePaging(ObjectPaging paging); static void recordFatalError(OperationResult result, Throwable e); static void recordFatalError(OperationResult result, String message, Throwable e); static void recordPartialError(OperationResult result, Throwable e); static void recordPartialError(OperationResult result, String message, Throwable e); static String getOperationUrlFromDelta(ObjectDelta<O> delta); static ObjectPolicyConfigurationType determineObjectPolicyConfiguration(PrismObject<O> object, SystemConfigurationType systemConfigurationType); static ObjectPolicyConfigurationType determineObjectPolicyConfiguration(Class<O> objectClass, List<String> objectSubtypes, SystemConfigurationType systemConfigurationType); @NotNull static List<ObjectPolicyConfigurationType> getApplicablePolicies(
			Class<O> objectClass, List<String> objectSubtypes, SystemConfigurationType systemConfigurationType); @NotNull static List<ObjectPolicyConfigurationType> getApplicablePolicies(LensContext<F> context); static ConflictResolutionType getConflictResolution(LensContext<F> context); }
ModelUtils { public static void validatePaging(ObjectPaging paging) { if (paging == null) { return; } if (paging.getMaxSize() != null && paging.getMaxSize().longValue() < 0) { throw new IllegalArgumentException("Paging max size must be more than 0."); } if (paging.getOffset() != null && paging.getOffset().longValue() < 0) { throw new IllegalArgumentException("Paging offset index must be more than 0."); } }  static void validatePaging(ObjectPaging paging); static void recordFatalError(OperationResult result, Throwable e); static void recordFatalError(OperationResult result, String message, Throwable e); static void recordPartialError(OperationResult result, Throwable e); static void recordPartialError(OperationResult result, String message, Throwable e); static String getOperationUrlFromDelta(ObjectDelta<O> delta); static ObjectPolicyConfigurationType determineObjectPolicyConfiguration(PrismObject<O> object, SystemConfigurationType systemConfigurationType); static ObjectPolicyConfigurationType determineObjectPolicyConfiguration(Class<O> objectClass, List<String> objectSubtypes, SystemConfigurationType systemConfigurationType); @NotNull static List<ObjectPolicyConfigurationType> getApplicablePolicies(
			Class<O> objectClass, List<String> objectSubtypes, SystemConfigurationType systemConfigurationType); @NotNull static List<ObjectPolicyConfigurationType> getApplicablePolicies(LensContext<F> context); static ConflictResolutionType getConflictResolution(LensContext<F> context);  }