|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.configuration.AbstractConfiguration org.apache.avalon.framework.configuration.DefaultConfiguration fr.gouv.culture.sdx.utils.save.SaveParameters
public class SaveParameters
Field Summary |
---|
Fields inherited from class org.apache.avalon.framework.configuration.DefaultConfiguration |
---|
EMPTY_ARRAY |
Constructor Summary | |
---|---|
SaveParameters(org.apache.avalon.framework.configuration.Configuration config,
SaveParameters parent_config)
|
|
SaveParameters(org.apache.avalon.framework.configuration.Configuration config,
java.lang.String storeBasePath)
|
|
SaveParameters(java.lang.String name,
SaveParameters parent_config)
|
|
SaveParameters(java.lang.String name,
SaveParameters parent_config,
java.lang.String storeRelativeDirectory)
|
|
SaveParameters(java.lang.String name,
SaveParameters parent_config,
java.lang.String storeBasePath,
java.lang.String storeRelativeDirectory)
|
|
SaveParameters(java.lang.String name,
java.lang.String storeBasePath)
|
Method Summary | |
---|---|
void |
addAllChildren(org.apache.avalon.framework.configuration.Configuration other)
Add all child Configuration objects from specified
configuration element to current configuration element. |
SaveParameters |
getSaveParametersById(java.lang.String sdxobjectid)
This method return the SaveParameters given a sdx_object id. |
java.lang.String |
getStoreBasePath()
Get the absolute path where all object are stored |
java.lang.String |
getStoreCompletePath()
Get the absolute path where the current is stored |
java.lang.String |
getStorePath()
Get the relative path from base path where the current object data will be stored. |
long |
getUniqueID()
Get an unique ID for this saveconfig AutoIncrement after each call. |
java.lang.String |
getUniqueIDString()
Get an unique ID for this saveconfig AutoIncrement after each call. |
boolean |
isAllElementSelected()
|
void |
savePathInConfig(java.lang.String pathleaf)
Add relative path in the config file |
void |
setUniqueID(long id)
Set an unique ID for this saveconfig |
Methods inherited from class org.apache.avalon.framework.configuration.DefaultConfiguration |
---|
addAll, addAll, addAllAttributes, addAllChildren, addAttribute, addChild, appendValueData, checkWriteable, equals, getAttribute, getAttributeNames, getChild, getChildCount, getChildren, getChildren, getLocation, getMutableChild, getMutableChild, getMutableChildren, getMutableChildren, getName, getNamespace, getPrefix, getValue, getValue, hashCode, isReadOnly, makeReadOnly, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setValue, setValue, setValue, setValue, setValue, setValue |
Methods inherited from class org.apache.avalon.framework.configuration.AbstractConfiguration |
---|
getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLong, getChild, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFloat, getValueAsInteger, getValueAsInteger, getValueAsLong, getValueAsLong, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.avalon.framework.configuration.Configuration |
---|
getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLong, getChild, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFloat, getValueAsInteger, getValueAsInteger, getValueAsLong, getValueAsLong |
Constructor Detail |
---|
public SaveParameters(org.apache.avalon.framework.configuration.Configuration config, java.lang.String storeBasePath) throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.ConfigurationException
public SaveParameters(org.apache.avalon.framework.configuration.Configuration config, SaveParameters parent_config) throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.ConfigurationException
public SaveParameters(java.lang.String name, java.lang.String storeBasePath)
public SaveParameters(java.lang.String name, SaveParameters parent_config)
public SaveParameters(java.lang.String name, SaveParameters parent_config, java.lang.String storeRelativeDirectory)
public SaveParameters(java.lang.String name, SaveParameters parent_config, java.lang.String storeBasePath, java.lang.String storeRelativeDirectory)
Method Detail |
---|
public void addAllChildren(org.apache.avalon.framework.configuration.Configuration other)
Configuration
objects from specified
configuration element to current configuration element.
addAllChildren
in interface org.apache.avalon.framework.configuration.MutableConfiguration
addAllChildren
in class org.apache.avalon.framework.configuration.DefaultConfiguration
other
- the other Configuration
valuepublic SaveParameters getSaveParametersById(java.lang.String sdxobjectid) throws SDXException
sdxobjectid
- the id of the sdx object
SDXException
public java.lang.String getStorePath()
public java.lang.String getStoreBasePath()
public java.lang.String getStoreCompletePath()
public void setUniqueID(long id)
public long getUniqueID()
public java.lang.String getUniqueIDString()
public void savePathInConfig(java.lang.String pathleaf)
pathleaf
- public boolean isAllElementSelected()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |