use of org.olat.resource.accesscontrol.provider.auto.model.AdvanceOrderImpl in project openolat by klemens.
the class AutoAccessManagerImplTest method getPendingAdvanceOrders.
private Collection<AdvanceOrder> getPendingAdvanceOrders() {
Collection<AdvanceOrder> advanceOrders;
AdvanceOrderImpl ao1 = new AdvanceOrderImpl();
ao1.setIdentifierKey(IdentifierKey.internalId);
ao1.setIdentifierValue("abc");
ao1.setStatus(Status.PENDING);
ao1.setMethod(accessMethodDummy);
ao1.setIdentity(IDENTITY);
AdvanceOrderImpl ao2 = new AdvanceOrderImpl();
ao2.setIdentifierKey(IdentifierKey.internalId);
ao2.setIdentifierValue("abc3");
ao2.setStatus(Status.PENDING);
ao2.setMethod(accessMethodDummy);
ao2.setIdentity(IDENTITY);
advanceOrders = Arrays.asList(ao1, ao2);
return advanceOrders;
}
Aggregations