Interface TagsRepository<DS extends tigase.db.DataSource>
- All Superinterfaces:
tigase.db.DataSourceAware<DS>
- All Known Implementing Classes:
TagsRepositoryJDBC, TagsRepositoryPool
public interface TagsRepository<DS extends tigase.db.DataSource>
extends tigase.db.DataSourceAware<DS>
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignTag(String domain, String tagId, EntityType type, tigase.xmpp.jid.BareJID jid, boolean required) createTag(String domain, TagScope scope, tigase.xmpp.jid.BareJID owner, String name, String description, String color, String icon) voidvoiddissociateTag(String domain, String tagId, tigase.xmpp.jid.BareJID jid) getTagAssociationType(String domain, String tagId, tigase.xmpp.jid.BareJID jid) queryAssociatedTags(String domain, tigase.xmpp.jid.BareJID jid, tigase.xmpp.jid.BareJID requestor) Stream<tigase.xmpp.jid.BareJID> queryJidsWithTag(String domain, String tagId, EntityType type, Boolean required) voidupdateTag(String domain, String tagId, TagScope scope, tigase.xmpp.jid.BareJID owner, String name, String description, String color, String icon) Methods inherited from interface tigase.db.DataSourceAware
setDataSource
-
Method Details
-
getTag
-
createTag
-
updateTag
-
deleteTag
-
assignTag
void assignTag(String domain, String tagId, EntityType type, tigase.xmpp.jid.BareJID jid, boolean required) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
dissociateTag
-
getTagAssociationType
EntityType getTagAssociationType(String domain, String tagId, tigase.xmpp.jid.BareJID jid) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
queryTags
-
queryAssociatedTags
-
queryJidsWithTag
Stream<tigase.xmpp.jid.BareJID> queryJidsWithTag(String domain, String tagId, EntityType type, Boolean required) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-