Package org.gluu.oxtrust.action
Class UpdateAttributeAction
- java.lang.Object
-
- org.gluu.oxtrust.action.UpdateAttributeAction
-
- All Implemented Interfaces:
java.io.Serializable
@ConversationScoped @Named("updateAttributeAction") @Secure("#{permissionService.hasPermission(\'attribute\', \'access\')}") public class UpdateAttributeAction extends java.lang.Object implements java.io.Serializable
Action class for updating attribute metadata- Author:
- Yuriy Movchan Date: 10.19.2010
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateAttributeAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
add()
java.lang.String
cancel()
void
cancelDeleteAndAcceptUpdate()
boolean
canEdit()
java.lang.String
delete()
java.lang.String
deleteAndAcceptUpdate()
org.gluu.model.GluuAttribute
getAttribute()
org.gluu.model.GluuUserRole[]
getAttributeEditTypes()
org.gluu.model.GluuAttributeUsageType[]
getAttributeUsageTypes()
org.gluu.model.attribute.AttributeDataType[]
getDataTypes()
java.lang.String
getInum()
java.lang.String
getScimValue(java.lang.String key)
boolean
isCanEdit()
boolean
isScimAttribute(java.lang.String key)
boolean
isShowAttributeDeleteConfirmation()
boolean
isTooltipToggle()
boolean
isUpdate()
boolean
isValidationToggle()
java.lang.String
save()
java.lang.String
saveImpl()
void
setCanEdit(boolean canEdit)
void
setInum(java.lang.String inum)
void
setShowAttributeDeleteConfirmation(boolean showAttributeDeleteConfirmation)
void
setTooltipToggle(boolean tooltipToggle)
void
setUpdate(boolean update)
void
setValidationToggle(boolean validationToggle)
java.lang.String
update()
boolean
validateEditType()
boolean
validateName(java.lang.String attributeName)
-
-
-
Method Detail
-
add
public java.lang.String add()
-
update
public java.lang.String update()
-
getScimValue
public java.lang.String getScimValue(java.lang.String key)
-
isScimAttribute
public boolean isScimAttribute(java.lang.String key)
-
cancel
public java.lang.String cancel()
-
save
public java.lang.String save()
-
saveImpl
public java.lang.String saveImpl()
-
delete
public java.lang.String delete()
-
cancelDeleteAndAcceptUpdate
public void cancelDeleteAndAcceptUpdate()
-
deleteAndAcceptUpdate
public java.lang.String deleteAndAcceptUpdate()
-
validateEditType
public boolean validateEditType()
-
validateName
public boolean validateName(java.lang.String attributeName)
-
getInum
public java.lang.String getInum()
-
setInum
public void setInum(java.lang.String inum)
-
getAttribute
public org.gluu.model.GluuAttribute getAttribute()
-
isUpdate
public boolean isUpdate()
-
isShowAttributeDeleteConfirmation
public boolean isShowAttributeDeleteConfirmation()
-
canEdit
public boolean canEdit()
-
isValidationToggle
public boolean isValidationToggle()
-
setValidationToggle
public void setValidationToggle(boolean validationToggle)
-
isTooltipToggle
public boolean isTooltipToggle()
-
setTooltipToggle
public void setTooltipToggle(boolean tooltipToggle)
-
setUpdate
public void setUpdate(boolean update)
- Parameters:
update
- the update to set
-
setShowAttributeDeleteConfirmation
public void setShowAttributeDeleteConfirmation(boolean showAttributeDeleteConfirmation)
- Parameters:
showAttributeDeleteConfirmation
- the showAttributeDeleteConfirmation to set
-
isCanEdit
public boolean isCanEdit()
- Returns:
- the canEdit
-
setCanEdit
public void setCanEdit(boolean canEdit)
- Parameters:
canEdit
- the canEdit to set
-
getDataTypes
public org.gluu.model.attribute.AttributeDataType[] getDataTypes()
-
getAttributeEditTypes
public org.gluu.model.GluuUserRole[] getAttributeEditTypes()
-
getAttributeUsageTypes
public org.gluu.model.GluuAttributeUsageType[] getAttributeUsageTypes()
-
-