Package ca.uhn.fhir.rest.api.server
Class SimplePreResourceAccessDetails
- java.lang.Object
-
- ca.uhn.fhir.rest.api.server.SimplePreResourceAccessDetails
-
- All Implemented Interfaces:
IPreResourceAccessDetails
public class SimplePreResourceAccessDetails extends Object implements IPreResourceAccessDetails
-
-
Constructor Summary
Constructors Constructor Description SimplePreResourceAccessDetails(List<T> theResources)SimplePreResourceAccessDetails(org.hl7.fhir.instance.model.api.IBaseResource theResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyFilterToList()Remove any blocked resources from the list that was passed into the constructororg.hl7.fhir.instance.model.api.IBaseResourcegetResource(int theIndex)booleanisDontReturnResourceAtIndex(int theIndex)voidsetDontReturnResourceAtIndex(int theIndex)intsize()
-
-
-
Constructor Detail
-
SimplePreResourceAccessDetails
public SimplePreResourceAccessDetails(org.hl7.fhir.instance.model.api.IBaseResource theResource)
-
SimplePreResourceAccessDetails
public SimplePreResourceAccessDetails(List<T> theResources)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIPreResourceAccessDetails
-
getResource
public org.hl7.fhir.instance.model.api.IBaseResource getResource(int theIndex)
- Specified by:
getResourcein interfaceIPreResourceAccessDetails
-
setDontReturnResourceAtIndex
public void setDontReturnResourceAtIndex(int theIndex)
- Specified by:
setDontReturnResourceAtIndexin interfaceIPreResourceAccessDetails
-
isDontReturnResourceAtIndex
public boolean isDontReturnResourceAtIndex(int theIndex)
-
applyFilterToList
public void applyFilterToList()
Remove any blocked resources from the list that was passed into the constructor
-
-