/** * Create the rolemap record * @param history history * @return a record to insert into the file */ private RoleHistoryRecord createRolemapRecord(RoleHistory history) { RoleHistoryMapping entry = new RoleHistoryMapping(); Map<CharSequence, Integer> mapping = history.buildMappingForHistoryFile(); entry.setRolemap(mapping); return new RoleHistoryRecord(entry); }
/** * Create the rolemap record * @param history history * @return a record to insert into the file */ private RoleHistoryRecord createRolemapRecord(RoleHistory history) { RoleHistoryMapping entry = new RoleHistoryMapping(); Map<CharSequence, Integer> mapping = history.buildMappingForHistoryFile(); entry.setRolemap(mapping); return new RoleHistoryRecord(entry); }