public class UniqueNameGenerationHelper extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
UniqueNameGenerationHelper.NameGenerationOptions
POJO for customizing the options 
 | 
| Constructor and Description | 
|---|
UniqueNameGenerationHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
generateNewName(String originalName,
               UniqueNameGenerationHelper.NameGenerationOptions options)
Sometimes a new name needs to be generated for an entity, but not all names are allowed. 
 | 
public static final String generateNewName(String originalName, UniqueNameGenerationHelper.NameGenerationOptions options) throws LimitExceededException
My Project_Copy_9.originalName - Original name.options - options for generating the new nameLimitExceededException - When no new unique name could be generated.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.