Class PersistentLinkableView<T extends PersistentObject>

Type Parameters:
T - the model class extends from PersistentObject

@DataViewBinding(modelType=PersistentObject.class) public abstract class PersistentLinkableView<T extends PersistentObject> extends EntryableView<T>
Default implementation of persistent data view.
  • Constructor Details

    • PersistentLinkableView

      public PersistentLinkableView(T persistentObject, UriInfo uriInfo, String repositoryName, Boolean returnLinks, Map<String,Object> others)
      The parameterized constructor.
      Parameters:
      persistentObject - the persistent object to be serialized
      uriInfo - the URI info of the request. This is typically obtained from the resource controller where the controller method has an annotated parameter for RequestUri
      repositoryName - the repository name
      returnLinks - indicates whether to return links for this model instance
      others - other parameters
  • Method Details