|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SignatureDao
| Method Summary | |
|---|---|
void |
deleteSignature(Signature signature)
Deletes a Signature permanently |
Signature |
getLatestSignatureForUserAndScopeRef(java.lang.Integer userId,
java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Gets the latest Signature(by DomainObjectSupport.getCreatedDate()) for a given scope/ref and user. |
java.util.Collection<Signature> |
getLatestSignaturesForUsersAndScopeRef(java.util.List<java.lang.Integer> userIds,
java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Obtains the latest Signature (by DomainObjectSupport.getCreatedDate()) for each user for the given scope
and ref. |
java.util.List<Signature> |
getSignaturesForScopeRef(java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Gets Signatures for a given scope/ref |
Signature |
saveSignature(Signature signature)
Persists a Signature. |
| Method Detail |
|---|
java.util.List<Signature> getSignaturesForScopeRef(java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Signatures for a given scope/ref
scopeId - scope of the objectrefId - refId of the objectincludeRevoked - Whether or not to include revoked signatures (see Signature.getIsRevoked())
Signatures for the given object
Signature getLatestSignatureForUserAndScopeRef(java.lang.Integer userId,
java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Signature(by DomainObjectSupport.getCreatedDate()) for a given scope/ref and user. Returns
null if not found
scopeId - scope of the objectrefId - refId of the objectincludeRevoked - Whether or not to include revoked signatures (see Signature.getIsRevoked())
Signatures for the given object
java.util.Collection<Signature> getLatestSignaturesForUsersAndScopeRef(java.util.List<java.lang.Integer> userIds,
java.lang.Integer scopeId,
java.lang.Integer refId,
boolean includeRevoked)
Signature (by DomainObjectSupport.getCreatedDate()) for each user for the given scope
and ref. Users that have no matching Signature will not be associated with any returned Signature
s.
userIds - A List of User idsscopeId - A Scope idrefId - The id of the referenced object determined by the scopeincludeRevoked - Whether revoked Signatures should be returned
Signatures for the given scope signed by a User with one of the given idsSignature saveSignature(Signature signature)
Signature.
signature - The Signature to savevoid deleteSignature(Signature signature)
Signature permanently
signatureId - The Signautre to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||