Package de.xima.fc.dao.interfaces
Interface ITextbausteinDao
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Textbaustein,,Long, IEntityContext> IGenericDao<Textbaustein>,IMandantDependentBaseDao<Textbaustein>
- All Known Implementing Classes:
TextbausteinDao
-
Method Summary
Modifier and TypeMethodDescriptionfindUniqueName(IEntityContext ec, Mandant client, String candidate) Returns a name that is not taken by anotherTextbausteinin the given client.findUniqueName(IEntityContext ec, Mandant client, String candidate, Textbaustein exclude) Returns a name that is not taken by anotherTextbausteinin the given client other than the excluded template.getAll(IEntityContext ec, Mandant m) getAllByKat(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie) getAllByProject(IEntityContext ec, Projekt project) Returns all templates that are being used by the given projectgetByKatAndName(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie, String name) getByMsgCode(IEntityContext ec, Mandant m, String msgCode) getByName(IEntityContext ec, Mandant mandant, String name) getByUUID(IEntityContext ec, Mandant client, String uuid) Returns the template with the given UUID stringgetByUUID(IEntityContext ec, Mandant client, UUID uuid) Returns the template with the given UUIDgetTextbausteinByMsgCode(IEntityContext ec, Mandant m, ETextbausteinMsgCode msgCode) booleanisNameExisiting(IEntityContext ec, Mandant client, String name) Returns whether or not the given template name exists within the given clientMethods 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, updateMethods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Method Details
-
getByMsgCode
-
getTextbausteinByMsgCode
-
getAll
-
getByName
-
getAllByKat
List<Textbaustein> getAllByKat(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie) -
getByKatAndName
Textbaustein getByKatAndName(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie, String name) -
getByUUID
Returns the template with the given UUID string- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for templateuuid-StringUUID of the template- Returns:
Textbausteinfor the given UUID and client- Since:
- 6.1.0
-
getByUUID
Returns the template with the given UUID- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for templateuuid-UUIDUUID of the template- Returns:
Textbausteinfor the given UUID and client- Since:
- 6.1.0
-
getAllByProject
Returns all templates that are being used by the given project- Parameters:
ec-IEntityContextto be usedproject-Projektproject to search for templates- Returns:
ListofTextbausteins that are being used by the project- Since:
- 6.1.0
-
findUniqueName
Returns a name that is not taken by anotherTextbausteinin the given client. An index will be added to the candidate if necessary.- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which a unique template name should be generatedcandidate-Stringtemplate name candiate to be made unique- Returns:
- unique template name in the context of the given client
- Since:
- 6.4.0
-
findUniqueName
Returns a name that is not taken by anotherTextbausteinin the given client other than the excluded template. An index will be added to the candidate if necessary.- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which a unique template name should be generatedcandidate-Stringtemplate name candiate to be made uniqueexclude-Textbausteintemplate to be excluded from search- Returns:
- unique template name in the context of the given client
- Since:
- 6.6.0
-
isNameExisiting
Returns whether or not the given template name exists within the given client- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which to check uniquenessname-Stringtemplate name to check- Returns:
- whether or not the given name is unique
- Since:
- 6.4.0
-