Class 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 Detail

      • UpdateAttributeAction

        public UpdateAttributeAction()
    • 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()