|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ACSManager
This interface is responsible for managing the ACSs in the generic base through specific methods.
BaseManagerImpl
Method Summary | |
---|---|
void |
closeDefaultBase()
Closes the base without savings, with all the ACS and all the views. |
void |
closeOpenACS(ACSImpl _acs,
boolean _withSaving)
Closes an open ACS without saving it. |
java.util.Map |
getEorM_OpenACS()
|
java.util.List |
getL_ACSNames()
Returns the names of open or closed ACS. |
long |
getSerialVersionUID()
|
boolean |
isOpenACS(ImmutableName _name)
|
boolean |
knowsACS(ImmutableName _name)
|
ACS |
openACS(ImmutableName _name)
Opens a registered and closed ACS from a file in the current directory. |
void |
removeACS(ImmutableName _name)
The ACS name is removed from the ACS list and from the IS nametree, like its children in the IS nametree if they exist. |
void |
saveAndCloseDefaultBase()
Saves and closes the base with the ACS and the view lists, even if it is empty. |
void |
saveDefaultBase()
Saves the base with the ACS and view lists, even if there are empty. |
void |
saveOpenACS(ACSImpl _acs)
Saves an opens ACS with out close it. |
Methods inherited from interface ARoad0.gBaseInterface.BaseBeanManager |
---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface ARoad0.gBaseInterface.BoundBean |
---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Method Detail |
---|
ACS openACS(ImmutableName _name) throws BaseError
_name
- ImmutableName of the ACS to open. Its file name is built with the two last
components of the name, or with the only component if it is alone.
BaseError
- if the ACS is not known, the ACS is open, the open
ACS has not the same name, or ClassNotFoundException, IOException.boolean knowsACS(ImmutableName _name)
_name
- ImmutableName of an ACS
boolean isOpenACS(ImmutableName _name)
_name
- ImmutableName of an ACS
java.util.List getL_ACSNames()
java.util.Map getEorM_OpenACS()
void saveDefaultBase() throws BaseError
BaseError
- if an acs or a view is not open, ACSname.lastComponent() is null,
FileNotFoundException or IOException.void saveAndCloseDefaultBase() throws BaseError
BaseError
- if an acs or a view is not open, ACSname.lastComponent() is null,
FileNotFoundException or IOException.void saveOpenACS(ACSImpl _acs) throws BaseError
_acs
- ACSImpl to be saved.
BaseError
- if _acs is not open, ACSname.lastComponent() is null,
or FileNotFoundException and IOException.void closeOpenACS(ACSImpl _acs, boolean _withSaving) throws BaseError
_acs
- ACS to be closed and finalized._withSaving
- true to save the ACS
BaseError
- if _acs is not open.void closeDefaultBase() throws BaseError
BaseError
- if an acs is not open.void removeACS(ImmutableName _name) throws BaseError
_name
- ImmutableName of the ACS to remove from the base.
BaseError
- if the ACS is unknown, or it is not a leaf in the IS nametree,
or if ACSname.lastComponent() is null, FileNotFoundException and IOException.long getSerialVersionUID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |