Role: This interface is implemented by a component which represents the controller of the DLNames.
This interface defines:
- A method to set each DLName
- A method to get the value of each DLName
- A method to lock/unlock each parameter
- A method to retrieve the informations concerning each parameter
Properties
- Property DLNameCreationRight() As
-
Returns or set the right to create new DLNames.
Role: Retrieves or set the right to create new DLNames. - Property RootDLNameCreationRight() As
-
Returns or set the right to create new Root DLNames.
Role: Retrieves or set the right to create new Root DLNames.
Methods
- Sub GetDLName( iDLName, oRealNameUnix, oRealNameNT, oFather)
-
Retrieves the mapping between a logical name and the physical path.
Role: Retrieves the mapping between a logical name and the physical path.- Parameters:
-
- iDLName
- the logical name. dd>
- oRealNameUnix
- the real physical path corresponding to the logical name on Unix. dd>
- oRealNameNT
- the real physical path corresponding to the logical name on Windows. dd>
- iFather
- if applicable the Name of the parent DLName dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Func GetDLNameCreationRightInfo( AdminLevel, oLocked) As
-
Retrieves the state of the parameter DLNameCreationRight.
Refer to for a detailled description. - Sub GetDLNameExp( iDLName, oRealNameUnix, oRealNameNT, oFather)
-
Retrieves the mapping between a logical name and the physical path.
Role: Retrieves the mapping between a logical name and the physical path in a litteral form.- Parameters:
-
- iDLName
- the logical name. dd>
- oRealNameUnix
- the real physical path corresponding to the logical name on Unix. dd>
- oRealNameNT
- the real physical path corresponding to the logical name on Windows. dd>
- iFather
- if applicable the Name of the parent DLName dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Func GetDLNameInfo( iDLName, AdminLevel, oLocked) As
-
Retrieves the state of the for a given DLName.
Role: This information defines the state of the setting parameter and is made up of:- The administration level that sets the current value or the value used to reset it
- The administration level that has locked the setting parameter.
- A flag to indicate whether the setting parameter was modified.
- Parameters:
-
- iDLName
- a DLname. dd>
- ioAdminLevel
- [inout] The administration leve that defines the value used when resetting the
setting parameter.
Legal values:
- Default value if the DLName has never been defined in the administration concatenation.
- Admin Level n if the setting parameter has been
administered,
where n is an integer starting from 0 representing the rank of the administration level.
- ioLocked
- [inout] A character string to indicate whether the parameter is locked and the level
of administration where the locking has been proceeded.
Legal values:- Locked at Admin Level n if the setting parameter is locked by
then administration level n,
where n is an integer starting from 0. - Upper Locked if the setting parameter is locked by the current administration level
- Unlocked if the setting parameter is not locked
- Locked at Admin Level n if the setting parameter is locked by
then administration level n,
- Returns:
-
- True to indicate that the DLName value has been defined at the current administrator or user level. This is only possible with unlocked DLNames. False means that the DLName is inherited from the administration.
dd>
- Func GetDLNameList() As
-
Retrieves the list of the DLNames.
Role: Retrieves the list of the defined DLNames.- Parameters:
-
- oTabDLName
- a CATSafeArrayVariant of CATBSTR of nb elements. dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Func GetDLNameSubList( iDLName) As
-
Retrieves the list of the Sub-DLNames.
Role: Retrieves the list of the DLNames created in a given DLName.- Parameters:
-
- iDLName
- The Father DLName. if iDLName=NULL all DLNames created at the root level are return. dd>
- oNbDLname
- The number of defined DLNames. dd>
- oTabDLName
- The array of DLNames dd>
- Returns:
- Legal values:
S_OK : on Success
E_OUTOFMEMORY: on allocation failure
E_FAIL: on other failures dd>
- Func GetRootDLNameCreationRightInfo( AdminLevel, oLocked) As
-
Retrieves the state of the parameter RootDLNameCreationRight.
Refer to for a detailled description. - Sub RemoveDLName( iDLName)
-
Remove a logical name.
Role: Remove a DLName in the current set if it is possible.- Parameters:
-
- iDLName
- the logical name. dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Sub RenameDLName( iDLName, iNewName)
-
Rename an existing DLName.
Role: Rename a DLName in the current set if it is possible.- Parameters:
-
- iDLName
- the logical name to rename. dd>
- iNewName
- the new logical name. dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Sub SetDLName( iDLName, iRealNameUnix, iRealNameNT, iFather, iVerifDirectory)
-
Sets the mapping between a logical name and the physical path.
Role: Sets the value of the cache maximum size in Mo- Parameters:
-
- iDLName
- the logical name. dd>
- oRealNameUnix
- the real physical path corresponding to the logical name on Unix. dd>
- oRealNameNT
- the real physical path corresponding to the logical name on Windows. dd>
- iFather
- if applicable the Name of the parent DLName dd>
- iVerifDirectory
- if VerifDirectory is set the existence of the directory on the current platform will be check. dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Sub SetDLNameCreationRightLock( iLocked)
-
Locks or unlocks the parameter DLNameCreationRight.
Refer to for a detailled description. - Sub SetDLNameLock( iDLName, iLocked)
-
Locks or unlocks the DLName.
Role: Locks or unlocks the given DLName if the operation is allowed in the current administrated environment. In user mode this method will always return E_FAIL.- Parameters:
-
- iDLname
- the DLname to be locked. dd>
- iLocked
- the locking operation to be performed
Legal values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter. dd>
- Returns:
- Legal values:
S_OK : on Success
E_FAIL: on failure dd>
- Sub SetRootDLNameCreationRightLock( iLocked)
-
Locks or unlocks the parameter RootDLNameCreationRight.
Refer to for a detailled description.