common
Class Group

java.lang.Object
  extended by common.Group

public class Group
extends Object

The Group entity is defined by an unique ID and its group folder. In addition it holds attributes such as the group owner, its list of users, security keys and settings.


Field Summary
 String folderName
          The group folder's name is also the group's actual name.
 long groupID
          The group's unique identifier.
 List<String> keys
          For security mechanisms the group must have a series of keys.
 User owner
          The groups owner.
 User pendingOwner
          A user that will become the group's owner after an ownership transfer.
 Properties settings
          The group's settings.
 List<User> users
          The group's users.
 
Constructor Summary
Group()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupID

public long groupID
The group's unique identifier. It is not visible to users through the application's interface. It is used only internally to identify groups.


folderName

public String folderName
The group folder's name is also the group's actual name. This folder is the root for all the files and folders created by the group's users.


owner

public User owner
The groups owner.


pendingOwner

public User pendingOwner
A user that will become the group's owner after an ownership transfer. It is marked as pending only during the transfer.


keys

public List<String> keys
For security mechanisms the group must have a series of keys. Details regarding encryption and authentication techniques are on application level. At domain level, it is only relevant that they are needed.


users

public List<User> users
The group's users.


settings

public Properties settings
The group's settings. Settings are implementation dependent. Exact settings or their number is not set at domain level. They should include properties such as the maximum number of users and the maximum storage capacity.

Constructor Detail

Group

public Group()