public interface ITagDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int idTag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the tag whose identifier is specified in parameter
|
void |
deleteByDoc(int idDoc,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete Association a tag with a document whose identifier is specified in parameter
|
void |
deleteByTAG(int idTag,
int idDoc,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete Association a tag with a document whose identifier is specified in parameter
|
void |
insert(int idTag,
int idDoc,
int nPriority,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associating a tag with a document
|
void |
insert(Tag tag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the tag class
|
Tag |
load(int idTag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a tag whose identifier is specified in parameter
|
List<Tag> |
loadAllTag(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the tag objects and returns them as a list
|
List<Tag> |
loadByDoc(int idDoc,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the tag objects whose identifier is specified in parameter and returns them as a list
|
Tag |
loadByName(String strName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a tag whose name is specified in parameter
|
List<Tag> |
loadListTagByIdDoc(int idDoc,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Tags associated with the document whose identifier is specified in parameter
|
fr.paris.lutece.util.ReferenceList |
selectTagsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the tag objects and returns them as a list
|
void |
store(Tag tag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the tag which is specified in parameter
|
void insert(Tag tag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
tag
- The instance of the tag which contains the informations to storeplugin
- the pluginTag load(int idTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The tag primary keyplugin
- the pluginTag loadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strName
- The tag nameplugin
- the pluginList<Tag> loadAllTag(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginvoid delete(int idTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The tag Idplugin
- the pluginvoid store(Tag tag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
tag
- The instance of the tag which contains the data to storeplugin
- the pluginvoid insert(int idTag, int idDoc, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTag
- the Tag idnIdocument
- The document identifiantplugin
- the pluginnPriority
- The priority of the documentvoid deleteByTAG(int idTag, int idDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTag
- Id TagidDoc
- Id Documentplugin
- the pluginvoid deleteByDoc(int idDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDoc
- The Id Documentplugin
- the pluginList<Tag> loadByDoc(int idDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDco
- The document identifiantplugin
- the pluginList<Tag> loadListTagByIdDoc(int idDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idDoc
- Id Documentplugin
- the pluginfr.paris.lutece.util.ReferenceList selectTagsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.