org.pentaho.di.repository.kdr.delegates
Class KettleDatabaseRepositoryUserDelegate

java.lang.Object
  extended by org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
      extended by org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryUserDelegate

public class KettleDatabaseRepositoryUserDelegate
extends KettleDatabaseRepositoryBaseDelegate


Constructor Summary
KettleDatabaseRepositoryUserDelegate(KettleDatabaseRepository repository)
           
 
Method Summary
 boolean existsUserInfo(RepositoryElementInterface user)
           
 RowMetaAndData fillTableRow(IUser userInfo)
           
 int getNrUsers()
           
 RowMetaAndData getUser(ObjectId id_user)
           
 ObjectId getUserID(String login)
           
 IUser loadUserInfo(IUser userInfo, String login)
           
 IUser loadUserInfo(IUser userInfo, String login, String passwd)
          Load user with login from repository and verify the password...
 void renameUser(ObjectId id_user, String newname)
           
 void saveUserInfo(IUser userInfo)
           
 
Methods inherited from class org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
quote, quoteTable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KettleDatabaseRepositoryUserDelegate

public KettleDatabaseRepositoryUserDelegate(KettleDatabaseRepository repository)
Method Detail

getUser

public RowMetaAndData getUser(ObjectId id_user)
                       throws KettleException
Throws:
KettleException

getUserID

public ObjectId getUserID(String login)
                   throws KettleException
Throws:
KettleException

loadUserInfo

public IUser loadUserInfo(IUser userInfo,
                          String login)
                   throws KettleException
Throws:
KettleException

loadUserInfo

public IUser loadUserInfo(IUser userInfo,
                          String login,
                          String passwd)
                   throws KettleException
Load user with login from repository and verify the password...

Parameters:
rep -
login -
passwd -
Throws:
KettleException

saveUserInfo

public void saveUserInfo(IUser userInfo)
                  throws KettleException
Throws:
KettleException

fillTableRow

public RowMetaAndData fillTableRow(IUser userInfo)

getNrUsers

public int getNrUsers()
               throws KettleException
Throws:
KettleException

existsUserInfo

public boolean existsUserInfo(RepositoryElementInterface user)
                       throws KettleException
Throws:
KettleException

renameUser

public void renameUser(ObjectId id_user,
                       String newname)
                throws KettleException
Throws:
KettleException