|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.catalog.AbstractCatalog vishnu.model.catalog.UserCatalogImpl
public class UserCatalogImpl
Field Summary |
---|
Fields inherited from class vishnu.model.catalog.AbstractCatalog |
---|
catalog, columnName, databaseName, innerTable, name, nameFieldSize, pkSet, tableName, tableSignature, userFieldSize, userName |
Method Summary | |
---|---|
void |
addUser(UserContext c,
java.lang.String password)
Agrega un usuario al catalogo. |
protected void |
buildPK()
|
protected void |
buildSignature()
|
boolean |
contains(UserContext c,
java.lang.String password)
Indica si el catalogo contiene al usuario. |
void |
dropUser(UserContext c)
Elimina un usuario del catalogo. |
User |
getUser(DatabaseContext c,
java.lang.String userName,
java.lang.String password)
Devuelve el usuario especificado |
java.util.Collection<User> |
getUsers(DatabaseContext c)
Devuelve los nombres de todos los usuarios. |
Methods inherited from class vishnu.model.catalog.AbstractCatalog |
---|
close, getName, getSignature, innerTable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface vishnu.model.catalog.Catalog |
---|
close, getName, getSignature |
Method Detail |
---|
protected void buildSignature()
buildSignature
in class AbstractCatalog
protected void buildPK()
buildPK
in class AbstractCatalog
public void addUser(UserContext c, java.lang.String password)
UserCatalog
addUser
in interface UserCatalog
password
- - la contraseņa del usuario.public boolean contains(UserContext c, java.lang.String password)
UserCatalog
contains
in interface UserCatalog
password
- - la contraseņa del usuario.
public java.util.Collection<User> getUsers(DatabaseContext c)
UserCatalog
getUsers
in interface UserCatalog
public void dropUser(UserContext c)
UserCatalog
dropUser
in interface UserCatalog
public User getUser(DatabaseContext c, java.lang.String userName, java.lang.String password)
UserCatalog
getUser
in interface UserCatalog
userName
- - el nombre del usuario.password
- - la contraseņa del usuario.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |