public abstract class UserUpdate extends Update
Modifier and Type | Field and Description |
---|---|
protected StringList |
patterns
Database patterns.
|
protected User |
user
User.
|
protected Users |
users
Users.
|
Constructor and Description |
---|
UserUpdate(UpdateType type,
User user,
String pattern,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
apply()
Applies this operation.
|
void |
merge(Update update)
Merges two update operations pointing to the same target.
|
String |
name()
Returns the name of the database.
|
protected abstract String |
operation()
Returns an info string.
|
int |
size()
Returns the number of update operations.
|
protected final Users users
protected final User user
protected final StringList patterns
public UserUpdate(UpdateType type, User user, String pattern, QueryContext qc, InputInfo info)
type
- type of this operationuser
- userqc
- query contextpattern
- patterninfo
- input infopublic String name()
public abstract void apply()
protected abstract String operation()
public final int size()
Update
public final void merge(Update update) throws QueryException
Update
merge
in class Update
update
- operation to merge withQueryException
- exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.