Interface IEntityInformationProvider


public interface IEntityInformationProvider
Provides required information about entities.
  • Method Details

    • getIdentifier

      String getIdentifier(IEntityLinkElement entityLink)
      Returns:
      identifier of entity specified by given link, null if such an entity doesn't exist
    • getSamplePermId

      String getSamplePermId(String spaceCode, String sampleCode)
      Returns:
      permId of sample specified by given space and code, null if such a sample doesn't exist
    • getProjectSamplePermId

      String getProjectSamplePermId(String spaceCode, String projectCode, String sampleCode)
      Returns:
      permId of project sample specified by given space, project and code, null if such a sample doesn't exist
    • getSamplePermId

      String getSamplePermId(String sampleIdentifier)
      Returns:
      permId of sample specified by given identifier, null if such a sample doesn't exist
    • getSampleParentPermIds

      List<String> getSampleParentPermIds(String spaceCode, String sampleCode)
      Returns:
      list of permIds of parents of a sample with given space and code
    • getProjectSampleParentPermIds

      List<String> getProjectSampleParentPermIds(String spaceCode, String projectCode, String sampleCode)
      Returns:
      list of permIds of parents of a project sample with given space, project and code
    • getSampleParentPermIds

      List<String> getSampleParentPermIds(String permId)
      Returns:
      list of permIds of parents of a sample with given permId
    • getSamplePropertyValue

      String getSamplePropertyValue(String permId, String propertyCode)
      Returns:
      value of a property with given code of a sample with given permIds, empty string if the property doesn't exist