|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.graph.commands.basic.BasicGraphCommand
org.jboss.dna.graph.commands.basic.BasicGetPropertiesCommand
@NotThreadSafe public class BasicGetPropertiesCommand

| Constructor Summary | |
|---|---|
BasicGetPropertiesCommand(Path path)
|
|
| Method Summary | |
|---|---|
CachePolicy |
getCachePolicy()
Get the caching policy to be used for this object. |
Path |
getPath()
Get the path to which this command applies. |
Iterable<Property> |
getProperties()
Get the property values that were added to the command |
Map<Name,Property> |
getPropertiesByName()
|
DateTime |
getTimeLoaded()
Get the time that this node data was originally loaded. |
void |
setCachePolicy(CachePolicy cachePolicy)
Set the caching policy for this object. |
void |
setProperties(Map<Name,Property> properties)
|
void |
setProperty(Property property)
Set the values for the named property. |
void |
setTimeLoaded(DateTime timeLoaded)
|
String |
toString()
|
| Methods inherited from class org.jboss.dna.graph.commands.basic.BasicGraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setCancelled, setError |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setError |
| Constructor Detail |
|---|
public BasicGetPropertiesCommand(Path path)
path - the path to the node; may not be null| Method Detail |
|---|
public void setProperty(Property property)
setProperty in interface GetPropertiesCommandproperty - the propertypublic void setProperties(Map<Name,Property> properties)
public Iterable<Property> getProperties()
public Map<Name,Property> getPropertiesByName()
public Path getPath()
PathNotFoundException exception should
be recorded as an error.
getPath in interface ActsOnPathpublic CachePolicy getCachePolicy()
Note that the values of the policy are relative to the time the node was loaded, so the same
instance can be used for many nodes.
getCachePolicy in interface Cacheablepublic DateTime getTimeLoaded()
getTimeLoaded in interface Cacheablepublic void setTimeLoaded(DateTime timeLoaded)
timeLoaded - Sets timeLoaded to the specified value.public void setCachePolicy(CachePolicy cachePolicy)
setCachePolicy in interface CacheablecachePolicy - the caching policy to use for this objectpublic String toString()
toString in class ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||