Package com.opentext.common
Interface IProductEntitlementCheckEx
public interface IProductEntitlementCheckEx
All solution that needs to implement custom feature entitlement logic should implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisEntitled(com.documentum.fc.client.impl.session.ISession session) Deprecated.default booleanisEntitled(com.documentum.fc.client.impl.session.ISession session, jakarta.servlet.http.HttpServletRequest request, Object controller) Utility method to check entitlement which validates the Product Entitlement for a logged in user .
-
Method Details
-
isEntitled
@Deprecated default boolean isEntitled(com.documentum.fc.client.impl.session.ISession session) throws com.documentum.fc.common.DfException Deprecated.Utility method to check entitlement which validates the Product Entitlement for a logged in user . If it returns false then user is denied the permission. ( For more information, Click here )- Parameters:
session-- Returns:
- Throws:
com.documentum.fc.common.DfException
-
isEntitled
default boolean isEntitled(com.documentum.fc.client.impl.session.ISession session, jakarta.servlet.http.HttpServletRequest request, Object controller) throws com.documentum.fc.common.DfException Utility method to check entitlement which validates the Product Entitlement for a logged in user . If it returns false then user is denied the permission.- Parameters:
request-controller-session-- Returns:
- Throws:
com.documentum.fc.common.DfException
-