just formatted the code
This commit is contained in:
parent
20b1a373b3
commit
5862cdc016
|
@ -11,7 +11,6 @@ import org.gcube.datacatalogue.utillibrary.shared.jackan.model.CkanGroup;
|
|||
import org.gcube.datacatalogue.utillibrary.shared.jackan.model.CkanLicense;
|
||||
import org.gcube.datacatalogue.utillibrary.shared.jackan.model.CkanOrganization;
|
||||
|
||||
|
||||
/**
|
||||
* The Interface DataCatalogue.
|
||||
*
|
||||
|
@ -263,7 +262,6 @@ public interface DataCatalogue {
|
|||
*/
|
||||
boolean isNotificationToUsersEnabled();
|
||||
|
||||
|
||||
/**
|
||||
* ***************************************************************************
|
||||
*
|
||||
|
@ -326,21 +324,6 @@ public interface DataCatalogue {
|
|||
List<ResourceBean> resources, boolean setPublic, boolean setSearchable, boolean socialPost)
|
||||
throws Exception;
|
||||
|
||||
// /**
|
||||
// * Patch a product with product id productId by using the couples in
|
||||
// * customFieldsToChange. NOTE: only the specified custom fields will be changed.
|
||||
// * If a custom field with a given key already exists, and removeOld is set to
|
||||
// * false, the new values are added at the end of the list. Otherwise they are
|
||||
// * lost.
|
||||
// *
|
||||
// * @param productId the product id
|
||||
// * @param customFieldsToChange the custom fields to change
|
||||
// * @param removeOld the remove old
|
||||
// * @return true, if successful
|
||||
// */
|
||||
// boolean patchProductCustomFields(String productId, Map<String, List<String>> customFieldsToChange,
|
||||
// boolean removeOld);
|
||||
|
||||
/**
|
||||
* Add a resource described by the bean to the dataset id into
|
||||
* resource.datasetId
|
||||
|
@ -401,11 +384,12 @@ public interface DataCatalogue {
|
|||
*/
|
||||
boolean assignDatasetToGroup(String groupNameOrId, String datasetNameOrId);
|
||||
|
||||
|
||||
/**
|
||||
* Patch a product with product id productId by using the couples in customFieldsToChange.
|
||||
* NOTE: only the specified custom fields will be changed. If a custom field with a given key
|
||||
* already exists, and removeOld is set to false, the new values are added at the end of the list. Otherwise they are lost.
|
||||
* Patch a product with product id productId by using the couples in
|
||||
* customFieldsToChange. NOTE: only the specified custom fields will be changed.
|
||||
* If a custom field with a given key already exists, and removeOld is set to
|
||||
* false, the new values are added at the end of the list. Otherwise they are
|
||||
* lost.
|
||||
*
|
||||
* @param productId the product id
|
||||
* @param username the username
|
||||
|
@ -416,6 +400,20 @@ public interface DataCatalogue {
|
|||
boolean patchProductCustomFields(String productId, String username, Map<String, List<String>> customFieldsToChange,
|
||||
boolean removeOld);
|
||||
|
||||
/**
|
||||
* Patch a product with product id productId by using the couples in
|
||||
* customFieldsToChange. NOTE: only the specified custom fields will be changed.
|
||||
* If a custom field with a given key already exists, and removeOld is set to
|
||||
* false, the new values are added at the end of the list. Otherwise they are
|
||||
* lost.
|
||||
*
|
||||
* @param productId the product id
|
||||
* @param customFieldsToChange the custom fields to change
|
||||
* @param removeOld the remove old
|
||||
* @return true, if successful
|
||||
*/
|
||||
// boolean patchProductCustomFields(String productId, Map<String, List<String>> customFieldsToChange,
|
||||
// boolean removeOld);
|
||||
|
||||
/**
|
||||
* ********************************************************************************
|
||||
|
@ -441,6 +439,4 @@ public interface DataCatalogue {
|
|||
*/
|
||||
void assignRolesOtherOrganization(String username, String sourceOrganization, RolesCkanGroupOrOrg currentRole);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue