LPS-37392 Validate and change the friendly url in case one with the same name already exists
LPS-37392 Generated
LPS-37392 SF - follow same pattern from LayoutLocalServiceHelper (getMethod and validate method. Validate method should throw exception if not valid. In this case we can help creating the exception, so we can avoid the validate method).