public interface TourManager
Modifier and Type | Method and Description |
---|---|
boolean |
isTourShowable(String callerIdentifier,
int versionNumber,
String currentUser)
Check if a given tour can be shown or not.
|
void |
setShowNextTime(String callerIdentifier,
int versionNumber,
boolean show,
String currentUser)
This function is invoked to request a specific action to take (@see the show value) the next time the user will see the tour uniquely identified
by the couple {callerIdentifier, versionNumber}.
|
void setShowNextTime(String callerIdentifier, int versionNumber, boolean show, String currentUser)
callerIdentifier
- is the unique identifier of the portlet (e.g. its name or the name of the servlet it contains, if any)versionNumber
- is the unique version number for the tourshow
- a boolean value to show or not the tourcurrentUser
- the user name of the user involved.boolean isTourShowable(String callerIdentifier, int versionNumber, String currentUser) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, Exception
callerIdentifier
- is the unique identifier of the portlet (e.g. the name of the portlet or the name of the servlet it contains, if any)versionNumber
- is the unique version number for the tourcurrentUser
- the user name of the user involved.com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
Exception
Copyright © 2017. All Rights Reserved.