Class KettleDatabaseRepositoryUserDelegate
- java.lang.Object
-
- org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
-
- org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryUserDelegate
-
public class KettleDatabaseRepositoryUserDelegate extends KettleDatabaseRepositoryBaseDelegate
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
log, repository
-
-
Constructor Summary
Constructors Constructor Description KettleDatabaseRepositoryUserDelegate(KettleDatabaseRepository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexistsUserInfo(org.pentaho.di.repository.RepositoryElementInterface user)org.pentaho.di.core.RowMetaAndDatafillTableRow(IUser userInfo)intgetNrUsers()org.pentaho.di.core.RowMetaAndDatagetUser(org.pentaho.di.repository.ObjectId id_user)org.pentaho.di.repository.ObjectIdgetUserID(String login)IUserloadUserInfo(IUser userInfo, String login)IUserloadUserInfo(IUser userInfo, String login, String passwd)Load user with login from repository and verify the password...voidrenameUser(org.pentaho.di.repository.ObjectId id_user, String newname)voidsaveUserInfo(IUser userInfo)-
Methods inherited from class org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
quote, quoteTable
-
-
-
-
Constructor Detail
-
KettleDatabaseRepositoryUserDelegate
public KettleDatabaseRepositoryUserDelegate(KettleDatabaseRepository repository)
-
-
Method Detail
-
getUser
public org.pentaho.di.core.RowMetaAndData getUser(org.pentaho.di.repository.ObjectId id_user) throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
getUserID
public org.pentaho.di.repository.ObjectId getUserID(String login) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
loadUserInfo
public IUser loadUserInfo(IUser userInfo, String login) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
loadUserInfo
public IUser loadUserInfo(IUser userInfo, String login, String passwd) throws org.pentaho.di.core.exception.KettleException
Load user with login from repository and verify the password...- Parameters:
rep-login-passwd-- Throws:
org.pentaho.di.core.exception.KettleException
-
saveUserInfo
public void saveUserInfo(IUser userInfo) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
fillTableRow
public org.pentaho.di.core.RowMetaAndData fillTableRow(IUser userInfo)
-
getNrUsers
public int getNrUsers() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
existsUserInfo
public boolean existsUserInfo(org.pentaho.di.repository.RepositoryElementInterface user) throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
renameUser
public void renameUser(org.pentaho.di.repository.ObjectId id_user, String newname) throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
-