Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add javadoc to OperationTemplateEntity#placeholder #603

Merged
merged 2 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add javadoc to OperationTemplateEntity#placeholder
  • Loading branch information
banterCZ committed Jan 10, 2023
commit 94fd7dd6a9bb3c2feae6409211bb1774632e11f6
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
@Repository
public interface OperationTemplateRepository extends CrudRepository<OperationTemplateEntity, Long> {

/**
* Find an operation template by the given language and operation type.
*
* @param language language
* @param placeholder operation type
* @return operation template or empty
*/
Optional<OperationTemplateEntity> findFirstByLanguageAndPlaceholder(String language, String placeholder);

}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public class OperationTemplateEntity implements Serializable {
@Column(name = "id", nullable = false)
private Long id;

/**
* Operation type of operation at PowerAuth server.
*/
@Column(name = "placeholder", nullable = false)
private String placeholder;

Expand Down