-
- All Implemented Interfaces:
public interface LcpDao
-
-
Method Summary
Modifier and Type Method Description abstract Stringpassphrase(String licenseId)Retrieve passphrase abstract List<String>passphrases(String userId)abstract List<String>allPassphrases()abstract UnitaddPassphrase(Passphrase passphrase)abstract Stringexists(String licenseId)abstract BooleanisDeviceRegistered(String licenseId)abstract UnitregisterDevice(String licenseId)abstract UnitaddLicense(License license)abstract IntegergetCopiesLeft(String licenseId)abstract UnitsetCopiesLeft(Integer quantity, String licenseId)abstract IntegergetPrintsLeft(String licenseId)abstract UnitsetPrintsLeft(Integer quantity, String licenseId)-
-
Method Detail
-
passphrase
abstract String passphrase(String licenseId)
Retrieve passphrase
-
passphrases
abstract List<String> passphrases(String userId)
-
allPassphrases
abstract List<String> allPassphrases()
-
addPassphrase
abstract Unit addPassphrase(Passphrase passphrase)
-
isDeviceRegistered
abstract Boolean isDeviceRegistered(String licenseId)
-
registerDevice
abstract Unit registerDevice(String licenseId)
-
addLicense
abstract Unit addLicense(License license)
-
getCopiesLeft
abstract Integer getCopiesLeft(String licenseId)
-
setCopiesLeft
abstract Unit setCopiesLeft(Integer quantity, String licenseId)
-
getPrintsLeft
abstract Integer getPrintsLeft(String licenseId)
-
setPrintsLeft
abstract Unit setPrintsLeft(Integer quantity, String licenseId)
-
-
-
-