tigase.muc.repository
Class MucDAO
java.lang.Object
tigase.muc.repository.MucDAO
public class MucDAO
- extends Object
- Author:
- bmalkow
|
Constructor Summary |
MucDAO(MucConfig config,
tigase.db.UserRepository repository)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Logger log
MucDAO
public MucDAO(MucConfig config,
tigase.db.UserRepository repository)
throws RepositoryException
- Throws:
RepositoryException
createRoom
public void createRoom(Room room)
throws RepositoryException
- Throws:
RepositoryException
destroyRoom
public void destroyRoom(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Parameters:
roomJID -
- Throws:
RepositoryException
getCreationDate
public Date getCreationDate(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Throws:
RepositoryException
getRoomName
public String getRoomName(String jid)
throws RepositoryException
- Parameters:
jid -
- Returns:
-
- Throws:
RepositoryException
getRoomsJIDList
public ArrayList<tigase.xmpp.BareJID> getRoomsJIDList()
throws RepositoryException
- Returns:
-
- Throws:
RepositoryException
getSubject
public String getSubject(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Throws:
RepositoryException
getSubjectCreationDate
public Date getSubjectCreationDate(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Throws:
RepositoryException
getSubjectCreatorNickname
public String getSubjectCreatorNickname(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Throws:
RepositoryException
readRoom
public Room readRoom(tigase.xmpp.BareJID roomJID)
throws RepositoryException,
MUCException,
tigase.util.TigaseStringprepException
- Throws:
RepositoryException
MUCException
tigase.util.TigaseStringprepException
setAffiliation
public void setAffiliation(tigase.xmpp.BareJID roomJID,
tigase.xmpp.BareJID jid,
Affiliation affiliation)
throws RepositoryException
- Parameters:
roomJID - affiliation - jid - affiliations -
- Throws:
RepositoryException
setSubject
public void setSubject(tigase.xmpp.BareJID roomJID,
String subject,
String creatorNickname,
Date changeDate)
throws RepositoryException
- Parameters:
roomJID - changeDate - msg -
- Throws:
RepositoryException
updateLastAccessDate
public void updateLastAccessDate(tigase.xmpp.BareJID roomJID)
throws RepositoryException
- Parameters:
roomJID -
- Throws:
RepositoryException
updateRoomConfig
public void updateRoomConfig(RoomConfig roomConfig)
throws RepositoryException
- Parameters:
roomConfig -
- Throws:
RepositoryException
Copyright © 2007-2012 Tigase. All Rights Reserved.