|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DigitalAssetAuditService
Provide digitalAssetAudit-related business service.
Method Summary | |
---|---|
DigitalAssetAudit |
add(DigitalAssetAudit digitalAssetAudit)
Adds the given digitalAssetAudit. |
DigitalAssetAudit |
addDigitalAssetAudit(java.lang.String ipAddress,
long digitalAssetUid,
long orderSkuUid)
Add an audit record to for digital asset download. |
java.lang.String |
findOrderNumberByOrderSkuID(long orderSkuUid)
Retrieves order number found by the orderSku Uid. |
DigitalAssetAudit |
get(long digitalAssetAuditUid)
Get the digitalAssetAudit with the given UID. |
DigitalAsset |
getDigitalAsset(long orderSkuUid)
Retrieves DigitalAsset . |
OrderSku |
getOrderSku(long orderSkuUid)
Retrieves OrderSku found by the orderSku Uid. |
int |
isValidDADownloadRequest(long digitalAssetUid,
long orderSkuUid)
Check if the asset uid and ordersku uid from download request is a valid download request. |
java.util.List |
list()
Lists all digitalAssetAudits stored in the database. |
DigitalAssetAudit |
load(long digitalAssetAuditUid)
Load the digitalAssetAudit with the given UID. |
void |
remove(DigitalAssetAudit digitalAssetAudit)
Delete the digitalAssetAudit. |
void |
update(DigitalAssetAudit digitalAssetAudit)
Updates the given digitalAssetAudit. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
DigitalAssetAudit add(DigitalAssetAudit digitalAssetAudit) throws EpServiceException
digitalAssetAudit
- the digitalAssetAudit to add
EpServiceException
- - if digitalAssetAudit with the specified name already existsDigitalAssetAudit addDigitalAssetAudit(java.lang.String ipAddress, long digitalAssetUid, long orderSkuUid)
ipAddress
- the IP addressdigitalAssetUid
- the digital asset uidorderSkuUid
- the order sku id
DigitalAssetAudit
java.lang.String findOrderNumberByOrderSkuID(long orderSkuUid)
orderSkuUid
- the orderSku Uid
DigitalAssetAudit get(long digitalAssetAuditUid) throws EpServiceException
digitalAssetAuditUid
- the digitalAssetAudit UID
EpServiceException
- - in case of any errorsDigitalAsset getDigitalAsset(long orderSkuUid)
DigitalAsset
.
orderSkuUid
- the orderSku Uid
DigitalAsset
OrderSku getOrderSku(long orderSkuUid)
OrderSku
found by the orderSku Uid.
orderSkuUid
- the orderSku Uid
OrderSku
found by the orderSku Uidint isValidDADownloadRequest(long digitalAssetUid, long orderSkuUid)
digitalAssetUid
- the digital asset uidorderSkuUid
- the order Sku uid
java.util.List list() throws EpServiceException
EpServiceException
- - in case of any errorsDigitalAssetAudit load(long digitalAssetAuditUid) throws EpServiceException
digitalAssetAuditUid
- the digitalAssetAudit UID
EpServiceException
- - in case of any errorsvoid remove(DigitalAssetAudit digitalAssetAudit) throws EpServiceException
digitalAssetAudit
- the digitalAssetAudit to remove
EpServiceException
- - in case of any errorsvoid update(DigitalAssetAudit digitalAssetAudit) throws EpServiceException
digitalAssetAudit
- the digitalAssetAudit to update
EpServiceException
- - if digitalAssetAudit with the specified name already exists
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |