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 - NumberFormatExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultLong 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 - NumberFormatExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultvoid 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 - ToUNotFoundExceptioncom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultToU 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 - ToUNotFoundExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptioncom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionCopyright © 2019. All Rights Reserved.