gate.security
Interface Group


public interface Group


Field Summary
static int OBJECT_CHANGE_ADDUSER
           
static int OBJECT_CHANGE_NAME
           
static int OBJECT_CHANGE_REMOVEUSER
           
 
Method Summary
 void addUser(Long userID, Session s)
          ---
 void addUser(User usr, Session s)
          ---
 Long getID()
          ---
 String getName()
          ---
 List getUsers()
          ---
 void removeUser(Long userID, Session s)
          ---
 void removeUser(User usr, Session s)
          ---
 void setName(String newName, Session s)
          ---
 

Field Detail

OBJECT_CHANGE_NAME

static final int OBJECT_CHANGE_NAME
See Also:
Constant Field Values

OBJECT_CHANGE_ADDUSER

static final int OBJECT_CHANGE_ADDUSER
See Also:
Constant Field Values

OBJECT_CHANGE_REMOVEUSER

static final int OBJECT_CHANGE_REMOVEUSER
See Also:
Constant Field Values
Method Detail

getID

Long getID()
---


getName

String getName()
---


getUsers

List getUsers()
---


setName

void setName(String newName,
             Session s)
             throws PersistenceException,
                    SecurityException
---

Throws:
PersistenceException
SecurityException

addUser

void addUser(Long userID,
             Session s)
             throws PersistenceException,
                    SecurityException
---

Throws:
PersistenceException
SecurityException

addUser

void addUser(User usr,
             Session s)
             throws PersistenceException,
                    SecurityException
---

Throws:
PersistenceException
SecurityException

removeUser

void removeUser(Long userID,
                Session s)
                throws PersistenceException,
                       SecurityException
---

Throws:
PersistenceException
SecurityException

removeUser

void removeUser(User usr,
                Session s)
                throws PersistenceException,
                       SecurityException
---

Throws:
PersistenceException
SecurityException