public class AlterUser extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setAdmin(boolean admin) |
void |
setHash(Expression e) |
void |
setNewName(String newName) |
void |
setPassword(Expression password) |
void |
setSalt(Expression e) |
void |
setType(int type) |
void |
setUser(User user) |
int |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toStringpublic AlterUser(Session session)
public void setType(int type)
public void setNewName(String newName)
public void setUser(User user)
public void setAdmin(boolean admin)
public void setSalt(Expression e)
public void setHash(Expression e)
public void setPassword(Expression password)
public int update()
PreparedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.