Class UIAction
java.lang.Object
com.jalios.jcms.member.profile.ui.AbstractPropertyUI<ProfileUIInitContext>
com.jalios.jcms.member.profile.ui.AbstractPropertyUIListItem<ProfileUIInitContext>
com.jalios.jcms.member.profile.ui.UIAction
- All Implemented Interfaces:
IJspUI<ProfileUIInitContext>,IUI<ProfileUIInitContext>,IUIListItem<ProfileUIInitContext>,Comparable<AbstractPropertyUIListItem<ProfileUIInitContext>>
Represents an action provided in the Member Profile UI.
- Since:
- jplatform-11
- Author:
- Sylvain Devaux
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringProperty prefix to customize props when loggedMember is viewing its own profile.protected static final StringSub property to declare action location in menu.Fields inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUIListItem
DEFAULT_INDEX, INDEX_PROP_SUFFIXFields inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUI
ENABLED_PROP_SUFFIX, ENABLED_REQ_ATTR, JSP_PROP_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUIListItem
compareTo, getSortKey, setIndex, setSortKey, toStringMethods inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUI
canInclude, canIncludeJsp, canIncludeJsp, disable, getBooleanPropertyValue, getContext, getId, getIntegerProperty, getJsp, getLabel, getLangProperty, getProperty, getProperty, getPropertyKey, getPropertyValue, getPropertyValue, getRealPath, isEnabled, isEnabled, logPrefix, setLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.jalios.jcms.member.profile.ui.IJspUI
canInclude, getContext, getId, getJsp
-
Field Details
-
MY_PROFILE_SUFFIX_PROP
Property prefix to customize props when loggedMember is viewing its own profile.- See Also:
-
SECTION_PROP_SUFFIX
Sub property to declare action location in menu.- See Also:
-
-
Constructor Details
-
UIAction
- Throws:
IllegalArgumentException
-
UIAction
- Throws:
IllegalArgumentException
-
-
Method Details
-
getIndex
public int getIndex()Handle normal or "isMyProfile" case.- Specified by:
getIndexin interfaceIUIListItem<ProfileUIInitContext>- Overrides:
getIndexin classAbstractPropertyUIListItem<ProfileUIInitContext>- Returns:
- index defined in JProperties
- See Also:
-
getSection
-