public class PropertyDBObject
extends java.lang.Object
Constructor and Description |
---|
PropertyDBObject(Node node,
java.lang.String name,
int multiple) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ItemVisitor iv) |
Item |
getAncestor(int depth) |
Binary |
getBinary() |
boolean |
getBoolean() |
java.util.Calendar |
getDate() |
java.math.BigDecimal |
getDecimal() |
PropertyDefinition |
getDefinition() |
int |
getDepth() |
double |
getDouble() |
long |
getLength() |
long[] |
getLengths() |
long |
getLong() |
java.lang.String |
getName() |
Node |
getNode() |
Node |
getParent() |
java.lang.String |
getPath() |
Property |
getProperty() |
Session |
getSession() |
java.io.InputStream |
getStream() |
java.lang.String |
getString() |
int |
getType() |
Value |
getValue() |
Value[] |
getValues() |
boolean |
isModified() |
boolean |
isMultiple() |
boolean |
isNew() |
boolean |
isNode() |
boolean |
isSame(Item item) |
void |
refresh(boolean keepChanges) |
void |
remove() |
void |
save() |
void |
setValue(Binary binary) |
void |
setValue(Node node) |
void |
setValue(Value value) |
void |
setValue(Value[] values) |
java.lang.String |
toString() |
public PropertyDBObject(Node node, java.lang.String name, int multiple)
@CheckReturnValue @Nonnull public java.lang.String toString()
toString
in class java.lang.Object
public void setValue(Value value) throws ValueFormatException, VersionException, LockException, ConstraintViolationException, RepositoryException
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException
public void setValue(Value[] values) throws ValueFormatException, VersionException, LockException, ConstraintViolationException, RepositoryException
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException
public void setValue(Binary binary) throws ValueFormatException, VersionException, LockException, ConstraintViolationException, RepositoryException
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException
public void setValue(Node node) throws ValueFormatException, VersionException, LockException, ConstraintViolationException, RepositoryException
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException
public Value getValue() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public Value[] getValues() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public java.lang.String getString() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public java.io.InputStream getStream() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public Binary getBinary() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public long getLong() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public double getDouble() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public java.math.BigDecimal getDecimal() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public java.util.Calendar getDate() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public boolean getBoolean() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public Node getNode() throws ItemNotFoundException, ValueFormatException, RepositoryException
ItemNotFoundException
ValueFormatException
RepositoryException
public Property getProperty() throws ItemNotFoundException, ValueFormatException, RepositoryException
ItemNotFoundException
ValueFormatException
RepositoryException
public long getLength() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public long[] getLengths() throws ValueFormatException, RepositoryException
ValueFormatException
RepositoryException
public PropertyDefinition getDefinition() throws RepositoryException
RepositoryException
public int getType() throws RepositoryException
RepositoryException
public boolean isMultiple() throws RepositoryException
RepositoryException
public java.lang.String getPath() throws RepositoryException
RepositoryException
public java.lang.String getName() throws RepositoryException
RepositoryException
public Item getAncestor(int depth) throws ItemNotFoundException, AccessDeniedException, RepositoryException
ItemNotFoundException
AccessDeniedException
RepositoryException
public Node getParent() throws ItemNotFoundException, AccessDeniedException, RepositoryException
ItemNotFoundException
AccessDeniedException
RepositoryException
public int getDepth() throws RepositoryException
RepositoryException
public Session getSession() throws RepositoryException
RepositoryException
public boolean isNode()
public boolean isNew()
public boolean isModified()
public boolean isSame(Item item) throws RepositoryException
RepositoryException
public void accept(ItemVisitor iv) throws RepositoryException
RepositoryException
public void save() throws AccessDeniedException, ItemExistsException, ConstraintViolationException, InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException, NoSuchNodeTypeException, RepositoryException
AccessDeniedException
ItemExistsException
ConstraintViolationException
InvalidItemStateException
ReferentialIntegrityException
VersionException
LockException
NoSuchNodeTypeException
RepositoryException
public void refresh(boolean keepChanges) throws InvalidItemStateException, RepositoryException
InvalidItemStateException
RepositoryException
public void remove() throws VersionException, LockException, ConstraintViolationException, AccessDeniedException, RepositoryException
VersionException
LockException
ConstraintViolationException
AccessDeniedException
RepositoryException
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.