ARoad0.gBaseInterface
Interface ImmutableSource

All Superinterfaces:
ACSObject, BaseBeanManager, BaseObject, java.lang.Comparable
All Known Subinterfaces:
Actor, ActorMySQL, ActorUbuntu, EligibleParty, ExecutableUbuntu, GroupID, GroupIDMember, GroupIDMySQL, ImmutableActor, ImmutableEligibleParty, ImmutableGroupID, ImmutableGroupIDMember, ImmutablePrivilegeSource, ImmutableUserID, ImmutableVirtualFolder, PrivilegeSource, ProxyMySQL, RoleMySQL, UserID, UserIDMySQL, UserIDUbuntu, VirtualFolder, VirtualFolderMySQL
All Known Implementing Classes:
ActorImpl, ActorMySQLImpl, ActorUbuntuImpl, EligiblePartyImpl, ExecutableUbuntuImpl, GroupIDImpl, GroupIDMemberImpl, GroupIDMySQLImpl, ProxyMySQLImpl, RoleMySQLImpl, UserIDImpl, UserIDMySQLImpl, UserIDUbuntuImpl, VirtualFolderImpl, VirtualFolderMySQLImpl

public interface ImmutableSource
extends ACSObject, BaseBeanManager, java.lang.Comparable

This interface is responsible for modeling the source that is implied in an access. See the Copyright.


Method Summary
 ACSObject getEorAliasAsInternalHardReference()
          Get the unique ACSObject, if any, of this ACS for which this object is an internal hard reference.
 ACSObject getEorReferenceAsInternalHardAlias()
          Get the unique ACSObject, if any, of this ACS for which this object is an internal hard alias.
 boolean getHasSoftAlias()
          This property is not displayed by the generic BeanInfo classes.
 ImmutableName[] getL_AcsOfSoftReferences()
          Gets a sorted array of names of the ACS of the soft references.
 ImmutableName[] getL_SoftAlias()
          Gets a sorted array of names of all the soft alias.
 java.lang.String getType()
          The type is defined at the creation of the object, then it may be updated by the user.
 
Methods inherited from interface ARoad0.gBaseInterface.ACSObject
getAcsName, getEorACS
 
Methods inherited from interface ARoad0.gBaseInterface.BaseObject
equals, getFullName, getName, getNickName, hashCode
 
Methods inherited from interface ARoad0.gBaseInterface.BaseBeanManager
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getType

java.lang.String getType()
The type is defined at the creation of the object, then it may be updated by the user. It has several uses:

- to define the type updating policy from the ACS,

- for defining the authorized rights for each kind of rights (ACL, AGO...),

- to manage the capacity to delete the instance,

- and by the PrivilegeForType instances to apply their rights.

It is the resource type if the object is a Resource, the EP type if it is an EP, or it is the VirtualFolder type.

Returns:
String of type, as for exemple "executable" or "file". Never null.

getEorReferenceAsInternalHardAlias

ACSObject getEorReferenceAsInternalHardAlias()
Get the unique ACSObject, if any, of this ACS for which this object is an internal hard alias. There are internal aliasing in an ACS, and also external aliasing. It is the responsibility of the ACS associations to set an internal alias for one new ACSObject, as an alias or as an alias reference. AcsAddons are not required for the hard aliasing, but they may use it.

Returns:
the reference. May be null.

getEorAliasAsInternalHardReference

ACSObject getEorAliasAsInternalHardReference()
Get the unique ACSObject, if any, of this ACS for which this object is an internal hard reference.

Returns:
the hard alias. May be null.

getHasSoftAlias

boolean getHasSoftAlias()
This property is not displayed by the generic BeanInfo classes. The soft Alias relation is always set by a gBase class in an AcsAddon, never by the generic gBase classes. In the two alias relations, each ACS is responsible to script or to code its proper use of the alias types. An AcsAddon should provide it to the GUI. The sketch view does not handle the soft alias and the reference, while it handles the hard alias and the hard reference.

Returns:
true if there is at least one internal or external soft alias.

getL_SoftAlias

ImmutableName[] getL_SoftAlias()
Gets a sorted array of names of all the soft alias. The sketch view does not handle the soft alias and the reference, while it handles the hard alias and the hard reference.

Returns:
ImmutableName[]. May be null but not empty.

getL_AcsOfSoftReferences

ImmutableName[] getL_AcsOfSoftReferences()
Gets a sorted array of names of the ACS of the soft references.

Returns:
ImmutableName[] of the ACS. May be null but not empty.