public interface ChangeSet extends Iterable<Change>, Serializable
| Modifier and Type | Method and Description |
|---|---|
Set<NodeKey> |
changedNodes()
Returns the set of keys for the nodes which has been changed.
|
String |
getJournalId()
Returns the identifier of the local
ChangeJournal instance. |
String |
getProcessKey()
Get the key of the process in which the changes were made.
|
String |
getRepositoryKey()
Get the key of the repository in which the changes were made.
|
String |
getSessionId()
Returns the ID of the session in which the changes occurred.
|
DateTime |
getTimestamp()
Returns the time at which the change set was created.
|
Map<String,String> |
getUserData()
Returns a set of (key,value) pairs which may contain additional user information.
|
String |
getUserId()
Returns the ID (username) of the user which performed the changes.
|
String |
getUUID()
Returns a unique identifier for this change set.
|
String |
getWorkspaceName()
Get the name of the workspace in which the changes were made.
|
boolean |
hasBinaryChanges()
Checks if there are any binary changes in this change set.
|
boolean |
isEmpty()
Checks if this set has any changes.
|
int |
size()
Return the number of individual changes.
|
Set<BinaryKey> |
unusedBinaries()
Returns the set of binary keys for those binary values which have become unused.
|
Set<BinaryKey> |
usedBinaries()
Returns the set of binary keys for those binary values which are being used.
|
int size()
boolean isEmpty()
true if there are any changes in this set.String getUserId()
String representing the username; may be null in the case of changes performed "by the system.Map<String,String> getUserData()
Map of additional information; never null but possibly empty.DateTime getTimestamp()
DateTime instance; never nullString getProcessKey()
String getRepositoryKey()
String getWorkspaceName()
Set<NodeKey> changedNodes()
nullSet<BinaryKey> unusedBinaries()
Set<BinaryKey> usedBinaries()
boolean hasBinaryChanges()
String getSessionId()
nullString getJournalId()
ChangeJournal instance.String if journaling is enabled, or null if journaling isn't enabled.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.