mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-10-30 23:10:48 +00:00 
			
		
		
		
	操作メソッド実装
This commit is contained in:
		
							parent
							
								
									950e0fe2dc
								
							
						
					
					
						commit
						0dad6d30d4
					
				| @ -229,7 +229,15 @@ public class LacertaLibraryImpl implements LacertaLibrary { | |||||||
| 
 | 
 | ||||||
|     @Override |     @Override | ||||||
|     public CompletableFuture<ArrayList<DocumentTag>> getTagList() { |     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 |     @Override | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user