ARoad0.gBaseInterface
Interface ImmutableFolder
- All Superinterfaces:
- BaseObject, BoundBean
- All Known Subinterfaces:
- EPRViewInBase, Folder, ImmutableVirtualFolder, NoThanViewInBase, SketchViewInBase, ViewInBase, VirtualFolder, VirtualFolderMySQL
- All Known Implementing Classes:
- EPRViewInBaseImpl, FolderAbst, NoThanViewInBaseImpl, SketchViewInBaseImpl, ViewInBaseImpl, VirtualFolderImpl, VirtualFolderMySQLImpl
public interface ImmutableFolder
- extends BaseObject, BoundBean
This immutable interface is responsible for managing a folder of BaseObjects
(even if most of the code is adapted to ACSObjects folder), where the objects
are added and removed from the folder without object deleting.
It is the super interface of ViewInBase and VirtualFolder. On the other hand,
Node is a container where the children are deleted when the node is deleted.
See the Copyright.
- See Also:
ViewInBase
,
VirtualFolder
,
ImmutableNode
containsBaseObject
boolean containsBaseObject(BaseObject _obj)
- Parameters:
_obj
- BaseObject to test
- Returns:
- boolean true if the folder references this instance
getEorM_BaseObjects
java.util.SortedMap getEorM_BaseObjects()
- Gets all the base objects of the folder.
- Returns:
- unmodifiableSortedMap of the folder BaseObjects.
getComment
java.lang.String getComment()
- Returns:
- String comment which is associated to the folder. May be null.
getType
java.lang.String getType()
- The type is generally defined by the user.
For VirtualFolders only, it is used by PrivilegeForType instances.
If the user does not change it, it is equal to the virtual folder type
if the object is a VirtualFolder, or to the ViewInBase type
if it is a ViewInBase.
- Returns:
- String type of the folder
isEmpty
boolean isEmpty()
- Returns:
- true if contains no objects
getConnectedToSeveralACS
boolean getConnectedToSeveralACS()
- Returns:
- boolean true if the folder is connected to ACSObjects
belonging to several ACS.
getEorL_ConnectedACSNames
java.util.List getEorL_ConnectedACSNames()
- Returns:
- List of names of the ACS having ACS Objects displayed in the folder.
Never null.