added messageItem method
This commit is contained in:
parent
a75c866ba4
commit
7b6c66c85a
|
@ -87,6 +87,14 @@ public interface CatalogueContentModeratorSystem {
|
||||||
*/
|
*/
|
||||||
void approveItem(String itemName, String moderatorMessage) throws WebApplicationException, MalformedURLException;
|
void approveItem(String itemName, String moderatorMessage) throws WebApplicationException, MalformedURLException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Message item.
|
||||||
|
*
|
||||||
|
* @param datasetName the dataset name
|
||||||
|
* @param moderatorMessage the moderator message
|
||||||
|
* @throws WebServiceException the web service exception
|
||||||
|
* @throws MalformedURLException the malformed URL exception
|
||||||
|
*/
|
||||||
|
void messageItem(String datasetName, String moderatorMessage) throws WebServiceException, MalformedURLException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,10 +50,11 @@ public class DataCatalogueCMSImpl implements CatalogueContentModeratorSystem {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if is Moderation is enabled in the working scope
|
* Checks if is Moderation is enabled in the working scope.
|
||||||
*
|
*
|
||||||
|
* @param reloadConfig the reload config
|
||||||
* @return true, if is content moderator enabled
|
* @return true, if is content moderator enabled
|
||||||
* @throws MalformedURLException
|
* @throws MalformedURLException the malformed URL exception
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isModerationEnabled(boolean reloadConfig) throws MalformedURLException {
|
public boolean isModerationEnabled(boolean reloadConfig) throws MalformedURLException {
|
||||||
|
@ -75,6 +76,22 @@ public class DataCatalogueCMSImpl implements CatalogueContentModeratorSystem {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Message item.
|
||||||
|
*
|
||||||
|
* @param datasetName the dataset name
|
||||||
|
* @param moderatorMessage the moderator message
|
||||||
|
* @throws WebServiceException the web service exception
|
||||||
|
* @throws MalformedURLException the malformed URL exception
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void messageItem(String datasetName, String moderatorMessage)
|
||||||
|
throws WebServiceException, MalformedURLException {
|
||||||
|
gCatCaller.messageItem(datasetName, moderatorMessage);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reject item.
|
* Reject item.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue