Package org.gluu.oxtrust.action
Class UserProfileAction
- java.lang.Object
-
- org.gluu.oxtrust.action.UserProfileAction
-
- All Implemented Interfaces:
java.io.Serializable
@Named("userProfileAction") @ConversationScoped @Secure("#{permissionService.hasPermission(\'profile\', \'access\')}") public class UserProfileAction extends java.lang.Object implements java.io.Serializable
Action class for view and update profile actions.- Author:
- Yuriy Movchan Date: 11.02.2010
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserProfileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOpts()
protected boolean
allowEditAttribute(org.gluu.model.GluuAttribute attribute)
java.lang.String
cancel()
void
configureListingOptions()
boolean
getAllowPublication()
GluuConfiguration
getConfiguration()
java.util.List<GluuCustomAttribute>
getMandatoryAttributes()
protected java.lang.String
getOriginForAttribute(org.gluu.model.GluuAttribute attribute)
GluuCustomPerson
getPerson()
boolean
isEditable()
boolean
released(java.lang.String attributeName)
boolean
removeValueFromAttribute(java.lang.String value, java.lang.String name)
void
setAllowPublication(boolean allowPublication)
void
setEditable(boolean isEditable)
void
setPerson(GluuCustomPerson person)
java.lang.String
show()
void
toggle(java.lang.String attributeName)
java.lang.String
update()
boolean
userEmailIsUniqAtEditionTime(java.lang.String email)
-
-
-
Method Detail
-
show
public java.lang.String show()
-
update
public java.lang.String update()
-
cancel
public java.lang.String cancel()
-
addOpts
public void addOpts()
-
getPerson
public GluuCustomPerson getPerson()
-
setPerson
public void setPerson(GluuCustomPerson person)
-
getMandatoryAttributes
public java.util.List<GluuCustomAttribute> getMandatoryAttributes()
-
getOriginForAttribute
protected java.lang.String getOriginForAttribute(org.gluu.model.GluuAttribute attribute)
-
allowEditAttribute
protected boolean allowEditAttribute(org.gluu.model.GluuAttribute attribute)
-
getAllowPublication
public boolean getAllowPublication()
-
setAllowPublication
public void setAllowPublication(boolean allowPublication)
-
toggle
public void toggle(java.lang.String attributeName)
-
released
public boolean released(java.lang.String attributeName)
-
configureListingOptions
public void configureListingOptions()
-
userEmailIsUniqAtEditionTime
public boolean userEmailIsUniqAtEditionTime(java.lang.String email)
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean isEditable)
-
removeValueFromAttribute
public boolean removeValueFromAttribute(java.lang.String value, java.lang.String name)
-
getConfiguration
public GluuConfiguration getConfiguration()
-
-