|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.auth.trustedapps.DefaultTrustedApplicationStore
public class DefaultTrustedApplicationStore
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.security.auth.trustedapps.TrustedApplicationStore |
---|
TrustedApplicationStore.Fields |
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.security.auth.trustedapps.TrustedApplicationStore |
---|
ENTITY_NAME |
Constructor Summary | |
---|---|
DefaultTrustedApplicationStore(OfBizDelegator ofBizDelegator)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTrustedApplicationStore(OfBizDelegator ofBizDelegator)
Method Detail |
---|
public com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData getById(long id)
TrustedApplicationStore
TrustedApplicationData
given an ID.
getById
in interface TrustedApplicationStore
id
- the id of the application
TrustedApplicationData
if found, null otherwise.public com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData getByApplicationId(String applicationId)
TrustedApplicationStore
TrustedApplicationData
given an application ID.
getByApplicationId
in interface TrustedApplicationStore
applicationId
- the id of the application
TrustedApplicationData
if found, null otherwise.public Set<com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData> getAll()
TrustedApplicationStore
TrustedApplicationData
objects in the database.
getAll
in interface TrustedApplicationStore
TrustedApplicationData
in the database. Empty (not null) if none exist.public com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData store(com.atlassian.jira.security.auth.trustedapps.TrustedApplicationData trustedApplicationData)
TrustedApplicationStore
TrustedApplicationData
store
in interface TrustedApplicationStore
trustedApplicationData
- the thing to save (create or update). Must not be null.
public boolean delete(long id)
TrustedApplicationStore
TrustedApplicationData
with the specified ID.
delete
in interface TrustedApplicationStore
id
- the id of the application to delete
public boolean delete(String applicationId)
TrustedApplicationStore
TrustedApplicationData
with the specified application ID.
delete
in interface TrustedApplicationStore
applicationId
- the id of the application to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |