forked from ulb-sachsen-anhalt/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DSpace#9268 from 4Science/coar-notify-7-part-two
Coar Notify Integration - Administer/Log
- Loading branch information
Showing
26 changed files
with
2,181 additions
and
14 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
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
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
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
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
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
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
53 changes: 53 additions & 0 deletions
53
dspace-api/src/main/java/org/dspace/discovery/indexobject/IndexableLDNNotification.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,53 @@ | ||
/** | ||
* The contents of this file are subject to the license and copyright | ||
* detailed in the LICENSE and NOTICE files at the root of the source | ||
* tree and available online at | ||
* | ||
* http://www.dspace.org/license/ | ||
*/ | ||
package org.dspace.discovery.indexobject; | ||
|
||
import org.dspace.app.ldn.LDNMessageEntity; | ||
import org.dspace.discovery.IndexableObject; | ||
|
||
/** | ||
* {@link LDNMessageEntity} implementation for the {@link IndexableObject} | ||
* | ||
* @author Stefano Maffei at 4science.com | ||
*/ | ||
public class IndexableLDNNotification extends AbstractIndexableObject<LDNMessageEntity, String> { | ||
|
||
private LDNMessageEntity ldnMessage; | ||
public static final String TYPE = LDNMessageEntity.class.getSimpleName(); | ||
|
||
public IndexableLDNNotification(LDNMessageEntity ldnMessage) { | ||
super(); | ||
this.ldnMessage = ldnMessage; | ||
} | ||
|
||
@Override | ||
public String getType() { | ||
return getTypeText(); | ||
} | ||
|
||
@Override | ||
public String getID() { | ||
return ldnMessage.getID(); | ||
} | ||
|
||
@Override | ||
public LDNMessageEntity getIndexedObject() { | ||
return ldnMessage; | ||
} | ||
|
||
@Override | ||
public void setIndexedObject(LDNMessageEntity object) { | ||
this.ldnMessage = object; | ||
} | ||
|
||
@Override | ||
public String getTypeText() { | ||
return TYPE; | ||
} | ||
|
||
} |
Oops, something went wrong.