config returns if a repository logo exists, method created for the base64 encoded logo
This commit is contained in:
parent
ffdc580f0f
commit
108124fd00
|
@ -53,4 +53,11 @@ public interface RepositoryDeposit {
|
||||||
*/
|
*/
|
||||||
RepositoryDepositConfiguration getConfiguration();
|
RepositoryDepositConfiguration getConfiguration();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the repository's logo if exists.
|
||||||
|
*
|
||||||
|
* @return the repository's logo in base64 form
|
||||||
|
* */
|
||||||
|
String getLogo();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,7 @@ public class RepositoryDepositConfiguration {
|
||||||
private String repositoryClientId;
|
private String repositoryClientId;
|
||||||
private String repositoryClientSecret;
|
private String repositoryClientSecret;
|
||||||
private String redirectUri;
|
private String redirectUri;
|
||||||
|
private boolean hasLogo;
|
||||||
|
|
||||||
public int getDepositType() {
|
public int getDepositType() {
|
||||||
return depositType;
|
return depositType;
|
||||||
|
@ -109,4 +110,11 @@ public class RepositoryDepositConfiguration {
|
||||||
public void setRedirectUri(String redirectUri) {
|
public void setRedirectUri(String redirectUri) {
|
||||||
this.redirectUri = redirectUri;
|
this.redirectUri = redirectUri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isHasLogo() {
|
||||||
|
return hasLogo;
|
||||||
|
}
|
||||||
|
public void setHasLogo(boolean hasLogo) {
|
||||||
|
this.hasLogo = hasLogo;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue