use of org.kuali.kfs.core.api.util.ConcreteKeyValue in project cu-kfs by CU-CommunityApps.
the class PurchaseOrderTransmissionMethodValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
Collection<PurchaseOrderTransmissionMethod> methods = keyValuesService.findAll(PurchaseOrderTransmissionMethod.class);
List<KeyValue> labels = new ArrayList<>();
labels.add(new ConcreteKeyValue("", ""));
for (PurchaseOrderTransmissionMethod method : methods) {
labels.add(new ConcreteKeyValue(method.getPurchaseOrderTransmissionMethodCode(), method.getPurchaseOrderTransmissionMethodDescription()));
}
return labels;
}
use of org.kuali.kfs.core.api.util.ConcreteKeyValue in project cu-kfs by CU-CommunityApps.
the class AmountOrPercentValuesFinder method getKeyValues.
/**
* @see org.kuali.kfs.kns.lookup.keyvalues.KeyValuesFinder#getKeyValues()
*/
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
keyValues.add(new ConcreteKeyValue(CUPurapConstants.AMOUNT, "Amount"));
keyValues.add(new ConcreteKeyValue(CUPurapConstants.PERCENT, "Percent"));
return keyValues;
}
use of org.kuali.kfs.core.api.util.ConcreteKeyValue in project cu-kfs by CU-CommunityApps.
the class DepartmentLevelOrganizationValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
keyValues.add(new ConcreteKeyValue("", ""));
return keyValues;
}
use of org.kuali.kfs.core.api.util.ConcreteKeyValue in project cu-kfs by CU-CommunityApps.
the class RequisitionAttachmentTypeValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
keyValues.add(new ConcreteKeyValue(CUPurapConstants.AttachemntToVendorIndicators.DONT_SEND_TO_VENDOR, "No"));
keyValues.add(new ConcreteKeyValue(CUPurapConstants.AttachemntToVendorIndicators.SEND_TO_VENDOR, "Yes"));
return keyValues;
}
use of org.kuali.kfs.core.api.util.ConcreteKeyValue in project cu-kfs by CU-CommunityApps.
the class YesNoValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<>();
keyValues.add(new ConcreteKeyValue("N", "No"));
keyValues.add(new ConcreteKeyValue("Y", "Yes"));
return keyValues;
}
Aggregations