Package org.cyclos.impl.access
Class SessionDataSubjectId
- java.lang.Object
-
- org.cyclos.impl.access.SessionDataSubjectId
-
- All Implemented Interfaces:
Serializable
public class SessionDataSubjectId extends Object implements Serializable
An identifier for the subject of aSessionData- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSessionDataSubjectId.SessionDataSubject
-
Constructor Summary
Constructors Modifier Constructor Description protectedSessionDataSubjectId(SessionDataSubjectId.SessionDataSubject subject, Long entityId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LonggetEntityId()SessionDataSubjectId.SessionDataSubjectgetSubject()static SessionDataSubjectIdguest(Configuration configuration)inthashCode()static SessionDataSubjectIdsystem(Network network)StringtoString()static SessionDataSubjectIduser(BasicUser user)
-
-
-
Constructor Detail
-
SessionDataSubjectId
protected SessionDataSubjectId(SessionDataSubjectId.SessionDataSubject subject, Long entityId)
-
-
Method Detail
-
guest
public static SessionDataSubjectId guest(Configuration configuration)
-
system
public static SessionDataSubjectId system(Network network)
-
user
public static SessionDataSubjectId user(BasicUser user)
-
getEntityId
public Long getEntityId()
-
getSubject
public SessionDataSubjectId.SessionDataSubject getSubject()
-
-