|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceInfo
The ResourceInfo interface keeps information common to
both existing and not yet existing JCR resources (document or folder).
| Method Summary | |
|---|---|
Date |
getDateCreated()
Gets the date of creation of the JCR resource. |
Date |
getDateLastModified()
Gets the date of last modification of the JCR resource. |
String |
getDescription()
Gets the description of the JCR resource. |
String |
getName()
Get the name of the JCR resource. |
String |
getOwner()
Gets the owner of the JCR resource. |
Map |
getProperties()
Gets all custom properties of the JCR resource. |
Serializable |
getProperty(String name)
Gets a single custom property of the JCR resource. |
void |
setDescription(String description)
Sets the description of the JCR resource. |
void |
setName(String name)
Sets the name of the JCR resource. |
void |
setOwner(String owner)
Sets the owner of the JCR resource. |
void |
setProperties(Map properties)
Sets all custom properties of the JCR resource. |
void |
setProperty(String name,
Serializable value)
Sets a single custom property of the JCR resource. |
| Method Detail |
|---|
String getName()
void setName(String name)
name - the name of the JCR resource.String getDescription()
void setDescription(String description)
description - the description of the JCR resource.String getOwner()
void setOwner(String owner)
owner - the owner of the JCR resource.Date getDateCreated()
Date getDateLastModified()
Map getProperties()
java.util.Map where the property name (String)
is the key.
void setProperties(Map properties)
java.util.Map where the property name (String)
is the key.
properties - the custom properties of the JCR resource.Serializable getProperty(String name)
name - the property name.
void setProperty(String name,
Serializable value)
name - the property name.value - the property value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||