Class UserContactDao
java.lang.Object
org.apache.openmeetings.db.dao.user.UserContactDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcount(long ownerId) voiddeleteAllUserContacts(Long ownerId) get()get(long ownerId, long first, long count) getContactRequestsByUserAndStatus(Long userId, boolean pending) getContactsByUserAndStatus(Long ownerId, boolean pending) booleanupdateContactStatus(Long id, boolean pending)
-
Constructor Details
-
UserContactDao
public UserContactDao()
-
-
Method Details
-
add
-
delete
- Parameters:
id- - id of item to delete
-
deleteAllUserContacts
- Parameters:
ownerId- - id of owner- Returns:
- rowcount of update
-
get
-
isContact
-
get
-
count
public long count(long ownerId) -
getContactsByUserAndStatus
-
getContactRequestsByUserAndStatus
-
get
-
get
-
updateContactStatus
-
update
-