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