Package com.sun.identity.sm.model
Class FAMRecord
- java.lang.Object
-
- org.forgerock.openam.session.model.AMRootEntity
-
- com.sun.identity.sm.model.FAMRecord
-
- All Implemented Interfaces:
Serializable
public class FAMRecord extends AMRootEntity
FAMRecord stores all the data that the user would store in the database.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.forgerock.openam.session.model.AMRootEntity
DELETE, DELETEBYDATE, FLUSHALL, GET_RECORD_COUNT, READ, READ_WITH_SEC_KEY, SHUTDOWN, WRITE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes(String key)HashMapgetExtraByteAttributes()HashMapgetExtraStringAttributes()StringgetString(String key)voidsetBytes(String key, byte[] bytes)voidsetString(String key, String val)voidsetStringAttrs(HashMap map)StringtoString()-
Methods inherited from class org.forgerock.openam.session.model.AMRootEntity
getAuxData, getData, getExpDate, getOperation, getPrimaryKey, getSecondaryKey, getSerializedInternalSessionBlob, getService, getState, setAuxData, setData, setExpDate, setOperation, setPrimaryKey, setSecondaryKey, setSerializedInternalSessionBlob, setService, setState
-
-
-
-
Constructor Detail
-
FAMRecord
public FAMRecord(String svc, String op, String pKey, long eDate, String secKey, int st, String ax, byte[] serializedInternalSessionBlob)
FAMRecord represents the data fields that the user would store in a persistent datastore.- Parameters:
svc- Service code such as session or saml2op- Operation such as read, write, delete, deletebydate.pKey- Primary KeyeDate- Expiration DatesecKey- Secondary Keyst- stateax- Additional DataserializedInternalSessionBlob- Binary Blob
-
-
Method Detail
-
setBytes
public void setBytes(String key, byte[] bytes)
-
setStringAttrs
public void setStringAttrs(HashMap map)
-
getBytes
public byte[] getBytes(String key)
-
getExtraStringAttributes
public HashMap getExtraStringAttributes()
-
getExtraByteAttributes
public HashMap getExtraByteAttributes()
-
toString
public String toString()
- Overrides:
toStringin classAMRootEntity
-
-