mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-19 21:17:59 +00:00
issue_847: More javadocs
This commit is contained in:
parent
af75105f35
commit
59f50212f1
@ -10,6 +10,7 @@ public interface ComponentAttributeRepository extends JpaRepository<ComponentAtt
|
||||
/**
|
||||
* Query to look up Attribute Results based on the PlatformCredential's
|
||||
* db component id.
|
||||
*
|
||||
* @param componentId the unique id for the component identifier
|
||||
* @return a list of attribute results
|
||||
*/
|
||||
@ -17,6 +18,7 @@ public interface ComponentAttributeRepository extends JpaRepository<ComponentAtt
|
||||
|
||||
/**
|
||||
* Query to look up Attribute Results based on the validation id.
|
||||
*
|
||||
* @param provisionSessionId unique id generated to link supply chain summary
|
||||
* @return a list of attribute results
|
||||
*/
|
||||
@ -24,9 +26,11 @@ public interface ComponentAttributeRepository extends JpaRepository<ComponentAtt
|
||||
|
||||
/**
|
||||
* Query to look up Attribute Results based on the component id and the session id.
|
||||
*
|
||||
* @param componentId the unique id for the component identifier
|
||||
* @param provisionSessionId unique id generated to link supply chain summary
|
||||
* @return a list of attribute results
|
||||
*/
|
||||
List<ComponentAttributeResult> findByComponentIdAndProvisionSessionId(UUID componentId, UUID provisionSessionId);
|
||||
List<ComponentAttributeResult> findByComponentIdAndProvisionSessionId(UUID componentId,
|
||||
UUID provisionSessionId);
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import java.util.UUID;
|
||||
public interface ComponentInfoRepository extends JpaRepository<ComponentInfo, UUID> {
|
||||
/**
|
||||
* Query that retrieves device components by device name.
|
||||
*
|
||||
* @param deviceName string for the host name
|
||||
* @return a list of device components
|
||||
*/
|
||||
@ -17,6 +18,7 @@ public interface ComponentInfoRepository extends JpaRepository<ComponentInfo, UU
|
||||
/**
|
||||
* Query that retrieves device components by device name and
|
||||
* the component serial number.
|
||||
*
|
||||
* @param deviceName string for the host name
|
||||
* @param componentSerial string for the component serial
|
||||
* @return a list of device components
|
||||
|
@ -12,6 +12,7 @@ public interface ComponentResultRepository extends JpaRepository<ComponentResult
|
||||
|
||||
/**
|
||||
* Query based on the device serial number.
|
||||
*
|
||||
* @param boardSerialNumber variable holding the device serial number
|
||||
* @return a list of component result.
|
||||
*/
|
||||
@ -19,6 +20,7 @@ public interface ComponentResultRepository extends JpaRepository<ComponentResult
|
||||
|
||||
/**
|
||||
* Query based on the device serial number.
|
||||
*
|
||||
* @param boardSerialNumber variable holding the device serial number
|
||||
* @param delta flag indicating if the component is associated with a delta certificate
|
||||
* @return a list of component result.
|
||||
@ -27,6 +29,7 @@ public interface ComponentResultRepository extends JpaRepository<ComponentResult
|
||||
|
||||
/**
|
||||
* Query based on certificate serial number and device serial number.
|
||||
*
|
||||
* @param certificateSerialNumber certificate specific serial number
|
||||
* @param boardSerialNumber variable holding the device serial number
|
||||
* @return a list of component result.
|
||||
|
Loading…
Reference in New Issue
Block a user