Class ProfileImportStrategy

    • Constructor Detail

      • ProfileImportStrategy

        public ProfileImportStrategy​(ProfileService profileService)
    • Method Detail

      • beforeImport

        public abstract void beforeImport()
                                   throws org.bonitasoft.engine.exception.ExecutionException
        what to do before the import
        Throws:
        org.bonitasoft.engine.exception.ExecutionException
      • canCreateProfileIfNotExists

        public abstract boolean canCreateProfileIfNotExists​(org.bonitasoft.engine.profile.xml.ProfileNode profile)
        return whether the profile can be created if it does not exist
      • getProfileService

        protected ProfileService getProfileService()
        convert ProfileNode to SProfile
        Returns:
        the profile service