se.datadosen.jalbum
Class LicenseManagerImpl
java.lang.Object
se.datadosen.jalbum.LicenseManagerImpl
- All Implemented Interfaces:
- LicenseManager
public class LicenseManagerImpl
- extends java.lang.Object
- implements LicenseManager
- Since:
- 10.02
|
Method Summary |
java.lang.String |
getLicenseCode()
Returns a license hash code if the current username maps to a valid paid account
Returns the empty string otherwise |
protected JAlbumFrame |
getWindow()
|
boolean |
isLicenseValid()
Returns true if the current username maps to a valid paid account |
boolean |
isOldDonor()
Has user donated before jAlbum 10? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected final JAlbumContext context
preferences
protected java.util.prefs.Preferences preferences
JALBUM_SUPPORTER
public static final java.lang.String JALBUM_SUPPORTER
- See Also:
- Constant Field Values
getLicenseCode
public java.lang.String getLicenseCode()
- Returns a license hash code if the current username maps to a valid paid account
Returns the empty string otherwise
- Specified by:
getLicenseCode in interface LicenseManager
- Since:
- 9.6
isLicenseValid
public boolean isLicenseValid()
- Returns true if the current username maps to a valid paid account
- Specified by:
isLicenseValid in interface LicenseManager
- Since:
- 9.6
isOldDonor
public boolean isOldDonor()
- Has user donated before jAlbum 10?
- Specified by:
isOldDonor in interface LicenseManager
getWindow
protected JAlbumFrame getWindow()