Package de.xima.fc.dao.impl
Class ClientPluginDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<E>
-
- de.xima.fc.dao.impl.MandantDependentBaseDao<ClientPlugin>
-
- de.xima.fc.dao.impl.ClientPluginDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<ClientPlugin,Long,IEntityContext>
,IClientPluginDao
,IGenericDao<ClientPlugin>
,IMandantDependentBaseDao<ClientPlugin>
public class ClientPluginDao extends MandantDependentBaseDao<ClientPlugin> implements IClientPluginDao
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ClientPluginDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ClientPlugin>
getActivePlugins(IEntityContext ec, boolean remoteOnly)
Gets all plugins that areactive
.ClientPlugin
getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the client plugin with the given UUID stringClientPlugin
getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the client plugin with the given UUID-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPostActionHook, getPreActionHook, 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
-
-
-
-
Method Detail
-
getActivePlugins
public List<ClientPlugin> getActivePlugins(IEntityContext ec, boolean remoteOnly)
Description copied from interface:IClientPluginDao
Gets all plugins that areactive
. If desired, also limits the plugins to those that aresynced remotely
with the frontend server.- Specified by:
getActivePlugins
in interfaceIClientPluginDao
- Parameters:
ec
- Entity context for accessing the database.remoteOnly
- Iftrue
, restrict the returned plugins to those that are synced remotely.- Returns:
- All active client plugins.
-
getByUUID
public ClientPlugin getByUUID(IEntityContext ec, Mandant client, String uuid)
Description copied from interface:IClientPluginDao
Returns the client plugin with the given UUID string- Specified by:
getByUUID
in interfaceIClientPluginDao
- Parameters:
ec
- Entity context for accessing the database.client
-Client
context in which to look for client plugins.uuid
- UUID of the client plugin- Returns:
- The client plugin with the given UUID , or
null
if no such plugin exists in the given client.
-
getByUUID
public ClientPlugin getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Description copied from interface:IClientPluginDao
Returns the client plugin with the given UUID- Specified by:
getByUUID
in interfaceIClientPluginDao
- Parameters:
ec
- Entity context for accessing the database.client
-Client
context in which to look for client plugins.uuid
- UUID of the client plugin- Returns:
- The client plugin with the given UUID , or
null
if no such plugin exists in the given client.
-
-