public class TermsOfUseImpl extends Object implements TermsOfUse
| Constructor and Description |
|---|
TermsOfUseImpl() |
| 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)
|
public 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
TermsOfUsehasAcceptedToU in interface TermsOfUseNumberFormatExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultpublic 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
TermsOfUsehasAcceptedToUVersion in interface TermsOfUseNumberFormatExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultpublic 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
TermsOfUsesetAcceptedToU in interface TermsOfUseToUNotFoundExceptioncom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionorg.gcube.vomanagement.usermanagement.exception.UserRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultpublic 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
TermsOfUsegetToUGroup in interface TermsOfUseToUNotFoundExceptionorg.gcube.vomanagement.usermanagement.exception.GroupRetrievalFaultorg.gcube.vomanagement.usermanagement.exception.UserManagementSystemExceptioncom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionCopyright © 2018. All Rights Reserved.