|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.post.storage.GroupData
public class GroupData
This interface is designed to serve as an abstraction of a data object stored in Post. This object will be stored in an encrypted state at a location in the network. Users can access this object by having a copy of the corresponding Reference object, which contains the location and possibly the key of this object.
Field Summary | |
---|---|
protected PostData[] |
data
|
Constructor Summary | |
---|---|
GroupData(PostData[] data)
Builds a GroupData given a collection of PostData |
Method Summary | |
---|---|
ContentHashReference |
buildContentHashReference(Id[] location,
byte[][] key)
This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key. |
SecureReference |
buildSecureReference(Id location,
byte[] key)
This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key. |
SignedReference |
buildSignedReference(Id location)
This method dynamically builds an appropriate SignedReference for this type of PostData given a location. |
PostData[] |
getData()
Returns the data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PostData[] data
Constructor Detail |
---|
public GroupData(PostData[] data)
data
- The dataMethod Detail |
---|
public PostData[] getData()
public SignedReference buildSignedReference(Id location)
buildSignedReference
in interface PostData
location
- The location of the data
public ContentHashReference buildContentHashReference(Id[] location, byte[][] key)
buildContentHashReference
in interface PostData
location
- The location of the datakey
- The for the data
public SecureReference buildSecureReference(Id location, byte[] key)
buildSecureReference
in interface PostData
location
- The location of the datakey
- The for the data
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |