Class LicensingInfoTagHelper
- java.lang.Object
-
- com.microstrategy.web.app.taglibs.CoreTagHelper
-
- com.microstrategy.web.app.taglibs.MstrPageTagHelper
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTagHelper
-
- com.microstrategy.web.app.taglibs.LicensingInfoTagHelper
-
public class LicensingInfoTagHelper extends AbstractNoBodyTagHelper
This is the Helper class for theLicensingInfoTag. It is the one responsible for generating the HTML for the Tag.- Since:
- MicroStrategy Web 8.0.1
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description LicensingInfoTagHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanState()Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.MarkupOutputgetContent()Obtains the contents to render based on the attributes defined (if existing).voidsetAdministrator(boolean value)Theadministratorattribute indicates to the Tag that it should check license compliance in the context of an administrator user.voidsetContentType(java.lang.String value)ThecontentTypeattribute indicates the types of licensing information that should be displayed.-
Methods inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
getContainerServices, newHiddenInputBuilder, newURIBuilder, resolveNumericAttribute, setPageComponent
-
Methods inherited from class com.microstrategy.web.app.taglibs.CoreTagHelper
getTagsFactory
-
-
-
-
Method Detail
-
cleanState
public void cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.- Overrides:
cleanStatein classMstrPageTagHelper
-
setContentType
public void setContentType(java.lang.String value)
ThecontentTypeattribute indicates the types of licensing information that should be displayed.
-
setAdministrator
public void setAdministrator(boolean value)
Theadministratorattribute indicates to the Tag that it should check license compliance in the context of an administrator user. If the value is false or unspecified, the tag will determine whether the user is an administrator based on the current session.
-
getContent
public MarkupOutput getContent() throws java.io.IOException
Obtains the contents to render based on the attributes defined (if existing).- Specified by:
getContentin classAbstractNoBodyTagHelper- Returns:
- a
MarkupOutputinstance initialized with the contents to display - Throws:
java.io.IOException- if an error happens while getting the contents to render.
-
-