Interface LicenseUsageService
public interface LicenseUsageService
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetDirectoryInfo(Long version, int start, int limit) getLicensedUsers(Long version, int start, int limit) Deprecated.default List<LicensedUser>getLicensedUsers(Long version, int start, int limit, Integer directoryID, boolean sortByLastLoginTimeASC) Get licensed users for a given version and directory.voidmarkVersionComplete(Long version) voidsaveDirectoryInfo(Collection<UserDirectoryInformation> directoryInformation) voidsaveLicensedUserInformation(LicensedUser licensedUser) voidsaveLicensedUsersInformation(Collection<? extends LicensedUser> licensedUsers)
-
Method Details
-
getLicensedUsers
@Deprecated List<LicensedUser> getLicensedUsers(Long version, int start, int limit) throws InvalidDataVersionException Deprecated.Get licensed users for a given version.- Throws:
InvalidDataVersionException
-
getLicensedUsers
default List<LicensedUser> getLicensedUsers(Long version, int start, int limit, Integer directoryID, boolean sortByLastLoginTimeASC) throws InvalidDataVersionException Get licensed users for a given version and directory.- Throws:
InvalidDataVersionException- Since:
- 2.0.0
-
saveDirectoryInfo
-
getDirectoryInfo
List<UserDirectoryInformation> getDirectoryInfo(Long version, int start, int limit) throws InvalidDataVersionException - Throws:
InvalidDataVersionException
-
clearStaleLicenseDataIfAny
void clearStaleLicenseDataIfAny() -
markVersionComplete
-
createLicenseDataVersion
LicenseDataVersion createLicenseDataVersion() -
getLatestValidVersion
Optional<LicenseDataVersion> getLatestValidVersion() -
saveLicensedUserInformation
-
saveLicensedUsersInformation
-
getLicenseTierInformation
List<LicenseTierInfoEntity> getLicenseTierInformation() -
clearLicenseData
void clearLicenseData()
-
getLicensedUsers(Long, int, int, Integer, boolean)instead