Class UserContactDao
java.lang.Object
org.apache.openmeetings.db.dao.user.UserContactDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
count
(long ownerId) void
deleteAllUserContacts
(Long ownerId) get()
get
(long ownerId, long first, long count) getContactRequestsByUserAndStatus
(Long userId, boolean pending) getContactsByUserAndStatus
(Long ownerId, boolean pending) boolean
updateContactStatus
(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
-