Class NtsNoteHelper
- java.lang.Object
-
- org.nentangso.core.service.helper.NtsNoteHelper
-
@ConditionalOnProperty(prefix="nts.helper.note", name="enabled", havingValue="true") @Service public class NtsNoteHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description NtsNoteHelper(NtsNoteRepository noteRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Long,String>findAllNoteById(Collection<@NotNull @Min(1L) Long> ids)Optional<String>findNoteById(@NotNull @Min(1L) Long id)Optional<NtsNoteEntity>save(String note, Long id)Optional<NtsNoteEntity>save(String note, NtsNoteEntity noteEntity)
-
-
-
Constructor Detail
-
NtsNoteHelper
public NtsNoteHelper(NtsNoteRepository noteRepository)
-
-
Method Detail
-
findAllNoteById
public Map<Long,String> findAllNoteById(Collection<@NotNull @Min(1L) Long> ids)
-
save
public Optional<NtsNoteEntity> save(String note, Long id)
-
save
public Optional<NtsNoteEntity> save(String note, NtsNoteEntity noteEntity)
-
-