|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustedApplicationManager
Manager for handling TrustedApplicationInfo
Method Summary | |
---|---|
boolean |
delete(com.atlassian.crowd.embedded.api.User user,
long id)
Deletes the TrustedApplicationInfo with the specified ID. |
boolean |
delete(com.atlassian.crowd.embedded.api.User 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(String user,
TrustedApplicationInfo info)
Persist a TrustedApplicationInfo |
TrustedApplicationInfo |
store(com.atlassian.crowd.embedded.api.User user,
TrustedApplicationInfo info)
Persist a TrustedApplicationInfo |
Method Detail |
---|
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 application
TrustedApplicationInfo
if found, null otherwise.TrustedApplicationInfo get(long id)
TrustedApplicationInfo
given an ID.
id
- the id of the application
TrustedApplicationInfo
if found, null otherwise.boolean delete(com.atlassian.crowd.embedded.api.User user, long id)
TrustedApplicationInfo
with the specified ID.
user
- the user who is performing the deleteid
- the id of the application to delete
boolean delete(com.atlassian.crowd.embedded.api.User user, String applicationId)
TrustedApplicationInfo
with the specified application ID.
user
- the user who is performing the deleteapplicationId
- the id of the application to delete
TrustedApplicationInfo store(com.atlassian.crowd.embedded.api.User 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |