-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
179 changed files
with
4,345 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
coeus-api-all/src/main/java/org/kuali/coeus/api/package-info.java
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
coeus-api-all/src/main/java/org/kuali/coeus/award/api/core/AwardTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.kuali.coeus.award.api.core; | ||
|
||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface AwardTypeContract extends Describable { | ||
|
||
Integer getCode(); | ||
} |
7 changes: 7 additions & 0 deletions
7
...in/java/org/kuali/coeus/common/api/compliance/core/SpecialReviewApprovalTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.kuali.coeus.common.api.compliance.core; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface SpecialReviewApprovalTypeContract extends Coded, Describable { | ||
} |
25 changes: 25 additions & 0 deletions
25
...i-all/src/main/java/org/kuali/coeus/common/api/compliance/core/SpecialReviewContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.kuali.coeus.common.api.compliance.core; | ||
|
||
|
||
import java.sql.Date; | ||
|
||
public interface SpecialReviewContract { | ||
|
||
Integer getSpecialReviewNumber(); | ||
|
||
String getProtocolNumber(); | ||
|
||
Date getApplicationDate(); | ||
|
||
Date getApprovalDate(); | ||
|
||
Date getExpirationDate(); | ||
|
||
String getComments(); | ||
|
||
String getProtocolStatus(); | ||
|
||
SpecialReviewTypeContract getSpecialReviewType(); | ||
|
||
SpecialReviewApprovalTypeContract getApprovalType(); | ||
} |
8 changes: 8 additions & 0 deletions
8
...l/src/main/java/org/kuali/coeus/common/api/compliance/core/SpecialReviewTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.kuali.coeus.common.api.compliance.core; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
import org.kuali.coeus.sys.api.model.Sortable; | ||
|
||
public interface SpecialReviewTypeContract extends Coded, Describable, Sortable { | ||
} |
9 changes: 9 additions & 0 deletions
9
.../src/main/java/org/kuali/coeus/common/api/compliance/exemption/ExemptionTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.kuali.coeus.common.api.compliance.exemption; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface ExemptionTypeContract extends Coded, Describable { | ||
|
||
String getDetailedDescription(); | ||
} |
9 changes: 9 additions & 0 deletions
9
coeus-api-all/src/main/java/org/kuali/coeus/common/api/country/CountryContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.kuali.coeus.common.api.country; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
|
||
public interface CountryContract extends Coded { | ||
|
||
String getAlternateCode(); | ||
String getName(); | ||
} |
25 changes: 25 additions & 0 deletions
25
coeus-api-all/src/main/java/org/kuali/coeus/common/api/country/KcCountryService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.kuali.coeus.common.api.country; | ||
|
||
|
||
public interface KcCountryService { | ||
|
||
/** | ||
* This method retrieves a country by country code. If the country is not found null is returned. | ||
* The country code cannot be blank. | ||
* | ||
* @param code the country code. cannot be blank. | ||
* @return the country or null if not found. | ||
* @throws java.lang.IllegalArgumentException if the code is blank | ||
*/ | ||
CountryContract getCountry(String code); | ||
|
||
/** | ||
* This method retrieves a country by alternate country code. The alternate country code is usually a three digit | ||
* code. If the country is not found null is returned. The alternate country code cannot be blank. | ||
* | ||
* @param alternateCode the alternate country code. cannot be blank. | ||
* @return the country or null if not found. | ||
* @throws java.lang.IllegalArgumentException if the alternateCode is blank | ||
*/ | ||
CountryContract getCountryByAlternateCode(String alternateCode); | ||
} |
18 changes: 18 additions & 0 deletions
18
...api-all/src/main/java/org/kuali/coeus/common/api/custom/attr/CustomAttributeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.kuali.coeus.common.api.custom.attr; | ||
|
||
|
||
import org.kuali.coeus.sys.api.model.IdentifiableNumeric; | ||
|
||
public interface CustomAttributeContract extends IdentifiableNumeric { | ||
|
||
Integer getDataLength(); | ||
String getDataTypeCode(); | ||
String getDefaultValue(); | ||
String getGroupName(); | ||
String getLabel(); | ||
String getLookupClass(); | ||
String getLookupReturn(); | ||
String getName(); | ||
CustomAttributeDataTypeContract getCustomAttributeDataType(); | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
...src/main/java/org/kuali/coeus/common/api/custom/attr/CustomAttributeDataTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.kuali.coeus.common.api.custom.attr; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface CustomAttributeDataTypeContract extends Coded, Describable { | ||
} |
10 changes: 10 additions & 0 deletions
10
...src/main/java/org/kuali/coeus/common/api/custom/attr/CustomAttributeDocValueContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.kuali.coeus.common.api.custom.attr; | ||
|
||
import org.kuali.coeus.sys.api.model.IdentifiableNumeric; | ||
|
||
public interface CustomAttributeDocValueContract extends IdentifiableNumeric { | ||
|
||
String getDocumentNumber(); | ||
String getValue(); | ||
CustomAttributeContract getCustomAttribute(); | ||
} |
12 changes: 12 additions & 0 deletions
12
...src/main/java/org/kuali/coeus/common/api/custom/attr/CustomAttributeDocumentContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.kuali.coeus.common.api.custom.attr; | ||
|
||
import org.kuali.coeus.sys.api.model.DocumentTyped; | ||
import org.kuali.coeus.sys.api.model.IdentifiableNumeric; | ||
import org.kuali.coeus.sys.api.model.Inactivatable; | ||
|
||
public interface CustomAttributeDocumentContract extends IdentifiableNumeric, DocumentTyped, Inactivatable { | ||
|
||
boolean isRequired(); | ||
String getTypeName(); | ||
CustomAttributeContract getCustomAttribute(); | ||
} |
8 changes: 8 additions & 0 deletions
8
coeus-api-all/src/main/java/org/kuali/coeus/common/api/keyword/ScienceKeywordContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.kuali.coeus.common.api.keyword; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface ScienceKeywordContract extends Coded, Describable { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
coeus-api-all/src/main/java/org/kuali/coeus/common/api/noo/NoticeOfOpportunityContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.kuali.coeus.common.api.noo; | ||
|
||
import org.kuali.coeus.sys.api.model.Coded; | ||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface NoticeOfOpportunityContract extends Coded, Describable{ | ||
} |
78 changes: 78 additions & 0 deletions
78
coeus-api-all/src/main/java/org/kuali/coeus/common/api/org/OrganizationContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
package org.kuali.coeus.common.api.org; | ||
|
||
import org.kuali.coeus.common.api.org.audit.OrganizationAuditContract; | ||
import org.kuali.coeus.common.api.org.type.OrganizationTypeContract; | ||
|
||
import java.util.Date; | ||
import java.util.List; | ||
|
||
public interface OrganizationContract { | ||
|
||
String getOrganizationId(); | ||
|
||
String getAddress(); | ||
|
||
String getAgencySymbol(); | ||
|
||
String getAnimalWelfareAssurance(); | ||
|
||
String getCableAddress(); | ||
|
||
String getCageNumber(); | ||
|
||
Integer getCognizantAuditor(); | ||
|
||
String getComGovEntityCode(); | ||
|
||
String getCongressionalDistrict(); | ||
|
||
Integer getContactAddressId(); | ||
|
||
String getCounty(); | ||
|
||
String getDodacNumber(); | ||
|
||
String getDunsNumber(); | ||
|
||
String getDunsPlusFourNumber(); | ||
|
||
String getFederalEmployerId(); | ||
|
||
String getHumanSubAssurance(); | ||
|
||
Date getIncorporatedDate(); | ||
|
||
String getIncorporatedIn(); | ||
|
||
String getIndirectCostRateAgreement(); | ||
|
||
String getIrsTaxExemption(); | ||
|
||
String getStateEmployeeClaim(); | ||
|
||
String getStateTaxExemptNum(); | ||
|
||
String getNsfInstitutionalCode(); | ||
|
||
Integer getNumberOfEmployees(); | ||
|
||
Integer getOnrResidentRep(); | ||
|
||
String getOrganizationName(); | ||
|
||
String getPhsAccount(); | ||
|
||
Date getScienceMisconductComplDate(); | ||
|
||
String getTelexNumber(); | ||
|
||
String getVendorCode(); | ||
|
||
List<? extends OrganizationYnqContract> getOrganizationYnqs(); | ||
|
||
List<? extends OrganizationTypeContract> getOrganizationTypes(); | ||
|
||
List<? extends OrganizationIndirectcostContract> getOrganizationIdcs(); | ||
|
||
List<? extends OrganizationAuditContract> getOrganizationAudits(); | ||
} |
24 changes: 24 additions & 0 deletions
24
...pi-all/src/main/java/org/kuali/coeus/common/api/org/OrganizationIndirectcostContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.kuali.coeus.common.api.org; | ||
|
||
import org.kuali.coeus.sys.api.model.ScaleTwoDecimal; | ||
|
||
import java.util.Date; | ||
|
||
public interface OrganizationIndirectcostContract { | ||
|
||
Integer getIdcNumber(); | ||
|
||
String getOrganizationId(); | ||
|
||
ScaleTwoDecimal getApplicableIndirectcostRate(); | ||
|
||
Date getEndDate(); | ||
|
||
String getIdcComment(); | ||
|
||
Integer getIdcRateTypeCode(); | ||
|
||
Date getRequestedDate(); | ||
|
||
Date getStartDate(); | ||
} |
22 changes: 22 additions & 0 deletions
22
...s-api-all/src/main/java/org/kuali/coeus/common/api/org/OrganizationRepositoryService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.kuali.coeus.common.api.org; | ||
|
||
public interface OrganizationRepositoryService { | ||
|
||
/** | ||
* Gets Cognizant Federal Agency for an organization. The pass in organization cannot be null. | ||
* Will return an empty string the Cognizant Federal Agency cannot be determined. | ||
* | ||
* @param organization the organization. | ||
* @return the Cognizant Federal Agency or a blank string | ||
* @throws java.lang.IllegalArgumentException if the organization is null | ||
*/ | ||
String getCognizantFedAgency(OrganizationContract organization); | ||
|
||
/** | ||
* This method will retrieves a {@link org.kuali.coeus.common.api.org.OrganizationContract} by organizationId. The organizationId cannot be blank. | ||
* @param organizationId the organizationId. Cannot be blank. | ||
* @return the {@link org.kuali.coeus.common.api.org.OrganizationContract} or null if not found. | ||
* @throws java.lang.IllegalArgumentException if the organizationId is null | ||
*/ | ||
OrganizationContract getOrganization(String organizationId); | ||
} |
16 changes: 16 additions & 0 deletions
16
coeus-api-all/src/main/java/org/kuali/coeus/common/api/org/OrganizationYnqContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.kuali.coeus.common.api.org; | ||
|
||
import java.util.Date; | ||
|
||
public interface OrganizationYnqContract { | ||
|
||
String getOrganizationId(); | ||
|
||
String getAnswer(); | ||
|
||
String getExplanation(); | ||
|
||
Date getReviewDate(); | ||
|
||
String getQuestionId(); | ||
} |
12 changes: 12 additions & 0 deletions
12
...api-all/src/main/java/org/kuali/coeus/common/api/org/audit/OrganizationAuditContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.kuali.coeus.common.api.org.audit; | ||
|
||
public interface OrganizationAuditContract { | ||
|
||
String getFiscalYear(); | ||
|
||
String getOrganizationId(); | ||
|
||
boolean getAuditAccepted(); | ||
|
||
String getAuditComment(); | ||
} |
7 changes: 7 additions & 0 deletions
7
...s-api-all/src/main/java/org/kuali/coeus/common/api/org/type/OrganizationTypeContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.kuali.coeus.common.api.org.type; | ||
|
||
public interface OrganizationTypeContract { | ||
|
||
String getOrganizationId(); | ||
OrganizationTypeListContract getOrganizationTypeList(); | ||
} |
7 changes: 7 additions & 0 deletions
7
...i-all/src/main/java/org/kuali/coeus/common/api/org/type/OrganizationTypeListContract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.kuali.coeus.common.api.org.type; | ||
|
||
import org.kuali.coeus.sys.api.model.Describable; | ||
|
||
public interface OrganizationTypeListContract extends Describable { | ||
Integer getCode(); | ||
} |
Oops, something went wrong.