|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustedApplicationStore
Persistent store for TrustedApplicationData
Nested Class Summary | |
---|---|
static class |
TrustedApplicationStore.Fields
|
Field Summary | |
---|---|
static String |
ENTITY_NAME
|
Method Summary | |
---|---|
boolean |
delete(long id)
Deletes the TrustedApplicationData with the specified ID. |
Set |
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 |
Field Detail |
---|
static final String ENTITY_NAME
Method Detail |
---|
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 application
TrustedApplicationData
if found, null otherwise.com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData getById(long id)
TrustedApplicationData
given an ID.
id
- the id of the application
TrustedApplicationData
if found, null otherwise.Set 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 delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |