public interface IAppointmentTemplateDao extends IGenericDao<AppointmentTemplate>
AppointmentTemplate entities.| Modifier and Type | Method and Description |
|---|---|
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate)
Returns a name that is not taken by another
AppointmentTemplate in the given client. |
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
AppointmentTemplate exclude)
Returns a name that is not taken by another
AppointmentTemplate in the given client. |
List<AppointmentTemplate> |
getAllByClient(IEntityContext ec,
Mandant currentClient)
Finds all available appointment templates of the given client.
|
List<AppointmentSlot> |
getAllSlotsOfTemplates(IEntityContext ec,
List<AppointmentTemplate> templates,
boolean merge)
Finds all available appointment slots of the given templates.
|
AppointmentTemplate |
getByUUID(IEntityContext ec,
Mandant client,
String uuid)
Returns the template with the given UUID
|
AppointmentTemplate |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid)
Returns the template with the given UUID
|
boolean |
isNameExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given entity name exists within the given client
|
getEntityRefs, readall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updateAppointmentTemplate getByUUID(IEntityContext ec, Mandant client, String uuid)
ec - IEntityContext to useclient - The client for which to find the template. Please note that different clients may have templates with
the same UUID.uuid - String UUID of the templateAppointmentTemplate getByUUID(IEntityContext ec, Mandant client, UUID uuid)
ec - IEntityContext to useclient - The client for which to find the template. Please note that different clients may have templates with
the same UUID.uuid - UUID UUID of the templateList<AppointmentTemplate> getAllByClient(IEntityContext ec, Mandant currentClient)
ec - IEntityContext to usecurrentClient - List<AppointmentSlot> getAllSlotsOfTemplates(IEntityContext ec, List<AppointmentTemplate> templates, boolean merge)
ec - IEntityContext to usetemplates - Templates to use.merge - Whether to merge overlapping slots.String findUniqueName(IEntityContext ec, Mandant client, String candidate)
AppointmentTemplate in the given client. An index will be added
to the candidate if necessary.ec - IEntityContext to be usedclient - Mandant for which a unique template name should be generatedcandidate - String appointment template name candidate to be made uniqueString findUniqueName(IEntityContext ec, Mandant client, String candidate, AppointmentTemplate exclude)
AppointmentTemplate in the given client. An index will be added
to the candidate if necessary.ec - IEntityContext to be usedclient - Mandant for which a unique template name should be generatedcandidate - String appointment template name candidate to be made uniqueexclude - AppointmentTemplate entity to exclude from search for unique nameboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec - IEntityContext to be usedclient - Mandant for which to check uniquenessname - String name to checkIllegalArgumentException - if the entity class of this DAO does not provide a nameCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.