Class PublicResourceReference<TEntity extends IUUIDEntity>

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:
  • Method Details

    • 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 of PublicResourceReference 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.