|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.core.resources.model.impl.PropertyManager
public class PropertyManager
Temporary property manager implementation
Must be replaced with a db4o implementation
This is storing resources properties in a big property file
Only string values are supported by this implementation
| Constructor Summary | |
|---|---|
PropertyManager()
|
|
| Method Summary | |
|---|---|
void |
copy(ISiteResource source,
ISiteResource destination)
Copy the properties of the source resource to the destination resource |
java.lang.Object |
getProperty(ISiteResource resource,
java.lang.String property)
Get the property having the given nbame and bound to the given resource |
void |
remove(ISiteResource resource)
Remove all properties defined for the given resource |
void |
setProperty(ISiteResource resource,
java.lang.String property,
java.lang.Object value)
Get the property having the given nbame and bound to the given resource |
void |
shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
Shutdown the service. |
void |
startup(org.eclipse.core.runtime.IProgressMonitor monitor)
Start the service. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyManager()
| Method Detail |
|---|
public java.lang.Object getProperty(ISiteResource resource,
java.lang.String property)
IPropertyManager
getProperty in interface IPropertyManagerresource - the resourceproperty - the property name
public void setProperty(ISiteResource resource,
java.lang.String property,
java.lang.Object value)
IPropertyManager
setProperty in interface IPropertyManagerpublic void remove(ISiteResource resource)
IPropertyManager
remove in interface IPropertyManagerresource - the resource to remove properties for
public void copy(ISiteResource source,
ISiteResource destination)
IPropertyManager
copy in interface IPropertyManager
public void shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
ISiteService
shutdown in interface ISiteServicemonitor - the progress monitor if monitoring is required or null otherwise
org.eclipse.core.runtime.CoreException - if an exception occured
public void startup(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
ISiteService
startup in interface ISiteServicemonitor - the progress monitor if monitoring is required or null otherwise
org.eclipse.core.runtime.CoreException - if an exception occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||