-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implemented CRUD operation for tags. * Implemented tag association to the resource. * Added test for tag management. * Added log messages. * Added DB creation scripts for tag tables. * Added javadoc to tag REST service. * Refactoring. * Added count in get all tags operation result. * Added filtering by tag for the extJS get all operation. * Exposed get all tags operation to anonymous users. * Refactored nameLike path variable handling. * Introduced AssociatedEntityFilter abstraction. * Set distinct in resource count query. * Added null check to nameLike path variable handling. * Refactored nameLike query variable handling. * Added DB migration scripts. * Handled on delete cascade actions on tags. * Implementation for user favorites functionality. * Added favorite only resource search to ExtJS resource list operation. * Renamed deprecated functions in ResourceService. * Added DB migration scripts. * Added favorite information to extJS resource get operations. * Fixed hash calculation for StoredData to avoid stack overflow. * Fixed bug that was removing tag association after updates. * Signalled failing assertion in rest client test. * Fixed tag list serialization when null. * Handled names in filters that contain commas. * Fixes after merging master.
- Loading branch information
Showing
28 changed files
with
908 additions
and
136 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
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
38 changes: 38 additions & 0 deletions
38
src/core/services-api/src/main/java/it/geosolutions/geostore/services/FavoriteService.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,38 @@ | ||
/* | ||
* ==================================================================== | ||
* | ||
* Copyright (C) 2025 GeoSolutions S.A.S. | ||
* http://www.geo-solutions.it | ||
* | ||
* GPLv3 + Classpath exception | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. | ||
* | ||
* ==================================================================== | ||
* | ||
* This software consists of voluntary contributions made by developers | ||
* of GeoSolutions. For more information on GeoSolutions, please see | ||
* <http://www.geo-solutions.it/>. | ||
* | ||
*/ | ||
package it.geosolutions.geostore.services; | ||
|
||
import it.geosolutions.geostore.services.exception.NotFoundServiceEx; | ||
|
||
public interface FavoriteService { | ||
|
||
void addFavorite(long userId, long resourceId) throws NotFoundServiceEx; | ||
|
||
void removeFavorite(long userId, long resourceId) throws NotFoundServiceEx; | ||
} |
Oops, something went wrong.