public interface TrustedApplicationManager
TrustedApplicationInfo
Modifier and Type | Method and Description |
---|---|
boolean |
delete(ApplicationUser user,
long id)
Deletes the
TrustedApplicationInfo with the specified ID. |
boolean |
delete(ApplicationUser user,
String applicationId)
Deletes the
TrustedApplicationInfo with the specified application ID. |
TrustedApplicationInfo |
get(long id)
Find a
TrustedApplicationInfo given an ID. |
TrustedApplicationInfo |
get(String applicationId)
Find a
TrustedApplicationInfo given an application ID. |
Set<TrustedApplicationInfo> |
getAll()
Find all
TrustedApplicationInfo objects in the system. |
TrustedApplicationInfo |
store(ApplicationUser user,
TrustedApplicationInfo info)
Persist a
TrustedApplicationInfo |
TrustedApplicationInfo |
store(String user,
TrustedApplicationInfo info)
Persist a
TrustedApplicationInfo |
Set<TrustedApplicationInfo> getAll()
TrustedApplicationInfo
objects in the system.TrustedApplicationInfo
. Empty (not null) if none exist.TrustedApplicationInfo get(String applicationId)
TrustedApplicationInfo
given an application ID.applicationId
- the id of the applicationTrustedApplicationInfo
if found, null otherwise.TrustedApplicationInfo get(long id)
TrustedApplicationInfo
given an ID.id
- the id of the applicationTrustedApplicationInfo
if found, null otherwise.boolean delete(ApplicationUser user, long id)
TrustedApplicationInfo
with the specified ID.user
- the user who is performing the deleteid
- the id of the application to deleteboolean delete(ApplicationUser user, String applicationId)
TrustedApplicationInfo
with the specified application ID.user
- the user who is performing the deleteapplicationId
- the id of the application to deleteTrustedApplicationInfo store(ApplicationUser user, TrustedApplicationInfo info)
TrustedApplicationInfo
user
- the user who is performing the storeinfo
- the thing to save (create or update). Must not be null.TrustedApplicationInfo store(String user, TrustedApplicationInfo info)
TrustedApplicationInfo
user
- the user who is performing the storeinfo
- the thing to save (create or update). Must not be null.Copyright © 2002-2015 Atlassian. All Rights Reserved.