public interface TermsOfUse
Modifier and Type | Method and Description |
---|---|
ToU |
getToUGroup(long groupId)
Retrieve the ToU for group with id groupId
|
boolean |
hasAcceptedToU(String userid,
long groupId)
Check whether the user having userid has accepted the ToU in group with id groupId
|
Long |
hasAcceptedToUVersion(String userid,
long groupId)
Check whether the user having userid has accepted the ToU in group with id groupId and return the id of the accepted ToU
|
void |
setAcceptedToU(String userid,
long groupId)
Set as accepted the ToU of group with id groupId for user userid (the id of the ToU is the last available)
|
boolean hasAcceptedToU(String userid, long groupId) throws NumberFormatException, org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault, org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException, org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
userid
- groupId
- NumberFormatException
org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault
org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException
org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
Long hasAcceptedToUVersion(String userid, long groupId) throws NumberFormatException, org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault, org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException, org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
userid
- groupId
- NumberFormatException
org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault
org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException
org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
void setAcceptedToU(String userid, long groupId) throws ToUNotFoundException, com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault, org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException, org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
userid
- groupId
- ToUNotFoundException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
org.gcube.vomanagement.usermanagement.exception.UserRetrievalFault
org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException
org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
ToU getToUGroup(long groupId) throws ToUNotFoundException, org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault, org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException, com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
groupName
- ToUNotFoundException
org.gcube.vomanagement.usermanagement.exception.GroupRetrievalFault
org.gcube.vomanagement.usermanagement.exception.UserManagementSystemException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
Copyright © 2020. All Rights Reserved.