Package lumis.content.core
Class ContentUniqueSlug
- java.lang.Object
-
- lumis.content.core.ContentUniqueSlug
-
public class ContentUniqueSlug extends Object
Content unique slug.- Since:
- 14.1.0
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
-
-
Constructor Summary
Constructors Constructor Description ContentUniqueSlug(String uniqueSlugStr)
Creates a unique friendly id from the given generated string.ContentUniqueSlug(String serviceInstanceId, String sourceId, String slug)
Create a unique slug with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getServiceInstanceId()
Returns the service instance identifier.String
getSlug()
Returns the slug.String
getSourceId()
Returns the source identifier.String
getUniqueSlug()
Returns the unique slug.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ContentUniqueSlug
public ContentUniqueSlug(String serviceInstanceId, String sourceId, String slug)
Create a unique slug with the given parameters.- Parameters:
serviceInstanceId
- the service instance identifier.sourceId
- the source identifier.slug
- the slug.- Since:
- 14.1.0
-
ContentUniqueSlug
public ContentUniqueSlug(String uniqueSlugStr)
Creates a unique friendly id from the given generated string.- Parameters:
uniqueSlugStr
- the unique friendly id string.- Since:
- 14.1.0
-
-
Method Detail
-
getServiceInstanceId
public String getServiceInstanceId()
Returns the service instance identifier.- Returns:
- the service instance identifier.
- Since:
- 14.1.0
-
getSourceId
public String getSourceId()
Returns the source identifier.- Returns:
- the source identifier.
- Since:
- 14.1.0
-
getSlug
public String getSlug()
Returns the slug.- Returns:
- the slug.
- Since:
- 14.1.0
-
getUniqueSlug
public String getUniqueSlug()
Returns the unique slug.- Returns:
- the unique slug.
- Since:
- 14.1.0
-
-