@Component(value="grantApplicationHashService") public class GrantApplicationHashServiceImpl extends Object implements GrantApplicationHashService
Constructor and Description |
---|
GrantApplicationHashServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
computeAttachmentHash(byte[] attachment)
Computes a hash for an attachment in byte array form.
|
String |
computeGrantFormsHash(String xml)
Computes a hash for a grant application in string form.
|
public GrantApplicationHashServiceImpl()
public String computeGrantFormsHash(String xml)
GrantApplicationHashService
computeGrantFormsHash
in interface GrantApplicationHashService
xml
- the grant application xml. cannot be blankpublic String computeAttachmentHash(byte[] attachment)
GrantApplicationHashService
computeAttachmentHash
in interface GrantApplicationHashService
attachment
- the attachment. cannot be null or emptyCopyright © 2014 The Kuali Foundation. All rights reserved.