Package de.xima.fc.dao.impl
Class LicenseFileDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<LicenseFile>
-
- de.xima.fc.dao.impl.LicenseFileDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<LicenseFile,Long,IEntityContext>,IGenericDao<LicenseFile>,ILicenseFileDao
public class LicenseFileDao extends GenericDao<LicenseFile> implements ILicenseFileDao
-
-
Constructor Summary
Constructors Constructor Description LicenseFileDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseFilecreateOrUpdateClientLicense(IEntityContext ec, LicenseModel model, String licenseKey, String userName)LicenseFilecreateOrUpdateSystemLicense(IEntityContext ec, LicenseModel model, String userName)LicenseFilegetByKey(IEntityContext ec, String licenseKey)LicenseFilegetClientLicense(IEntityContext ec, long clientid)LicenseFilegetClientLicense(IEntityContext ec, Mandant client)LicenseModelgetClientLicenseModel(IEntityContext ec, Mandant client)protected IFCDaoActionHook<LicenseFile>getPreActionHook()LicenseFilegetSystemLicense(IEntityContext ec)LicenseModelgetSystemLicenseModel(IEntityContext ec)-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPostActionHook, read
-
Methods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
getEntityRefs, read
-
-
-
-
Method Detail
-
createOrUpdateClientLicense
public LicenseFile createOrUpdateClientLicense(IEntityContext ec, LicenseModel model, String licenseKey, String userName)
- Specified by:
createOrUpdateClientLicensein interfaceILicenseFileDao
-
createOrUpdateSystemLicense
public LicenseFile createOrUpdateSystemLicense(IEntityContext ec, LicenseModel model, String userName)
- Specified by:
createOrUpdateSystemLicensein interfaceILicenseFileDao
-
getSystemLicenseModel
public LicenseModel getSystemLicenseModel(IEntityContext ec)
- Specified by:
getSystemLicenseModelin interfaceILicenseFileDao
-
getClientLicenseModel
public LicenseModel getClientLicenseModel(IEntityContext ec, Mandant client)
- Specified by:
getClientLicenseModelin interfaceILicenseFileDao
-
getSystemLicense
public LicenseFile getSystemLicense(IEntityContext ec)
- Specified by:
getSystemLicensein interfaceILicenseFileDao
-
getClientLicense
public LicenseFile getClientLicense(IEntityContext ec, Mandant client)
- Specified by:
getClientLicensein interfaceILicenseFileDao
-
getByKey
public LicenseFile getByKey(IEntityContext ec, String licenseKey)
- Specified by:
getByKeyin interfaceILicenseFileDao
-
getClientLicense
public LicenseFile getClientLicense(IEntityContext ec, long clientid)
- Specified by:
getClientLicensein interfaceILicenseFileDao
-
getPreActionHook
protected IFCDaoActionHook<LicenseFile> getPreActionHook()
- Overrides:
getPreActionHookin classGenericDao<LicenseFile>
-
-