use of org.kuali.kfs.core.api.util.KeyValue in project cu-kfs by CU-CommunityApps.
the class AttachmentDescriptionValuesFinder 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("Note", "Note"));
keyValues.add(new ConcreteKeyValue("Quote", "Quote"));
keyValues.add(new ConcreteKeyValue("Invoice", "Invoice"));
keyValues.add(new ConcreteKeyValue("Contract/Agreement", "Contract/Agreement"));
keyValues.add(new ConcreteKeyValue("Sole Source", "Sole Source"));
keyValues.add(new ConcreteKeyValue("Specifications", "Specifications"));
keyValues.add(new ConcreteKeyValue("Other", "Other"));
return keyValues;
}
use of org.kuali.kfs.core.api.util.KeyValue in project cu-kfs by CU-CommunityApps.
the class CollegeLevelOrganizationValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
List<LevelOrganization> cLevelOrganizations = iWantDocumentService.getCLevelOrganizations();
keyValues.add(new ConcreteKeyValue("", ""));
if (cLevelOrganizations != null) {
for (LevelOrganization cLevelOrganization : cLevelOrganizations) {
keyValues.add(new ConcreteKeyValue(cLevelOrganization.getCode(), cLevelOrganization.getCodeAndDescription()));
}
}
return keyValues;
}
use of org.kuali.kfs.core.api.util.KeyValue in project cu-kfs by CU-CommunityApps.
the class OrderCompletedValuesFinder method getKeyValues.
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
keyValues.add(new ConcreteKeyValue("N", "I have <b>NOT</b> placed the order. (Click <b>approve</b> to submit to the FTC/BSC for processing) "));
keyValues.add(new ConcreteKeyValue("Y", "I <b>HAVE</b> placed the order via pcard/eshop etc. (Click <b>approve</b> to finalize the order)"));
return keyValues;
}
use of org.kuali.kfs.core.api.util.KeyValue in project cu-kfs by CU-CommunityApps.
the class CuConfidentialAttachmentTypeValuesFinder method getKeyValues.
@Override
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = new ArrayList<KeyValue>();
keyValues.add(new ConcreteKeyValue(ConfidentialAttachmentTypeCodes.NON_CONFIDENTIAL_ATTACHMENT_TYPE, CUKFSConstants.NON_CONFIDENTIAL_ATTACHMENT_TYPE_LABEL));
keyValues.add(new ConcreteKeyValue(ConfidentialAttachmentTypeCodes.CONFIDENTIAL_ATTACHMENT_TYPE, ConfidentialAttachmentTypeCodes.CONFIDENTIAL_ATTACHMENT_TYPE));
return keyValues;
}
use of org.kuali.kfs.core.api.util.KeyValue in project cu-kfs by CU-CommunityApps.
the class TaxFpPaymentReasonValuesFinder method getKeyValues.
@SuppressWarnings("unchecked")
@Override
public List<KeyValue> getKeyValues() {
List<KeyValue> keyValues = super.getKeyValues();
keyValues.set(0, new ConcreteKeyValue(CUTaxConstants.ANY_OR_NONE_PAYMENT_REASON, "Any/None"));
return keyValues;
}
Aggregations