@Service public class GumgaTagService extends GumgaService<GumgaTag,Long>
gces, logger| Constructor and Description |
|---|
GumgaTagService(GumgaTagRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
GumgaTag |
createNew(GumgaTagDefinition tagDef,
String objectType,
Long objectId)
Cria Tag de acordo com uma definição para determinado tipo de objeto
|
List<GumgaTag> |
findByObject(GumgaIdable<Long> obj)
Busca tags de acordo com o objeto que contenha a mesma
|
List<GumgaTag> |
findByObjectTypeAndObjectId(String objectType,
Long objectId)
Busca tags com determinado tipo e id do objeto
|
GumgaTag |
loadGumgaTagFat(Long id)
Carrega tag de acordo com o Id
|
afterDelete, afterPesquisa, afterSave, afterUpdate, afterView, beforeDelete, beforePesquisa, beforeSave, beforeUpdate, beforeView, delete, delete, forceFlush, genercView, listOldVersions, pesquisa, save, viewclazz, gumgaOiForSearch, gumgaOiForSearchWithWildCard, loadGumgaCustomFieldsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclazz@Autowired public GumgaTagService(GumgaTagRepository repository)
public GumgaTag loadGumgaTagFat(Long id)
id - Identificador da tagpublic GumgaTag createNew(GumgaTagDefinition tagDef, String objectType, Long objectId)
tagDef - Definição de tagobjectType - Tipo do objetoobjectId - Id do objetopublic List<GumgaTag> findByObjectTypeAndObjectId(String objectType, Long objectId)
objectType - Tipo do objetoobjectId - Id do objetopublic List<GumgaTag> findByObject(GumgaIdable<Long> obj)
obj - Objeto que contenha a tagCopyright © 2018 Gumga. All rights reserved.