|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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. |
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 |
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<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 delete
boolean delete(String applicationId)
TrustedApplicationData
with the specified application ID.
applicationId
- the id of the application to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |