ARoad0.AcsAddon.Accbee.MySQL.gBaseInterface
Interface VirtualFolderMySQL

All Superinterfaces:
ACSObject, ACSObjectAddon, BaseBeanManager, BaseObject, BoundBean, java.lang.Comparable, java.util.EventListener, FinalizedObject, FinalizedObjectForUser, Folder, ImmutableFolder, ImmutableLeaf, ImmutableNode, ImmutablePrivilegeTarget, ImmutableSource, ImmutableTarget, ImmutableVirtualFolder, Leaf, Node, PrivilegeTarget, PrivilegeUser, java.beans.PropertyChangeListener, VirtualFolder
All Known Implementing Classes:
VirtualFolderMySQLImpl

public interface VirtualFolderMySQL
extends VirtualFolder, ACSObjectAddon

This interface is a VirtualFolder for simulating a MySQL view. The DEFINER mode is the default one for the MySQL views. It is needed for having a view, to create a VirtualFolder with an UserID as parameter of the constructor. This UserID becomes the Account of the AG context of the view delegate. There is also a GroupID as host of the account. This feature implies the creation of a VirtualFolderMySQLImpl class in the AcsAddon gBase package, as subclass of VirtualFolderImpl in the generic gBase package. The view definition is “frozen” at creation time in MySQL, but it is not useful to extend this constraint to the view simulation in Access Road. As actor, the view delegate in the resources tree runs under the UserID/GroupID passed on to the VirtualFolder constructor of the view. This is also the responsibility of the VirtualFolderMySQLImpl constructor.

See the Copyright.


Method Summary
 ImmutableUserID getEorDefinerForDelegate()
          In the MySQL DEFINER mode, the view delegate runs under an account.
 GroupIDMySQL getEorDefinerHostForDelegate()
          In the MySQL DEFINER mode, the view delegate runs under an account and a current host.
 
Methods inherited from interface ARoad0.gBaseInterface.VirtualFolder
resetInheritedPrivilegeRights, resetInheritedPrivilegeRightsOfChildren, selectInheritedPrivilege
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableVirtualFolder
equals, getEorL_Children, getMainVFType, getMemberOneTimeInTree, getPropertyChangeListeners
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableSource
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias, getType
 
Methods inherited from interface ARoad0.gBaseInterface.Folder
addEorBaseObject, addPropertyChangeListener, addPropertyChangeListener, propertyChange, removeEorBaseObject, removePropertyChangeListener, removePropertyChangeListener, setComment
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableFolder
containsBaseObject, getComment, getConnectedToSeveralACS, getEorL_ConnectedACSNames, getEorM_BaseObjects, getType, isEmpty
 
Methods inherited from interface ARoad0.gBaseInterface.PrivilegeTarget
addEorPrivilegeForTypeToTarget, removeEorPrivilegeToTarget
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutablePrivilegeTarget
getEorImmutableL_TargetInheritedLinkedPrivileges, getEorL_TargetPrivilegeForLinks, getEorL_TargetPrivilegeForTypes, getEorL_TargetPrivileges, getM_TargetInheritedLinkedPRIRights, getType
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableTarget
getEorAliasAsInternalHardReference, getEorReferenceAsInternalHardAlias, getHasSoftAlias, getL_AcsOfSoftReferences, getL_SoftAlias
 
Methods inherited from interface ARoad0.gBaseInterface.ImmutableLeaf
compareTo, getEorParent
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObject
getAcsName, getEorACS
 
Methods inherited from interface ARoad0.gBaseInterface.BaseObject
getFullName, getName, getNickName, hashCode
 
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObjectForUser
finalizeForUser
 
Methods inherited from interface ARoad0.gBaseInterface.FinalizedObject
finalizeForBase
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObjectAddon
getAddonInnerPropertiesToListen
 

Method Detail

getEorDefinerForDelegate

ImmutableUserID getEorDefinerForDelegate()
In the MySQL DEFINER mode, the view delegate runs under an account.

Returns:
the account under which the view delegate runs. Null when there is no delegate.

getEorDefinerHostForDelegate

GroupIDMySQL getEorDefinerHostForDelegate()
In the MySQL DEFINER mode, the view delegate runs under an account and a current host.

Returns:
the host under which the view delegate runs. Null when there is no delegate.