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 LicenseFile
createOrUpdateClientLicense(IEntityContext ec, LicenseModel model, String licenseKey, String userName)
LicenseFile
createOrUpdateSystemLicense(IEntityContext ec, LicenseModel model, String userName)
LicenseFile
getByKey(IEntityContext ec, String licenseKey)
LicenseFile
getClientLicense(IEntityContext ec, long clientid)
LicenseFile
getClientLicense(IEntityContext ec, Mandant client)
LicenseModel
getClientLicenseModel(IEntityContext ec, Mandant client)
protected IFCDaoActionHook<LicenseFile>
getPreActionHook()
LicenseFile
getSystemLicense(IEntityContext ec)
LicenseModel
getSystemLicenseModel(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:
createOrUpdateClientLicense
in interfaceILicenseFileDao
-
createOrUpdateSystemLicense
public LicenseFile createOrUpdateSystemLicense(IEntityContext ec, LicenseModel model, String userName)
- Specified by:
createOrUpdateSystemLicense
in interfaceILicenseFileDao
-
getSystemLicenseModel
public LicenseModel getSystemLicenseModel(IEntityContext ec)
- Specified by:
getSystemLicenseModel
in interfaceILicenseFileDao
-
getClientLicenseModel
public LicenseModel getClientLicenseModel(IEntityContext ec, Mandant client)
- Specified by:
getClientLicenseModel
in interfaceILicenseFileDao
-
getSystemLicense
public LicenseFile getSystemLicense(IEntityContext ec)
- Specified by:
getSystemLicense
in interfaceILicenseFileDao
-
getClientLicense
public LicenseFile getClientLicense(IEntityContext ec, Mandant client)
- Specified by:
getClientLicense
in interfaceILicenseFileDao
-
getByKey
public LicenseFile getByKey(IEntityContext ec, String licenseKey)
- Specified by:
getByKey
in interfaceILicenseFileDao
-
getClientLicense
public LicenseFile getClientLicense(IEntityContext ec, long clientid)
- Specified by:
getClientLicense
in interfaceILicenseFileDao
-
getPreActionHook
protected IFCDaoActionHook<LicenseFile> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<LicenseFile>
-
-