Package | Description |
---|---|
org.modeshape.connector.git | |
org.modeshape.jcr | |
org.modeshape.jcr.api.monitor |
This package provides a set of interfaces and enumerations used for monitoring ModeShape repositories.
|
org.modeshape.jcr.api.value | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.change | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.index.lucene | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
org.modeshape.jcr.value.binary |
Modifier and Type | Method and Description |
---|---|
DateTime |
Values.dateFrom(int secondsSinceEpoch) |
Modifier and Type | Method and Description |
---|---|
protected MutableCachedNode |
SystemContent.initializeVersionStorage(NodeKey versionableNodeKey,
NodeKey versionHistoryKey,
NodeKey versionKey,
Name primaryTypeName,
Set<Name> mixinTypeNames,
Path versionHistoryPath,
NodeKey originalVersionKey,
DateTime now)
Create and initialize the version history structure for a versionable node with the supplied UUID.
|
MutableCachedNode |
SystemContent.recordNewVersion(CachedNode versionableNode,
SessionCache cacheForVersionableNode,
Path versionHistoryPath,
NodeKey originalVersionKey,
Collection<Property> versionableProperties,
DateTime now,
AtomicReference<MutableCachedNode> frozenNodeOutput)
The method efficiently updates the JCR version history and storage with a new version of a node being checked in.
|
Constructor and Description |
---|
SequencingContext(DateTime now,
ValueFactory jcrValueFactory) |
Modifier and Type | Method and Description |
---|---|
DateTime |
History.getEndTime()
Get the timestamp (including time zone information) at which this history window ends.
|
DateTime |
History.getStartTime()
Get the timestamp (including time zone information) at which this history window starts.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
DateTime.minus(Duration duration)
Subtract the specified amount.
|
DateTime |
DateTime.plus(Duration duration)
Add the specified amount of time.
|
DateTime |
DateTime.toTimeZone(String timeZoneId)
Convert this time to the time zone given by the supplied identifier.
|
DateTime |
DateTime.toUtcTimeZone()
Convert this time to the same instant in the UTC time zone.
|
Modifier and Type | Method and Description |
---|---|
int |
DateTime.compareTo(DateTime other) |
boolean |
DateTime.isAfter(DateTime other)
Return whether this date-time is later than the supplied date-time.
|
boolean |
DateTime.isBefore(DateTime other)
Return whether this date-time is earlier than the supplied date-time.
|
boolean |
DateTime.isSameAs(DateTime other)
Return whether this date-time is exactly the the same as the supplied date-time.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
SessionCache.SaveContext.getTime()
Get the instance in time that the save is taking place.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
RecordingChanges.getTimestamp() |
DateTime |
ChangeSet.getTimestamp()
Returns the time at which the change set was created.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.freeze(String userId,
Map<String,String> userData,
DateTime timestamp)
Marks this change set as frozen (aka. closed).
|
Modifier and Type | Method and Description |
---|---|
DateTime |
AbstractSessionCache.BasicSaveContext.getTime() |
Modifier and Type | Method and Description |
---|---|
protected void |
LuceneIndex.addDateField(String propertyName,
DateTime value,
List<org.apache.lucene.document.Field> fields) |
Modifier and Type | Method and Description |
---|---|
QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder> |
QueryBuilder.RightHandSide.cast(DateTime literal)
Define the right-hand side of a comparison.
|
QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder> |
QueryBuilder.UpperBoundary.cast(DateTime literal)
Define the upper boundary value of a range.
|
QueryBuilder.CastAs<QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>> |
QueryBuilder.LowerBoundary.cast(DateTime literal)
Define the lower boundary value of a range.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.RightHandSide.literal(DateTime literal)
Define the right-hand side of a comparison.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.UpperBoundary.literal(DateTime literal)
Define the upper boundary value of a range.
|
QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary> |
QueryBuilder.LowerBoundary.literal(DateTime literal)
Define the lower boundary value of a range.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<DateTime> |
ValueComparators.DATE_TIME_COMPARATOR
A comparator of date-time instances.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
DateTimeFactory.create()
Create a date-time instance for the current time in the local time zone.
|
DateTime |
DateTimeFactory.create(DateTime original,
long offsetInMillis)
Create a date-time instance that is offset from the original by the specified amount.
|
DateTime |
DateTimeFactory.create(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisecondsOfSecond)
Create a date-time instance given the individual values for the fields
|
DateTime |
DateTimeFactory.createUtc()
Create a date-time instance for the current time in UTC.
|
Modifier and Type | Method and Description |
---|---|
int |
ValueComparators.DateTimeComparator.compare(DateTime o1,
DateTime o2) |
T |
ValueFactory.create(DateTime value)
Create a value from a date-time instant.
|
T[] |
ValueFactory.create(DateTime[] values)
Create an array of values from an array of
DateTime instants. |
DateTime |
DateTimeFactory.create(DateTime original,
long offsetInMillis)
Create a date-time instance that is offset from the original by the specified amount.
|
Modifier and Type | Class and Description |
---|---|
class |
ModeShapeDateTime
Implementation of DateTime based on JDK 8 functionality.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
ModeShapeDateTimeValueFactory.create() |
DateTime |
ModeShapeDateTimeValueFactory.create(BigDecimal value) |
DateTime |
ModeShapeDateTimeValueFactory.create(BinaryValue value) |
DateTime |
ModeShapeDateTimeValueFactory.create(boolean value) |
DateTime |
ModeShapeDateTimeValueFactory.create(byte[] value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Calendar value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Date value) |
DateTime |
ModeShapeDateTimeValueFactory.create(DateTime value) |
DateTime |
ModeShapeDateTimeValueFactory.create(DateTime original,
long offsetInMillis) |
DateTime |
ModeShapeDateTimeValueFactory.create(double value) |
DateTime |
ModeShapeDateTimeValueFactory.create(float value) |
DateTime |
ModeShapeDateTimeValueFactory.create(InputStream stream) |
DateTime |
ModeShapeDateTimeValueFactory.create(int value) |
DateTime |
ModeShapeDateTimeValueFactory.create(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisecondsOfSecond) |
DateTime |
ModeShapeDateTimeValueFactory.create(long value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Name value) |
DateTime |
ModeShapeDateTimeValueFactory.create(NodeKey value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Path.Segment value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Path value) |
DateTime |
ModeShapeDateTimeValueFactory.create(Reference value) |
DateTime |
ModeShapeDateTimeValueFactory.create(String value) |
DateTime |
ModeShapeDateTimeValueFactory.create(String value,
TextDecoder decoder) |
DateTime |
ModeShapeDateTimeValueFactory.create(URI value) |
DateTime |
ModeShapeDateTimeValueFactory.create(UUID value) |
DateTime[] |
ModeShapeDateTimeValueFactory.createEmptyArray(int length) |
DateTime |
ModeShapeDateTimeValueFactory.createUtc() |
DateTime |
ModeShapeDateTime.minus(Duration duration) |
DateTime |
ModeShapeDateTime.plus(Duration duration) |
Modifier and Type | Method and Description |
---|---|
int |
ModeShapeDateTime.compareTo(DateTime that) |
URI |
UriValueFactory.create(DateTime value) |
String |
StringValueFactory.create(DateTime value) |
Reference |
ReferenceValueFactory.create(DateTime value) |
Path |
PathValueFactory.create(DateTime value) |
Object |
ObjectValueFactory.create(DateTime value) |
Name |
NameValueFactory.create(DateTime value) |
DateTime |
ModeShapeDateTimeValueFactory.create(DateTime value) |
Long |
LongValueFactory.create(DateTime value) |
Double |
DoubleValueFactory.create(DateTime value) |
BigDecimal |
DecimalValueFactory.create(DateTime value) |
Boolean |
BooleanValueFactory.create(DateTime value) |
T[] |
AbstractValueFactory.create(DateTime[] values) |
DateTime |
ModeShapeDateTimeValueFactory.create(DateTime original,
long offsetInMillis) |
boolean |
ModeShapeDateTime.isAfter(DateTime other) |
boolean |
ModeShapeDateTime.isBefore(DateTime other) |
boolean |
ModeShapeDateTime.isSameAs(DateTime other) |
Modifier and Type | Method and Description |
---|---|
BinaryValue |
BinaryStoreValueFactory.create(DateTime value) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.