Package org.gluu.oxtrust.action
Class AttributeImportAction
- java.lang.Object
-
- org.gluu.oxtrust.action.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributeImportAction.FileDataToImport
-
Constructor Summary
Constructors Constructor Description AttributeImportAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
cancel()
void
destroy()
AttributeImportAction.FileDataToImport
getFileDataToImport()
org.primefaces.model.file.UploadedFile
getUploadedFile()
java.lang.String
importAttributes()
java.lang.String
init()
void
removeFileDataToImport()
void
removeFileToImport()
void
uploadFile(org.primefaces.event.FileUploadEvent event)
void
validateFileToImport()
-
-
-
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()
-
getFileDataToImport
public AttributeImportAction.FileDataToImport getFileDataToImport()
-
removeFileDataToImport
public void removeFileDataToImport()
-
uploadFile
public void uploadFile(org.primefaces.event.FileUploadEvent event)
-
removeFileToImport
public void removeFileToImport()
-
-