public class CreateUser extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
CreateUser(Session session) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setAdmin(boolean b) |
void |
setComment(String comment) |
void |
setHash(Expression e) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setPassword(Expression password) |
void |
setSalt(Expression e) |
void |
setUserName(String userName) |
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 CreateUser(Session session)
public void setIfNotExists(boolean ifNotExists)
public void setUserName(String userName)
public void setPassword(Expression password)
public int update()
Preparedpublic void setSalt(Expression e)
public void setHash(Expression e)
public void setAdmin(boolean b)
public void setComment(String comment)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.