Class PublicResourceReference<TEntity extends IUUIDEntity>
- java.lang.Object
-
- de.xima.fc.api.rest.impl.common.resource.response.AResource
-
- de.xima.fc.api.rest.impl.common.resource.response.AUuidResource
-
- de.xima.fc.api.rest.impl.common.resource.response.AUuidEntityResource<TEntity>
-
- de.xima.fc.api.rest.impl.common.resource.response.PublicResourceReference<TEntity>
-
- Type Parameters:
TEntity
- type of UUID entity.
- All Implemented Interfaces:
IResource
,IUuidResource
,Serializable
public class PublicResourceReference<TEntity extends IUUIDEntity> extends AUuidEntityResource<TEntity>
Model class for public resource references.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <TEntity extends de.xima.cmn.dao.interfaces.IEntity<?> & IUUIDEntity>
PublicResourceReference<TEntity>create(TEntity entity, javax.ws.rs.core.UriInfo uriInfo, Locale locale)
Creates a new instance ofPublicResourceReference
for the given entity.-
Methods inherited from class de.xima.fc.api.rest.impl.common.resource.response.AUuidResource
getUuid
-
-
-
-
Method Detail
-
create
public static <TEntity extends de.xima.cmn.dao.interfaces.IEntity<?> & IUUIDEntity> PublicResourceReference<TEntity> create(TEntity entity, javax.ws.rs.core.UriInfo uriInfo, Locale locale)
Creates a new instance ofPublicResourceReference
for the given entity.- Type Parameters:
TEntity
- type of UUID entity.- Parameters:
entity
- the entity to create the reference for.uriInfo
- the URI info for creating links.locale
- the locale if necessary for link creation.- Returns:
- the created instance.
-
-