This commit is contained in:
+3
-1
@@ -11,7 +11,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Artist;
|
import de.thpeetz.kontor.data.comics.Artist;
|
||||||
|
import de.thpeetz.kontor.views.comics.ArtistForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.ArtistView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class ArtistViewTest {
|
class ArtistViewTest {
|
||||||
|
|||||||
+2
-1
@@ -8,7 +8,8 @@ import org.junit.jupiter.api.BeforeEach;
|
|||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Artist;
|
import de.thpeetz.kontor.data.comics.Artist;
|
||||||
|
import de.thpeetz.kontor.views.comics.ArtistForm;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class ArtistformTest {
|
class ArtistformTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Comic;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.views.comics.ComicForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.ComicView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
public class ComicViewTest {
|
public class ComicViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.ComicWork;
|
import de.thpeetz.kontor.data.comics.ComicWork;
|
||||||
|
import de.thpeetz.kontor.views.comics.ComicWorkForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.ComicWorkView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class ComicWorkViewTest {
|
class ComicWorkViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Issue;
|
import de.thpeetz.kontor.data.comics.Issue;
|
||||||
|
import de.thpeetz.kontor.views.comics.IssueForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.IssueView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
public class IssueViewTest {
|
public class IssueViewTest {
|
||||||
|
|||||||
+3
-1
@@ -11,7 +11,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Publisher;
|
import de.thpeetz.kontor.data.comics.Publisher;
|
||||||
|
import de.thpeetz.kontor.views.comics.PublisherForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.PublisherView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class PublisherViewTest {
|
class PublisherViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.StoryArc;
|
import de.thpeetz.kontor.data.comics.StoryArc;
|
||||||
|
import de.thpeetz.kontor.views.comics.StoryArcForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.StoryArcView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class StoryArcViewTest {
|
class StoryArcViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.TradePaperback;
|
import de.thpeetz.kontor.data.comics.TradePaperback;
|
||||||
|
import de.thpeetz.kontor.views.comics.TradePaperBackForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.TradePaperbackView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class TradePaperbackViewTest {
|
class TradePaperbackViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Volume;
|
import de.thpeetz.kontor.data.comics.Volume;
|
||||||
|
import de.thpeetz.kontor.views.comics.VolumeForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.VolumeView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class VolumeViewTest {
|
class VolumeViewTest {
|
||||||
|
|||||||
+3
-1
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Worktype;
|
import de.thpeetz.kontor.data.comics.Worktype;
|
||||||
|
import de.thpeetz.kontor.views.comics.WorktypeForm;
|
||||||
|
import de.thpeetz.kontor.views.comics.WorktypeView;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
|||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.CardSet;
|
import de.thpeetz.kontor.data.tysc.CardSet;
|
||||||
|
import de.thpeetz.kontor.views.tysc.CardSetForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.CardSetView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class CardSetViewTest {
|
class CardSetViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Card;
|
import de.thpeetz.kontor.data.tysc.Card;
|
||||||
|
import de.thpeetz.kontor.views.tysc.CardForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.CardView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class CardViewTest {
|
class CardViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.FieldPosition;
|
import de.thpeetz.kontor.data.tysc.FieldPosition;
|
||||||
|
import de.thpeetz.kontor.views.tysc.PositionForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.PositionView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class FieldPositionViewTest {
|
class FieldPositionViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Player;
|
import de.thpeetz.kontor.data.tysc.Player;
|
||||||
|
import de.thpeetz.kontor.views.tysc.PlayerForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.PlayerView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class PlayerViewTest {
|
class PlayerViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Rooster;
|
import de.thpeetz.kontor.data.tysc.Rooster;
|
||||||
|
import de.thpeetz.kontor.views.tysc.RoosterForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.RoosterView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class RoosterViewTest {
|
class RoosterViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Sport;
|
import de.thpeetz.kontor.data.tysc.Sport;
|
||||||
|
import de.thpeetz.kontor.views.tysc.SportForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.SportView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class SportViewTest {
|
class SportViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Team;
|
import de.thpeetz.kontor.data.tysc.Team;
|
||||||
|
import de.thpeetz.kontor.views.tysc.TeamForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.TeamView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class TeamViewTest {
|
class TeamViewTest {
|
||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.tysc.views;
|
package de.thpeetz.kontor.views.tysc;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
@@ -13,7 +13,9 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
|
|
||||||
import com.vaadin.flow.component.grid.Grid;
|
import com.vaadin.flow.component.grid.Grid;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Vendor;
|
import de.thpeetz.kontor.data.tysc.Vendor;
|
||||||
|
import de.thpeetz.kontor.views.tysc.VendorForm;
|
||||||
|
import de.thpeetz.kontor.views.tysc.VendorView;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class VendorViewTest {
|
class VendorViewTest {
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
package de.thpeetz.kontor.bookshelf;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.context.ApplicationListener;
|
|
||||||
import org.springframework.context.event.ContextRefreshedEvent;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import de.thpeetz.kontor.bookshelf.data.ArticleAuthorRepository;
|
|
||||||
import de.thpeetz.kontor.bookshelf.data.AuthorRepository;
|
|
||||||
import de.thpeetz.kontor.bookshelf.data.BookAuthorRepository;
|
|
||||||
import de.thpeetz.kontor.bookshelf.data.BookRepository;
|
|
||||||
import de.thpeetz.kontor.bookshelf.data.BookshelfPublisherRepository;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
|
|
||||||
@Slf4j
|
|
||||||
@Component
|
|
||||||
public class SetupModuleBookshelf implements ApplicationListener<ContextRefreshedEvent> {
|
|
||||||
|
|
||||||
boolean alreadySetup = false;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private BookshelfPublisherRepository publisherRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private AuthorRepository authorRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ArticleAuthorRepository articleAuthorRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private BookRepository bookRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private BookAuthorRepository bookAuthorRepository;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onApplicationEvent(ContextRefreshedEvent event) {
|
|
||||||
if (alreadySetup) {
|
|
||||||
log.info("SetupModuleBookshelf already executed, skipping");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
log.info("Set up Bookshelf data");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
package de.thpeetz.kontor.comics;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.context.ApplicationListener;
|
|
||||||
import org.springframework.context.event.ContextRefreshedEvent;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.repository.ArtistRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.ComicRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.ComicWorkRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.IssueRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.PublisherRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.StoryArcRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.TradePaperbackRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.VolumeRepository;
|
|
||||||
import de.thpeetz.kontor.comics.repository.WorktypeRepository;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
|
|
||||||
@Slf4j
|
|
||||||
@Component
|
|
||||||
public class SetupModuleComics implements ApplicationListener<ContextRefreshedEvent> {
|
|
||||||
|
|
||||||
boolean alreadySetup = false;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private PublisherRepository publisherRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ArtistRepository artistRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private WorktypeRepository worktypeRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ComicRepository comicRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ComicWorkRepository comicWorkRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private StoryArcRepository storyArcRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private TradePaperbackRepository tradePaperbackRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IssueRepository issueRepository;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private VolumeRepository volumeRepository;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onApplicationEvent(ContextRefreshedEvent event) {
|
|
||||||
if (alreadySetup) {
|
|
||||||
log.info("SetupModuleComics already executed, skipping");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
log.info("Set up Comics data");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+8
-9
@@ -1,16 +1,15 @@
|
|||||||
package de.thpeetz.kontor.admin;
|
package de.thpeetz.kontor.constants;
|
||||||
|
|
||||||
import com.vaadin.flow.component.icon.VaadinIcon;
|
import com.vaadin.flow.component.icon.VaadinIcon;
|
||||||
import com.vaadin.flow.component.sidenav.SideNavItem;
|
import com.vaadin.flow.component.sidenav.SideNavItem;
|
||||||
import com.vaadin.flow.router.RouterLink;
|
import com.vaadin.flow.router.RouterLink;
|
||||||
import de.thpeetz.kontor.admin.views.AssignmentView;
|
|
||||||
import de.thpeetz.kontor.admin.views.PermissionView;
|
import de.thpeetz.kontor.views.admin.AssignmentView;
|
||||||
import de.thpeetz.kontor.admin.views.ProfileView;
|
import de.thpeetz.kontor.views.admin.PermissionView;
|
||||||
import de.thpeetz.kontor.comics.ComicConstants;
|
import de.thpeetz.kontor.views.admin.ProfileView;
|
||||||
import de.thpeetz.kontor.comics.views.ComicWorkView;
|
import de.thpeetz.kontor.views.comics.ComicWorkView;
|
||||||
import de.thpeetz.kontor.comics.views.IssueWorkView;
|
import de.thpeetz.kontor.views.comics.IssueWorkView;
|
||||||
import de.thpeetz.kontor.media.MediaConstants;
|
import de.thpeetz.kontor.views.media.MediaActorFileView;
|
||||||
import de.thpeetz.kontor.media.views.MediaActorFileView;
|
|
||||||
|
|
||||||
public class AdminConstants {
|
public class AdminConstants {
|
||||||
|
|
||||||
+5
-5
@@ -1,13 +1,13 @@
|
|||||||
package de.thpeetz.kontor.bookshelf;
|
package de.thpeetz.kontor.constants;
|
||||||
|
|
||||||
import com.vaadin.flow.component.icon.VaadinIcon;
|
import com.vaadin.flow.component.icon.VaadinIcon;
|
||||||
import com.vaadin.flow.component.sidenav.SideNavItem;
|
import com.vaadin.flow.component.sidenav.SideNavItem;
|
||||||
import com.vaadin.flow.router.RouterLink;
|
import com.vaadin.flow.router.RouterLink;
|
||||||
|
|
||||||
import de.thpeetz.kontor.bookshelf.views.ArticleView;
|
import de.thpeetz.kontor.views.bookshelf.ArticleView;
|
||||||
import de.thpeetz.kontor.bookshelf.views.AuthorView;
|
import de.thpeetz.kontor.views.bookshelf.AuthorView;
|
||||||
import de.thpeetz.kontor.bookshelf.views.BookView;
|
import de.thpeetz.kontor.views.bookshelf.BookView;
|
||||||
import de.thpeetz.kontor.bookshelf.views.BookshelfPublisherView;
|
import de.thpeetz.kontor.views.bookshelf.BookshelfPublisherView;
|
||||||
|
|
||||||
public class BookshelfConstants {
|
public class BookshelfConstants {
|
||||||
|
|
||||||
+11
-11
@@ -1,20 +1,20 @@
|
|||||||
package de.thpeetz.kontor.comics;
|
package de.thpeetz.kontor.constants;
|
||||||
|
|
||||||
import com.vaadin.flow.component.Component;
|
import com.vaadin.flow.component.Component;
|
||||||
import com.vaadin.flow.component.icon.VaadinIcon;
|
import com.vaadin.flow.component.icon.VaadinIcon;
|
||||||
import com.vaadin.flow.component.sidenav.SideNavItem;
|
import com.vaadin.flow.component.sidenav.SideNavItem;
|
||||||
import com.vaadin.flow.router.RouterLink;
|
import com.vaadin.flow.router.RouterLink;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.views.ArtistView;
|
import de.thpeetz.kontor.views.comics.ArtistView;
|
||||||
import de.thpeetz.kontor.comics.views.ComicView;
|
import de.thpeetz.kontor.views.comics.ComicView;
|
||||||
import de.thpeetz.kontor.comics.views.ComicWorkView;
|
import de.thpeetz.kontor.views.comics.ComicWorkView;
|
||||||
import de.thpeetz.kontor.comics.views.IssueView;
|
import de.thpeetz.kontor.views.comics.IssueView;
|
||||||
import de.thpeetz.kontor.comics.views.IssueWorkView;
|
import de.thpeetz.kontor.views.comics.IssueWorkView;
|
||||||
import de.thpeetz.kontor.comics.views.PublisherView;
|
import de.thpeetz.kontor.views.comics.PublisherView;
|
||||||
import de.thpeetz.kontor.comics.views.StoryArcView;
|
import de.thpeetz.kontor.views.comics.StoryArcView;
|
||||||
import de.thpeetz.kontor.comics.views.TradePaperbackView;
|
import de.thpeetz.kontor.views.comics.TradePaperbackView;
|
||||||
import de.thpeetz.kontor.comics.views.VolumeView;
|
import de.thpeetz.kontor.views.comics.VolumeView;
|
||||||
import de.thpeetz.kontor.comics.views.WorktypeView;
|
import de.thpeetz.kontor.views.comics.WorktypeView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@code ComicConstants} class contains constant values related to comics.
|
* The {@code ComicConstants} class contains constant values related to comics.
|
||||||
+6
-5
@@ -1,11 +1,12 @@
|
|||||||
package de.thpeetz.kontor.media;
|
package de.thpeetz.kontor.constants;
|
||||||
|
|
||||||
import com.vaadin.flow.component.icon.VaadinIcon;
|
import com.vaadin.flow.component.icon.VaadinIcon;
|
||||||
import com.vaadin.flow.component.sidenav.SideNavItem;
|
import com.vaadin.flow.component.sidenav.SideNavItem;
|
||||||
import de.thpeetz.kontor.media.views.MediaActorView;
|
|
||||||
import de.thpeetz.kontor.media.views.MediaArticleView;
|
import de.thpeetz.kontor.views.media.MediaActorView;
|
||||||
import de.thpeetz.kontor.media.views.MediaFileView;
|
import de.thpeetz.kontor.views.media.MediaArticleView;
|
||||||
import de.thpeetz.kontor.media.views.MediaVideoView;
|
import de.thpeetz.kontor.views.media.MediaFileView;
|
||||||
|
import de.thpeetz.kontor.views.media.MediaVideoView;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
+9
-9
@@ -1,17 +1,17 @@
|
|||||||
package de.thpeetz.kontor.tysc;
|
package de.thpeetz.kontor.constants;
|
||||||
|
|
||||||
import com.vaadin.flow.component.icon.VaadinIcon;
|
import com.vaadin.flow.component.icon.VaadinIcon;
|
||||||
import com.vaadin.flow.component.sidenav.SideNavItem;
|
import com.vaadin.flow.component.sidenav.SideNavItem;
|
||||||
import com.vaadin.flow.router.RouterLink;
|
import com.vaadin.flow.router.RouterLink;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.views.CardSetView;
|
import de.thpeetz.kontor.views.tysc.CardSetView;
|
||||||
import de.thpeetz.kontor.tysc.views.CardView;
|
import de.thpeetz.kontor.views.tysc.CardView;
|
||||||
import de.thpeetz.kontor.tysc.views.PlayerView;
|
import de.thpeetz.kontor.views.tysc.PlayerView;
|
||||||
import de.thpeetz.kontor.tysc.views.PositionView;
|
import de.thpeetz.kontor.views.tysc.PositionView;
|
||||||
import de.thpeetz.kontor.tysc.views.RoosterView;
|
import de.thpeetz.kontor.views.tysc.RoosterView;
|
||||||
import de.thpeetz.kontor.tysc.views.SportView;
|
import de.thpeetz.kontor.views.tysc.SportView;
|
||||||
import de.thpeetz.kontor.tysc.views.TeamView;
|
import de.thpeetz.kontor.views.tysc.TeamView;
|
||||||
import de.thpeetz.kontor.tysc.views.VendorView;
|
import de.thpeetz.kontor.views.tysc.VendorView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@code TyscConstants} class contains constant values related to tysc.
|
* The {@code TyscConstants} class contains constant values related to tysc.
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.admin.data;
|
package de.thpeetz.kontor.data.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
import jakarta.persistence.ManyToOne;
|
import jakarta.persistence.ManyToOne;
|
||||||
+4
-2
@@ -1,6 +1,5 @@
|
|||||||
package de.thpeetz.kontor.admin.data;
|
package de.thpeetz.kontor.data.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
import jakarta.persistence.OneToMany;
|
import jakarta.persistence.OneToMany;
|
||||||
@@ -11,6 +10,9 @@ import lombok.ToString;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
+4
-2
@@ -1,6 +1,5 @@
|
|||||||
package de.thpeetz.kontor.admin.data;
|
package de.thpeetz.kontor.data.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -9,6 +8,9 @@ import lombok.ToString;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
+3
-2
@@ -1,6 +1,5 @@
|
|||||||
package de.thpeetz.kontor.admin.data;
|
package de.thpeetz.kontor.data.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
@@ -14,6 +13,8 @@ import lombok.ToString;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.data.bookshelf;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import io.micrometer.common.lang.Nullable;
|
import io.micrometer.common.lang.Nullable;
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Column;
|
import jakarta.persistence.Column;
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Column;
|
import jakarta.persistence.Column;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.*;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import io.hypersistence.utils.hibernate.type.basic.YearMonthDateType;
|
import io.hypersistence.utils.hibernate.type.basic.YearMonthDateType;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+3
-2
@@ -1,11 +1,12 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
import jakarta.persistence.ManyToOne;
|
import jakarta.persistence.ManyToOne;
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.*;
|
import jakarta.annotation.*;
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.data;
|
package de.thpeetz.kontor.data.comics;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import io.micrometer.common.lang.Nullable;
|
import io.micrometer.common.lang.Nullable;
|
||||||
import jakarta.persistence.CascadeType;
|
import jakarta.persistence.CascadeType;
|
||||||
import jakarta.persistence.Column;
|
import jakarta.persistence.Column;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.common.data;
|
package de.thpeetz.kontor.data.common;
|
||||||
|
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.common.data;
|
package de.thpeetz.kontor.data.common;
|
||||||
|
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
+3
-2
@@ -1,12 +1,13 @@
|
|||||||
package de.thpeetz.kontor.mailclient.data;
|
package de.thpeetz.kontor.data.mailclient;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
@Entity
|
@Entity
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.mailclient.data;
|
package de.thpeetz.kontor.data.mailclient;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
+3
-2
@@ -1,6 +1,5 @@
|
|||||||
package de.thpeetz.kontor.media.data;
|
package de.thpeetz.kontor.data.media;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
@@ -12,6 +11,8 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
+2
-4
@@ -1,8 +1,6 @@
|
|||||||
package de.thpeetz.kontor.media.data;
|
package de.thpeetz.kontor.data.media;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.Artist;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import de.thpeetz.kontor.comics.data.Comic;
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
+2
-3
@@ -1,10 +1,9 @@
|
|||||||
package de.thpeetz.kontor.media.data;
|
package de.thpeetz.kontor.data.media;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.OneToOne;
|
|
||||||
import jakarta.persistence.Table;
|
import jakarta.persistence.Table;
|
||||||
import jakarta.persistence.UniqueConstraint;
|
import jakarta.persistence.UniqueConstraint;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
+3
-2
@@ -1,6 +1,5 @@
|
|||||||
package de.thpeetz.kontor.media.data;
|
package de.thpeetz.kontor.data.media;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
@@ -11,6 +10,8 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.media.data;
|
package de.thpeetz.kontor.data.media;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Table;
|
import jakarta.persistence.Table;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Index;
|
import jakarta.persistence.Index;
|
||||||
import jakarta.persistence.JoinColumn;
|
import jakarta.persistence.JoinColumn;
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Column;
|
import jakarta.persistence.Column;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.tysc.data;
|
package de.thpeetz.kontor.data.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.common.data.AbstractEntity;
|
import de.thpeetz.kontor.data.common.AbstractEntity;
|
||||||
import jakarta.annotation.Nullable;
|
import jakarta.annotation.Nullable;
|
||||||
import jakarta.persistence.Entity;
|
import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.FetchType;
|
import jakarta.persistence.FetchType;
|
||||||
-28
@@ -1,28 +0,0 @@
|
|||||||
package de.thpeetz.kontor.integration.routes;
|
|
||||||
|
|
||||||
import de.thpeetz.kontor.integration.services.AddLinkProcessor;
|
|
||||||
import de.thpeetz.kontor.media.services.MediaFileService;
|
|
||||||
import org.apache.camel.builder.RouteBuilder;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class AddLinkFromQueue extends RouteBuilder {
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private final MediaFileService mediaFileService;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public AddLinkFromQueue(MediaFileService mediaFileService) {
|
|
||||||
this.mediaFileService = mediaFileService;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void configure() throws Exception {
|
|
||||||
from("jms:queue:add_link_file")
|
|
||||||
.routeId("read-queue-add-link_file")
|
|
||||||
.log("${body}")
|
|
||||||
.process(new AddLinkProcessor(mediaFileService))
|
|
||||||
.to("jms:queue:update_title");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+6
-1
@@ -1,9 +1,11 @@
|
|||||||
package de.thpeetz.kontor.integration.routes;
|
package de.thpeetz.kontor.integration.routes;
|
||||||
import de.thpeetz.kontor.media.services.MediaFileService;
|
|
||||||
import org.apache.camel.builder.RouteBuilder;
|
import org.apache.camel.builder.RouteBuilder;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.integration.services.AddLinkProcessor;
|
||||||
|
import de.thpeetz.kontor.services.MediaFileService;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class QueueMediaLinkAdd extends RouteBuilder {
|
public class QueueMediaLinkAdd extends RouteBuilder {
|
||||||
|
|
||||||
@@ -20,6 +22,9 @@ public class QueueMediaLinkAdd extends RouteBuilder {
|
|||||||
from("jms:queue:media.link.add")
|
from("jms:queue:media.link.add")
|
||||||
.routeId("read-queue-media-link-add")
|
.routeId("read-queue-media-link-add")
|
||||||
.log("${body}")
|
.log("${body}")
|
||||||
|
.trace(true)
|
||||||
|
.process(new AddLinkProcessor(mediaFileService))
|
||||||
|
.to("jms:queue:media.link.update_title")
|
||||||
.to("jms:queue:media.link.add.processed");
|
.to("jms:queue:media.link.add.processed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -1,10 +1,11 @@
|
|||||||
package de.thpeetz.kontor.integration.routes;
|
package de.thpeetz.kontor.integration.routes;
|
||||||
|
|
||||||
import org.apache.camel.builder.RouteBuilder;
|
import org.apache.camel.builder.RouteBuilder;
|
||||||
import de.thpeetz.kontor.media.services.MediaFileService;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.services.MediaFileService;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class QueueMediaLoFiAdd extends RouteBuilder {
|
public class QueueMediaLoFiAdd extends RouteBuilder {
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,10 +1,11 @@
|
|||||||
package de.thpeetz.kontor.integration.routes;
|
package de.thpeetz.kontor.integration.routes;
|
||||||
|
|
||||||
import org.apache.camel.builder.RouteBuilder;
|
import org.apache.camel.builder.RouteBuilder;
|
||||||
import de.thpeetz.kontor.media.services.MediaFileService;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.services.MediaFileService;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class QueueMediaVideoAdd extends RouteBuilder {
|
public class QueueMediaVideoAdd extends RouteBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
package de.thpeetz.kontor.integration.routes;
|
|
||||||
|
|
||||||
import org.apache.camel.builder.RouteBuilder;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class ReadQueueRoute extends RouteBuilder {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void configure() throws Exception {
|
|
||||||
from("jms:queue:KontorMediaFile")
|
|
||||||
.routeId("add-link-from-queue")
|
|
||||||
.trace(true)
|
|
||||||
.log(">>> ${body}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+3
-2
@@ -2,8 +2,9 @@ package de.thpeetz.kontor.integration.services;
|
|||||||
|
|
||||||
import com.fasterxml.jackson.core.type.TypeReference;
|
import com.fasterxml.jackson.core.type.TypeReference;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import de.thpeetz.kontor.media.data.MediaFile;
|
|
||||||
import de.thpeetz.kontor.media.services.MediaFileService;
|
import de.thpeetz.kontor.data.media.MediaFile;
|
||||||
|
import de.thpeetz.kontor.services.MediaFileService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.camel.Exchange;
|
import org.apache.camel.Exchange;
|
||||||
import org.apache.camel.Processor;
|
import org.apache.camel.Processor;
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.admin;
|
package de.thpeetz.kontor.properties;
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
|
||||||
+5
-2
@@ -1,6 +1,9 @@
|
|||||||
package de.thpeetz.kontor.admin.repository;
|
package de.thpeetz.kontor.repository.admin;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.admin.Assignment;
|
||||||
|
import de.thpeetz.kontor.data.admin.Permission;
|
||||||
|
import de.thpeetz.kontor.data.admin.Profile;
|
||||||
|
|
||||||
import de.thpeetz.kontor.admin.data.*;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
package de.thpeetz.kontor.admin.repository;
|
package de.thpeetz.kontor.repository.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.mailclient.data.MailAccount;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.mailclient.MailAccount;
|
||||||
|
|
||||||
|
|
||||||
public interface MailAccountRepository extends JpaRepository<MailAccount, String> {
|
public interface MailAccountRepository extends JpaRepository<MailAccount, String> {
|
||||||
}
|
}
|
||||||
+3
-2
@@ -1,10 +1,11 @@
|
|||||||
package de.thpeetz.kontor.admin.repository;
|
package de.thpeetz.kontor.repository.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.admin.data.Permission;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.admin.Permission;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface PermissionRepository extends JpaRepository<Permission, String> {
|
public interface PermissionRepository extends JpaRepository<Permission, String> {
|
||||||
+3
-2
@@ -1,10 +1,11 @@
|
|||||||
package de.thpeetz.kontor.admin.repository;
|
package de.thpeetz.kontor.repository.admin;
|
||||||
|
|
||||||
import de.thpeetz.kontor.admin.data.Profile;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.admin.Profile;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface ProfileRepository extends JpaRepository<Profile, String> {
|
public interface ProfileRepository extends JpaRepository<Profile, String> {
|
||||||
+5
-1
@@ -1,9 +1,13 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Article;
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.ArticleAuthor;
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Author;
|
||||||
|
|
||||||
public interface ArticleAuthorRepository extends JpaRepository<ArticleAuthor, String> {
|
public interface ArticleAuthorRepository extends JpaRepository<ArticleAuthor, String> {
|
||||||
|
|
||||||
List<ArticleAuthor> findByAuthor(Author author);
|
List<ArticleAuthor> findByAuthor(Author author);
|
||||||
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -6,6 +6,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Article;
|
||||||
|
|
||||||
public interface ArticleRepository extends JpaRepository<Article, String> {
|
public interface ArticleRepository extends JpaRepository<Article, String> {
|
||||||
|
|
||||||
@Query("select a from Article a " +
|
@Query("select a from Article a " +
|
||||||
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -6,6 +6,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Author;
|
||||||
|
|
||||||
public interface AuthorRepository extends JpaRepository<Author, String> {
|
public interface AuthorRepository extends JpaRepository<Author, String> {
|
||||||
|
|
||||||
@Query("select a from Author a " +
|
@Query("select a from Author a " +
|
||||||
+5
-1
@@ -1,9 +1,13 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Author;
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Book;
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.BookAuthor;
|
||||||
|
|
||||||
public interface BookAuthorRepository extends JpaRepository<BookAuthor, String> {
|
public interface BookAuthorRepository extends JpaRepository<BookAuthor, String> {
|
||||||
|
|
||||||
List<BookAuthor> findByAuthor(Author author);
|
List<BookAuthor> findByAuthor(Author author);
|
||||||
+3
-1
@@ -1,9 +1,11 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.Book;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface BookRepository extends JpaRepository<Book, String> {
|
public interface BookRepository extends JpaRepository<Book, String> {
|
||||||
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.bookshelf.data;
|
package de.thpeetz.kontor.repository.bookshelf;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -6,6 +6,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.bookshelf.BookshelfPublisher;
|
||||||
|
|
||||||
public interface BookshelfPublisherRepository extends JpaRepository<BookshelfPublisher, String> {
|
public interface BookshelfPublisherRepository extends JpaRepository<BookshelfPublisher, String> {
|
||||||
|
|
||||||
@Query("select p from BookshelfPublisher p " +
|
@Query("select p from BookshelfPublisher p " +
|
||||||
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Artist;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.Publisher;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+6
-2
@@ -1,8 +1,12 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Artist;
|
||||||
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.ComicWork;
|
||||||
|
import de.thpeetz.kontor.data.comics.Worktype;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
|
|
||||||
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.Issue;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+6
-2
@@ -1,6 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.comics.Artist;
|
||||||
|
import de.thpeetz.kontor.data.comics.Issue;
|
||||||
|
import de.thpeetz.kontor.data.comics.IssueWork;
|
||||||
|
import de.thpeetz.kontor.data.comics.Worktype;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
|
||||||
import org.springframework.data.jpa.repository.*;
|
import org.springframework.data.jpa.repository.*;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Publisher;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.StoryArc;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.TradePaperback;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Comic;
|
||||||
|
import de.thpeetz.kontor.data.comics.Volume;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
public interface VolumeRepository extends JpaRepository<Volume, String> {
|
public interface VolumeRepository extends JpaRepository<Volume, String> {
|
||||||
+3
-2
@@ -1,8 +1,9 @@
|
|||||||
package de.thpeetz.kontor.comics.repository;
|
package de.thpeetz.kontor.repository.comics;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.comics.data.*;
|
import de.thpeetz.kontor.data.comics.Worktype;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
package de.thpeetz.kontor.media.repository;
|
package de.thpeetz.kontor.repository.media;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import de.thpeetz.kontor.media.data.MediaActorFile;
|
import de.thpeetz.kontor.data.media.MediaActorFile;
|
||||||
|
|
||||||
public interface MediaActorFileRepository extends JpaRepository<MediaActorFile, String> {
|
public interface MediaActorFileRepository extends JpaRepository<MediaActorFile, String> {
|
||||||
}
|
}
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
package de.thpeetz.kontor.media.repository;
|
package de.thpeetz.kontor.repository.media;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
import de.thpeetz.kontor.media.data.MediaActor;
|
import de.thpeetz.kontor.data.media.MediaActor;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
package de.thpeetz.kontor.media.repository;
|
package de.thpeetz.kontor.repository.media;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
import de.thpeetz.kontor.media.data.MediaArticle;
|
import de.thpeetz.kontor.data.media.MediaArticle;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
package de.thpeetz.kontor.media.repository;
|
package de.thpeetz.kontor.repository.media;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
import de.thpeetz.kontor.media.data.MediaFile;
|
import de.thpeetz.kontor.data.media.MediaFile;
|
||||||
|
|
||||||
public interface MediaFileRepository extends JpaRepository<MediaFile, String> {
|
public interface MediaFileRepository extends JpaRepository<MediaFile, String> {
|
||||||
@Query("select m from MediaFile m " +
|
@Query("select m from MediaFile m " +
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
package de.thpeetz.kontor.media.repository;
|
package de.thpeetz.kontor.repository.media;
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
import de.thpeetz.kontor.media.data.MediaVideo;
|
import de.thpeetz.kontor.data.media.MediaVideo;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
+6
-5
@@ -1,14 +1,15 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Card;
|
|
||||||
import de.thpeetz.kontor.tysc.data.CardSet;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Rooster;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Vendor;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.Card;
|
||||||
|
import de.thpeetz.kontor.data.tysc.CardSet;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Rooster;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Vendor;
|
||||||
|
|
||||||
public interface CardRepository extends JpaRepository<Card, String> {
|
public interface CardRepository extends JpaRepository<Card, String> {
|
||||||
|
|
||||||
@Query("SELECT c FROM Card c WHERE c.vendor = ?1 AND c.cardSet = ?2 and c.rooster = ?3 and c.cardNumber = ?4 and c.year = ?5")
|
@Query("SELECT c FROM Card c WHERE c.vendor = ?1 AND c.cardSet = ?2 and c.rooster = ?3 and c.cardNumber = ?4 and c.year = ?5")
|
||||||
+4
-3
@@ -1,13 +1,14 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.CardSet;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Vendor;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.CardSet;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Vendor;
|
||||||
|
|
||||||
public interface CardSetRepository extends JpaRepository<CardSet, String> {
|
public interface CardSetRepository extends JpaRepository<CardSet, String> {
|
||||||
|
|
||||||
List<CardSet> findByName(String name);
|
List<CardSet> findByName(String name);
|
||||||
+4
-3
@@ -1,13 +1,14 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.FieldPosition;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Sport;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.FieldPosition;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Sport;
|
||||||
|
|
||||||
public interface FieldPositionRepository extends JpaRepository<FieldPosition, String> {
|
public interface FieldPositionRepository extends JpaRepository<FieldPosition, String> {
|
||||||
|
|
||||||
@Query("select p from FieldPosition p " +
|
@Query("select p from FieldPosition p " +
|
||||||
+3
-2
@@ -1,12 +1,13 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Player;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.Player;
|
||||||
|
|
||||||
public interface PlayerRepository extends JpaRepository<Player, String> {
|
public interface PlayerRepository extends JpaRepository<Player, String> {
|
||||||
|
|
||||||
@Query("select p from Player p " +
|
@Query("select p from Player p " +
|
||||||
+6
-5
@@ -1,12 +1,13 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.FieldPosition;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Player;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Rooster;
|
|
||||||
import de.thpeetz.kontor.tysc.data.Team;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.FieldPosition;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Player;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Rooster;
|
||||||
|
import de.thpeetz.kontor.data.tysc.Team;
|
||||||
|
|
||||||
public interface RoosterRepository extends JpaRepository<Rooster, String>{
|
public interface RoosterRepository extends JpaRepository<Rooster, String>{
|
||||||
|
|
||||||
@Query("SELECT r FROM Rooster r WHERE r.player = ?1 AND r.team = ?2 AND r.position = ?3 AND r.year = ?4")
|
@Query("SELECT r FROM Rooster r WHERE r.player = ?1 AND r.team = ?2 AND r.position = ?3 AND r.year = ?4")
|
||||||
+3
-2
@@ -1,12 +1,13 @@
|
|||||||
package de.thpeetz.kontor.tysc.repository;
|
package de.thpeetz.kontor.repository.tysc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.thpeetz.kontor.tysc.data.Sport;
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
||||||
|
|
||||||
|
import de.thpeetz.kontor.data.tysc.Sport;
|
||||||
|
|
||||||
public interface SportRepository extends JpaRepository<Sport, String> {
|
public interface SportRepository extends JpaRepository<Sport, String> {
|
||||||
@Query("select s from Sport s " +
|
@Query("select s from Sport s " +
|
||||||
"where lower(s.name) like lower(concat('%', :searchTerm, '%')) ")
|
"where lower(s.name) like lower(concat('%', :searchTerm, '%')) ")
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user