Interface IEntityInformationProvider
public interface IEntityInformationProvider
Provides required information about entities.
-
Method Summary
Modifier and TypeMethodDescriptiongetIdentifier(IEntityLinkElement entityLink) getProjectSampleParentPermIds(String spaceCode, String projectCode, String sampleCode) getProjectSamplePermId(String spaceCode, String projectCode, String sampleCode) getSampleParentPermIds(String permId) getSampleParentPermIds(String spaceCode, String sampleCode) getSamplePermId(String sampleIdentifier) getSamplePermId(String spaceCode, String sampleCode) getSamplePropertyValue(String permId, String propertyCode)
-
Method Details
-
getSamplePermId
- Returns:
- permId of sample specified by given space and code,
nullif such a sample doesn't exist
-
getProjectSamplePermId
- Returns:
- permId of project sample specified by given space, project and code,
nullif such a sample doesn't exist
-
getSamplePermId
- Returns:
- permId of sample specified by given identifier,
nullif such a sample doesn't exist
-
getSampleParentPermIds
- Returns:
- list of permIds of parents of a sample with given space and code
-
getProjectSampleParentPermIds
- Returns:
- list of permIds of parents of a project sample with given space, project and code
-
getSampleParentPermIds
- Returns:
- list of permIds of parents of a sample with given permId
-
getSamplePropertyValue
- Returns:
- value of a property with given code of a sample with given permIds, empty string if the property doesn't exist