public interface TrustedApplicationStore
TrustedApplicationData
Modifier and Type | Interface and Description |
---|---|
static class |
TrustedApplicationStore.Fields |
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(long id)
Deletes the
TrustedApplicationData with the specified ID. |
boolean |
delete(String applicationId)
Deletes the
TrustedApplicationData with the specified application ID. |
Set<com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData> |
getAll()
Find all
TrustedApplicationData objects in the database. |
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData |
getByApplicationId(String applicationId)
Find a
TrustedApplicationData given an application ID. |
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData |
getById(long id)
Find a
TrustedApplicationData given an ID. |
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData |
store(com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData trustedApplicationData)
Persist a
TrustedApplicationData |
static final String ENTITY_NAME
com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData store(com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData trustedApplicationData)
TrustedApplicationData
trustedApplicationData
- the thing to save (create or update). Must not be null.com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData getByApplicationId(String applicationId)
TrustedApplicationData
given an application ID.applicationId
- the id of the applicationTrustedApplicationData
if found, null otherwise.com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData getById(long id)
TrustedApplicationData
given an ID.id
- the id of the applicationTrustedApplicationData
if found, null otherwise.Set<com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData> getAll()
TrustedApplicationData
objects in the database.TrustedApplicationData
in the database. Empty (not null) if none exist.boolean delete(long id)
TrustedApplicationData
with the specified ID.id
- the id of the application to deleteboolean delete(String applicationId)
TrustedApplicationData
with the specified application ID.applicationId
- the id of the application to deleteCopyright © 2002-2021 Atlassian. All Rights Reserved.