Package net.solarnetwork.central.dao
Interface UserRelatedEntity<PK>
- Type Parameters:
PK- the primary key type
- All Superinterfaces:
Comparable<PK>,net.solarnetwork.dao.Entity<PK>,net.solarnetwork.domain.Identity<PK>,UserIdRelated
- All Known Implementing Classes:
BaseUserCertificate,BaseUserModifiableEntity,UserEvent
API for an entity associated with a user ID.
- Since:
- 2.0
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.dao.Entity
getCreatedMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Method Details
-
getUserId
Long getUserId()Get the user ID this entity relates to.- Specified by:
getUserIdin interfaceUserIdRelated- Returns:
- the user ID
-