Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coeus-api-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.kuali.coeus</groupId>
<artifactId>coeus-api</artifactId>
<version>1509.0004-SNAPSHOT</version>
<version>1509.0004-1-SNAPSHOT</version>
</parent>
<artifactId>coeus-api-all</artifactId>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.kuali.coeus.common.api.sponsor;


public interface Sponsorable {

String getSponsorCode();

void setSponsorCode(String sponsorCode);

String getPrimeSponsorCode();

void setPrimeSponsorCode(String primeSponsorCode);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
package org.kuali.coeus.common.api.sponsor.hierarchy;

import org.kuali.coeus.common.api.sponsor.Sponsorable;

public interface SponsorHierarchyService {

Expand Down Expand Up @@ -53,6 +54,14 @@ public interface SponsorHierarchyService {
*/
public boolean isSponsorNihMultiplePi(String sponsorCode);

/**
* Checks if a given sponsorable (sponsor or primesponsor) is in the NIH Multiple PI hierarchy for any level.
* @param sponsorable the sponsor object. Cannot be blank.
* @return returns true if the sponsorable contains a sponsor code is a "NIH Multiple PI" type
* @throws IllegalArgumentException if the sponsorable has neither sponsor nor primesponsor
*/
public boolean isSponsorableNihMultiplePi(Sponsorable sponsorable);

/**
* Checks if the sponsor code is a "NIH Other Significant Contributor" type.
* @param sponsorCode the sponsor code. Cannot be blank.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.kuali.coeus</groupId>
<artifactId>coeus-api</artifactId>
<version>1509.0004-SNAPSHOT</version>
<version>1509.0004-1-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
The Kuali Coeus API module contains service apis for the Kuali Coeus application.
Expand Down