mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	操作メソッド実装
This commit is contained in:
		
							parent
							
								
									950e0fe2dc
								
							
						
					
					
						commit
						0dad6d30d4
					
				|  | @ -229,7 +229,15 @@ public class LacertaLibraryImpl implements LacertaLibrary { | |||
| 
 | ||||
|     @Override | ||||
|     public CompletableFuture<ArrayList<DocumentTag>> getTagList() { | ||||
|         return null; | ||||
|         return CompletableFuture.supplyAsync(() -> { | ||||
|             List<TagEntity> tagEntities = database.tagDao().findAll(); | ||||
|             logger.debug("LacertaLibraryImpl", "Database Query: Get TagEntity List (Size: " + tagEntities.size() + ")"); | ||||
|             ArrayList<DocumentTag> documentTags = new ArrayList<>(); | ||||
|             for (TagEntity tagEntity : tagEntities) { | ||||
|                 documentTags.add(convertTagEntityToDocumentTag(tagEntity)); | ||||
|             } | ||||
|             return documentTags; | ||||
|         }); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user