ARoad0.gBaseInterface
Interface ACSObjectAddon

All Superinterfaces:
ACSObject, BaseObject
All Known Subinterfaces:
ActorMySQL, ActorUbuntu, BasesSetMySQL, DirectoryMySQL, DirectoryUbuntu, ExecutableUbuntu, GroupIDMySQL, ProxyMySQL, ResourceMySQL, ResourceUbuntu, RoleMySQL, UserIDMySQL, VirtualFolderMySQL
All Known Implementing Classes:
ActorMySQLImpl, ActorUbuntuImpl, BasesSetMySQLImpl, DirectoryMySQLImpl, DirectoryUbuntuImpl, ExecutableUbuntuImpl, GroupIDMySQLImpl, ProxyMySQLImpl, ResourceMySQLImpl, ResourceUbuntuImpl, RoleMySQLImpl, UserIDMySQLImpl, VirtualFolderMySQLImpl

public interface ACSObjectAddon
extends ACSObject

This interface is responsible for describing the bound properties of an ACSObject in an ACS Addon package. The listeners are gBase.ViewInBaseImpl and gWork.RightsMediatorImpl. For instance, it is necessary to listen the event 'OtherRights' in the AcsAddon Ubuntu for the class ResourceUbuntuImpl.


Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAddonInnerPropertiesToListen()
          Gets the specific events to listen, because these events should change the view rights of an ACSObject in an ACS Addon.
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObject
getAcsName, getEorACS
 
Methods inherited from interface ARoad0.gBaseInterface.BaseObject
equals, getFullName, getName, getNickName, hashCode
 

Method Detail

getAddonInnerPropertiesToListen

java.util.Map<java.lang.String,java.lang.String> getAddonInnerPropertiesToListen()
Gets the specific events to listen, because these events should change the view rights of an ACSObject in an ACS Addon. This method is not ridden by the beamer. These events are listened to update the views containing these ACSObjects. This method does not cover the parent properties of a Resource or a VirtualFolder (see ARoad0.gBase.AcsAddon.getAddonParentPropertiesToListen()). To define the events, the map key may have the following values:

- 'THIS' to say that the single object to listen is the ACSObject,

- 'ACS.method_name' to say that the list of objects to listen is returned by the method 'method_name' in the Addon ACS class.

For each map key, the values have the following format:

'AAA.method_name IF BBB'

where:

- AAA: THIS (mandatory),

- method_name: 'get' method name of the ACSObject that is associated, in the relevant BeanInfo class, to the event to listen (mandatory)

- IF BBB: is optional, where BBB is TRUE, or FALSE, or NULL, or NOT-NULL, to say that the event must be listened if and only if the returned value of the method_name is respectively a boolean TRUE, or FALSE, or an object NULL, or NOT-NULL.

When the map value starts with 'ACS', the ACS method to call has the ACSObject has single argument. Otherwise, the ACS or the ACSObject method has no argument. When the map value starts with 'ACS', the ACS method returns a list containing objects that are both BaseBeanManager and BaseObjects, just like Basics and VirtualFolders. Called by ARoad0.gBase.UtilityImpl.changeAddonInnerPropertyChangeListener().

Returns:
map to define the specific ACS Addon events to listen. May be null.
See Also:
AcsAddon.getAddonParentPropertiesToListen()