Modifier and Type | Class and Description |
---|---|
static class |
ContentSelector.ContentSelectorBuilder |
Modifier and Type | Field and Description |
---|---|
static ContentSelector |
UNSET |
Modifier and Type | Method and Description |
---|---|
ContentSelector |
asCurrent()
Returns a copy of this selector with status current and no version set.
|
static ContentSelector.ContentSelectorBuilder |
builder() |
boolean |
equals(Object o) |
static ContentSelector |
from(Content content) |
static ContentSelector |
fromId(ContentId contentId)
Deprecated.
since 5.10. CRA-1305: to be removed prior to 6.0 release. Use
from(Content) wherever possible. |
ContentId |
getId() |
ContentStatus |
getStatus() |
int |
getVersion() |
int |
hashCode() |
boolean |
hasVersion() |
boolean |
isEmpty() |
String |
toString() |
public static final ContentSelector UNSET
public ContentId getId()
public ContentStatus getStatus()
public int getVersion()
public boolean hasVersion()
public boolean isEmpty()
public ContentSelector asCurrent()
getId()
in cases where calling code specifically wants to
ignore any status and version information that might be in the original selector.public static ContentSelector from(Content content)
@Deprecated public static ContentSelector fromId(ContentId contentId)
from(Content)
wherever possible.public static ContentSelector.ContentSelectorBuilder builder()
Copyright © 2003–2017 Atlassian. All rights reserved.