public class MembershipRequestLocalServiceImpl extends MembershipRequestLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, membershipRequestLocalService, membershipRequestPersistence, persistedModelLocalServiceRegistry, resourceLocalService, roleFinder, roleLocalService, rolePersistence, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleFinder, userGroupRoleLocalService, userGroupRolePersistence, userLocalService, userPersistence
Constructor and Description |
---|
MembershipRequestLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.MembershipRequest |
addMembershipRequest(long userId,
long groupId,
String comments,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteMembershipRequests(long groupId) |
void |
deleteMembershipRequests(long groupId,
long statusId) |
void |
deleteMembershipRequestsByUserId(long userId) |
protected List<Long> |
getGroupAdministratorUserIds(long groupId) |
List<com.liferay.portal.kernel.model.MembershipRequest> |
getMembershipRequests(long userId,
long groupId,
long statusId) |
boolean |
hasMembershipRequest(long userId,
long groupId,
long statusId) |
protected void |
notify(long userId,
com.liferay.portal.kernel.model.MembershipRequest membershipRequest,
String subjectProperty,
String bodyProperty,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
notifyGroupAdministrators(com.liferay.portal.kernel.model.MembershipRequest membershipRequest,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
List<com.liferay.portal.kernel.model.MembershipRequest> |
search(long groupId,
int status,
int start,
int end) |
List<com.liferay.portal.kernel.model.MembershipRequest> |
search(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.MembershipRequest> obc) |
int |
searchCount(long groupId,
int status) |
void |
updateStatus(long replierUserId,
long membershipRequestId,
String replyComments,
long statusId,
boolean addUserToGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(String comments) |
addMembershipRequest, afterPropertiesSet, createMembershipRequest, deleteMembershipRequest, deleteMembershipRequest, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMembershipRequest, getActionableDynamicQuery, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMembershipRequest, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequests, getMembershipRequestsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getRoleFinder, getRoleLocalService, getRolePersistence, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleFinder, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setMembershipRequestLocalService, setMembershipRequestPersistence, setResourceLocalService, setRoleFinder, setRoleLocalService, setRolePersistence, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleFinder, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserLocalService, setUserPersistence, updateMembershipRequest
public com.liferay.portal.kernel.model.MembershipRequest addMembershipRequest(long userId, long groupId, String comments, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteMembershipRequests(long groupId)
public void deleteMembershipRequests(long groupId, long statusId)
public void deleteMembershipRequestsByUserId(long userId)
public List<com.liferay.portal.kernel.model.MembershipRequest> getMembershipRequests(long userId, long groupId, long statusId)
public boolean hasMembershipRequest(long userId, long groupId, long statusId)
public List<com.liferay.portal.kernel.model.MembershipRequest> search(long groupId, int status, int start, int end)
public List<com.liferay.portal.kernel.model.MembershipRequest> search(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.MembershipRequest> obc)
public int searchCount(long groupId, int status)
public void updateStatus(long replierUserId, long membershipRequestId, String replyComments, long statusId, boolean addUserToGroup, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected List<Long> getGroupAdministratorUserIds(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void notify(long userId, com.liferay.portal.kernel.model.MembershipRequest membershipRequest, String subjectProperty, String bodyProperty, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void notifyGroupAdministrators(com.liferay.portal.kernel.model.MembershipRequest membershipRequest, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(String comments) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException