Package de.xima.fc.dao.impl
Class LicenseFileDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<LicenseFile,
,Long, IEntityContext> IGenericDao<LicenseFile>
,ILicenseFileDao
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateClientLicense
(IEntityContext ec, LicenseModel model, String licenseKey, String userName) createOrUpdateItemLicense
(IEntityContext ec, ItemLicenseModel itemModel, String licenseKey, String parentLicenseVersionKey, String userName) createOrUpdateSystemLicense
(IEntityContext ec, LicenseModel model, String userName) getByKey
(IEntityContext ec, String licenseKey, ELicenseFileType licenseType) getClientLicense
(IEntityContext ec, long clientid) getClientLicense
(IEntityContext ec, Mandant client) getClientLicenseModel
(IEntityContext ec, Mandant client) getItemLicenses
(IEntityContext ec, String licenseKey) protected IFCDaoActionHook<LicenseFile>
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
count, findAll, findSingle, getEntityRefs, read
-
Constructor Details
-
LicenseFileDao
public LicenseFileDao()
-
-
Method Details
-
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
-
createOrUpdateItemLicense
public LicenseFile createOrUpdateItemLicense(IEntityContext ec, ItemLicenseModel itemModel, String licenseKey, String parentLicenseVersionKey, String userName) - Specified by:
createOrUpdateItemLicense
in interfaceILicenseFileDao
-
getItemLicenses
- Specified by:
getItemLicenses
in interfaceILicenseFileDao
-
getSystemLicenseModel
- Specified by:
getSystemLicenseModel
in interfaceILicenseFileDao
-
getClientLicenseModel
- Specified by:
getClientLicenseModel
in interfaceILicenseFileDao
-
getSystemLicense
- Specified by:
getSystemLicense
in interfaceILicenseFileDao
-
getClientLicense
- Specified by:
getClientLicense
in interfaceILicenseFileDao
-
getByKey
- Specified by:
getByKey
in interfaceILicenseFileDao
-
getClientLicense
- Specified by:
getClientLicense
in interfaceILicenseFileDao
-
getPreActionHook
- Overrides:
getPreActionHook
in classGenericDao<LicenseFile>
-