Class AttributeImportAction

  • All Implemented Interfaces:
    java.io.Serializable

    @Named("attributeImportAction")
    @ConversationScoped
    @Secure("#{permissionService.hasPermission(\'attribute\', \'access\')}")
    public class AttributeImportAction
    extends java.lang.Object
    implements java.io.Serializable
    Action class to load data from LDIF file
    Author:
    Shekhar L Date: 02.28.2017, Yuriy Movchan Date: 03/06/2017
    See Also:
    Serialized Form
    • Constructor Detail

      • AttributeImportAction

        public AttributeImportAction()
    • Method Detail

      • init

        public java.lang.String init()
      • importAttributes

        public java.lang.String importAttributes()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateFileToImport

        public void validateFileToImport()
      • cancel

        public java.lang.String cancel()
      • destroy

        @PreDestroy
        public void destroy()
      • getUploadedFile

        public org.primefaces.model.file.UploadedFile getUploadedFile()
      • removeFileDataToImport

        public void removeFileDataToImport()
      • uploadFile

        public void uploadFile​(org.primefaces.event.FileUploadEvent event)
      • removeFileToImport

        public void removeFileToImport()