Package com.axemble.vdoc.sdk.modules
Interface IBaseDirectoryModule
- All Known Subinterfaces:
IDirectoryModule
- All Known Implementing Classes:
DirectoryModuleImpl
@Deprecated(since="2026.0.0",
forRemoval=true)
public interface IBaseDirectoryModule
extends IModule
Deprecated, for removal: This API element is subject to removal in a future version.
use com.axemble.vdoc.sdk.modules.IDirectoryModule instead
The directory module interface.
Code sample :
// creation of a directory module object
IBaseDirectoryModule directoryModule = Modules.getDirectoryModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(directoryModule);
}
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Adds a child group.voidaddLocalizationScope(ILocalizationScopeSupport localizationScopeSupport, ILocalization localization, boolean heritable) Deprecated, for removal: This API element is subject to removal in a future version.Add localizationScope to the localizationScopeSupport objectvoidDeprecated, for removal: This API element is subject to removal in a future version.Adds a user to a group.voidaddOrganizationScope(IUser user, IOrganization organization, boolean heritable) Deprecated, for removal: This API element is subject to removal in a future version.Add OrganizationScope to the User objectvoidbreakLocalizationScopeInheritance(ILocalizationScopeSupport localizationScopeSupport) Deprecated, for removal: This API element is subject to removal in a future version.break the localizationScope inheritance for the localizationScopeSupport objectvoidDeprecated, for removal: This API element is subject to removal in a future version.break the organizationScope inheritance for the user objectcreateAttachment(IContext context, File file) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a java.io.File object.createAttachment(IContext context, File file, boolean canBeRemoved) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a java.io.File object.createAttachment(IContext context, String fileName, byte[] bytes) Deprecated, for removal: This API element is subject to removal in a future version.createAttachment(IContext context, String fileName, InputStream input) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a file name and an input stream.createAttribute(String name, int type, Object value) Deprecated.use getExtendedAttributes method instead.createGroup(IContext context, IGroup group, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child group.createGroup(IContext context, IGroup group, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child group.createGroup(IContext context, IOrganization organization, String label) Deprecated.use createGroup( IContext context, IOrganization organization, String name, String label ) method instead.createGroup(IContext context, IOrganization organization, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a group.createLocalization(IContext context, ILocalization localization, String label) Deprecated.: use createLocalization( IContext context, ILocalization localization, String name, String label ) method instead.createLocalization(IContext context, ILocalization localization, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child localization.createLocalization(IContext context, String label) Deprecated.: use createLocalization( IContext context, ILocalization localization, String label ) method instead.createLocalization(IContext context, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a localization at the root level.createOrganization(IContext context, IOrganization organization, String label) Deprecated.: use createOrganization( IContext context, IOrganization organization, String name, String label ) method instead.createOrganization(IContext context, IOrganization organization, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child organization.createOrganization(IContext context, String label) Deprecated.: use createOrganization( IContext context, String name, String label ) method instead.createOrganization(IContext context, String name, String label) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create an organization at the root level.createSystemProfile(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates aIProfile.createUser(IContext context, String login, String password, IOrganization organization) Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a user into an organization.Collection<? extends IGroup> getAllChildren(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the children of a specified group object.Collection<? extends IUser> getAllMembers(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the members of the group.Collection<? extends IGroup> getAllParents(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the parents of a specified group object.Collection<? extends IGroup> getAllParents(IUser user) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the parents of a specified user.Deprecated, for removal: This API element is subject to removal in a future version.Gets the extended attributes catalogCollection<? extends IGroup> getChildren(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the children of a specified group object.Deprecated, for removal: This API element is subject to removal in a future version.Gets a directory transformer.getElement(Object object) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves anIElementobject from an object.getElementByProtocolURI(String protocolURI) Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.getGroup(IContext context, IOrganization organization, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a group by its system name on an organization scope.Deprecated.The system name is not unique on the server scope anymore.getGroup(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a group object by itsIStorageKeyobject.Deprecated.use getGroup( IStorageKey ) insteadgetLocalization(IContext context, ILocalization parent, String name) Deprecated.use getLocalization( IContext context, String name ) method instead.getLocalization(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization by its system name.Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization object by itsIStorageKeyobject.getLocalization(Object object) Deprecated.use getLocalization( IStorageKey ) insteadgetLocalizationByPathLabel(IContext context, String path) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization by its path.getLocalizationPathLabel(ILocalization localization) Deprecated, for removal: This API element is subject to removal in a future version.Generate path label of the localization "/" in label will replaced by "\\/"Collection<? extends ILocalization> getLocalizations(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the localizations.Collection<? extends ILocalization> getLocalizations(IContext context, ILocalization parent) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the localizations of aILocalizationobject.Collection<? extends IDirectoryLocalizationScope> getLocalizationScopes(ILocalizationScopeSupport localizationScopeSupport) Deprecated, for removal: This API element is subject to removal in a future version.get the localizationScopes for the localizationScopeSupport objectCollection<? extends IUser> getMembers(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the members of the group.getOrganization(IContext context, IOrganization parent, String name) Deprecated.: use getOrganization(IContext, String) method instead.getOrganization(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by its system name (the system name is unique on the server).Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by itsIStorageKeyobject.getOrganization(Object object) Deprecated.use getOrganization( IStorageKey ) insteadgetOrganizationByPathLabel(IContext context, String path) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by its path.getOrganizationPathLabel(IOrganization organization) Deprecated, for removal: This API element is subject to removal in a future version.Generate path label of the organization "/" in label will replaced by "\\/"Collection<? extends IOrganization> getOrganizations(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the organizations.Collection<? extends IOrganization> getOrganizations(IContext context, IOrganization parent) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the organizations of a specifiedIOrganizationobject.Collection<? extends IDirectoryOrganizationScope> getOrganizationScopes(IUser user) Deprecated, for removal: This API element is subject to removal in a future version.Gets the OrganizationScope for the User objectCollection<? extends IGroup> getParents(IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the direct parents of a specified group object.Collection<? extends IGroup> getParents(IUser user) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the parents of a specified user.getResourceDefinition(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.Gets an extended attributes tableDeprecated, for removal: This API element is subject to removal in a future version.getSearchController(IConnectionDefinition connectionDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying aobject.invalid reference
ConnectionDefinitiongetSearchController(IDataSourceReference reference) Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying aIDataSourceReferenceobject.getSearchController(IJdbcReference reference) Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.getSecurityController(ISecuritySupport securitySupport) Deprecated, for removal: This API element is subject to removal in a future version.Gets a security controller to manipulate the rights on a specified object.getSystemProfile(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a systemIProfileobject by its system name.Collection<? extends IProfile> getSystemProfiles(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection of systemIProfileobjects.Deprecated, for removal: This API element is subject to removal in a future version.Gets a transformer.getUser(IStorageKey key) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a user object by itsIStorageKeyobject.Deprecated.use getUser( IStorageKey ) insteadgetUserByLogin(String login) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a user from its login.Collection<? extends IUser> Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users.Collection<? extends IUser> getUsers(IContext context, ILocalization localization) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users of a specified localization.Collection<? extends IUser> getUsers(IContext context, IOrganization organization) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users of a specified organization.booleanDeprecated, for removal: This API element is subject to removal in a future version.Checks if the group is child of another group.booleanisLocalizationScopeInherited(ILocalizationScopeSupport localizationScopeSupport) Deprecated, for removal: This API element is subject to removal in a future version.Checks if the localization scope is inheritedbooleanisMemberOf(IUser user, IGroup group, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.Checks if a user is member of a group.booleanDeprecated, for removal: This API element is subject to removal in a future version.is organizationScope inheritancevoidremoveChild(IGroup child, IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Removes a child group object.voidremoveLocalizationScope(ILocalizationScopeSupport localizationScopeSupport, IDirectoryLocalizationScope directoryLocalizationScope) Deprecated, for removal: This API element is subject to removal in a future version.remove the localizationScope to the localizationScopeSupport objectvoidremoveMember(IUser user, IGroup group) Deprecated, for removal: This API element is subject to removal in a future version.Removes a user from a group.voidremoveOrganizationScope(IUser user, IDirectoryOrganizationScope directoryOrganizationScope) Deprecated, for removal: This API element is subject to removal in a future version.Removes the directoryOrganizationScope to the user's OrganizationScopevoidrestoreLocalizationScopeInheritance(ILocalizationScopeSupport localizationScopeSupport) Deprecated, for removal: This API element is subject to removal in a future version.restore the localizationScope inheritance for the localizationScopeSupport objectvoidDeprecated, for removal: This API element is subject to removal in a future version.restore the organizationScope inheritance for the user objectMethods inherited from interface com.axemble.vdoc.sdk.modules.IModule
beginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitialize
-
Method Details
-
getOrganizations
Collection<? extends IOrganization> getOrganizations(IContext context) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the organizations.- Parameters:
context- The execution context.- Returns:
- A java.util.Collection of
IOrganizationobjects. - Throws:
DirectoryModuleException- default module exception.
-
getOrganizations
Collection<? extends IOrganization> getOrganizations(IContext context, IOrganization parent) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the organizations of a specifiedIOrganizationobject.- Parameters:
context- The execution context.parent- The parentIOrganizationobject.- Returns:
- A java.util.Collection of
IOrganizationobjects. - Throws:
DirectoryModuleException- default module exception.
-
createOrganization
@Deprecated IOrganization createOrganization(IContext context, String label) throws DirectoryModuleException Deprecated.: use createOrganization( IContext context, String name, String label ) method instead.Allows to create an organization at the root level.- Parameters:
context- The execution context.label- The label of the organization. Be aware the system name of the organization will be generated.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createOrganization
IOrganization createOrganization(IContext context, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create an organization at the root level.- Parameters:
context- The execution context.name- The system name of the organization.label- The label of the organization. Be aware the system name of the organization will be generated.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createOrganization
@Deprecated IOrganization createOrganization(IContext context, IOrganization organization, String label) throws DirectoryModuleException Deprecated.: use createOrganization( IContext context, IOrganization organization, String name, String label ) method instead.Allows to create a child organization.- Parameters:
context- The execution context.organization- The parentIOrganizationobject.label- The label of the organization. Be aware the system name of the organization will be generated.- Returns:
- A
IOrganizationobject - Throws:
DirectoryModuleException- default module exception.
-
createOrganization
IOrganization createOrganization(IContext context, IOrganization organization, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child organization.- Parameters:
context- The execution context.organization- The parentIOrganizationobject.name- The system name of the organization.label- The label of the organization. Be aware the system name of the organization will be generated.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getOrganization
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by its system name (the system name is unique on the server).- Parameters:
context- The execution context.name- The system name of the organization.- Returns:
- A
IOrganizationobject - Throws:
DirectoryModuleException- default module exception.
-
getOrganization
@Deprecated IOrganization getOrganization(IContext context, IOrganization parent, String name) throws DirectoryModuleException Deprecated.: use getOrganization(IContext, String) method instead.Retrieves an organization by its name and a parent organization.- Parameters:
context- The execution context.parent- The parentIOrganizationobject.name- The system name of the organization.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getOrganizationByPathLabel
IOrganization getOrganizationByPathLabel(IContext context, String path) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by its path.- Parameters:
context- The execution context.path- The path built from the labels.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getOrganization
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves an organization by itsIStorageKeyobject.- Parameters:
key- The storage key object.- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalizations
Collection<? extends ILocalization> getLocalizations(IContext context) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the localizations.- Parameters:
context- The execution context.- Returns:
- A java.util.Collection of
ILocalizationobjects. - Throws:
DirectoryModuleException- default module exception.
-
getLocalizations
Collection<? extends ILocalization> getLocalizations(IContext context, ILocalization parent) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the localizations of aILocalizationobject.- Parameters:
context- The execution context.parent- The parentILocalizationobject.- Returns:
- A java.util.Collection of
ILocalizationobjects. - Throws:
DirectoryModuleException- default module exception.
-
createLocalization
@Deprecated ILocalization createLocalization(IContext context, String label) throws DirectoryModuleException Deprecated.: use createLocalization( IContext context, ILocalization localization, String label ) method instead.Allows to create a localization at the root level.- Parameters:
context- The execution context.label- The label of the localization. Be aware the system name will be generated automatically.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createLocalization
ILocalization createLocalization(IContext context, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a localization at the root level.- Parameters:
context- The execution context.name- The system name of the localization.label- The label of the localization.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createLocalization
@Deprecated ILocalization createLocalization(IContext context, ILocalization localization, String label) throws DirectoryModuleException Deprecated.: use createLocalization( IContext context, ILocalization localization, String name, String label ) method instead.Allows to create a child localization.- Parameters:
context- The execution context.localization- The parentILocalizationobject.label- The label of the localization. Be aware the system name will be generated automatically.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createLocalization
ILocalization createLocalization(IContext context, ILocalization localization, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child localization.- Parameters:
context- The execution context.localization- The parentILocalizationobject.name- The system name of the localization.label- The label of the localization.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalization
@Deprecated ILocalization getLocalization(IContext context, ILocalization parent, String name) throws DirectoryModuleException Deprecated.use getLocalization( IContext context, String name ) method instead.Retrieves a localization by its system name and a parent localization object.- Parameters:
context- The execution context.parent- The parentILocalizationobject.name- The system name of the localization.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalization
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization by its system name.- Parameters:
context- The execution context.name- The system name of the localization.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalizationByPathLabel
ILocalization getLocalizationByPathLabel(IContext context, String path) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization by its path.- Parameters:
context- The execution context.path- The path of the localization built from labels.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalization
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a localization object by itsIStorageKeyobject.- Parameters:
key- TheIStorageKeyobject.- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
createGroup
@Deprecated IGroup createGroup(IContext context, IOrganization organization, String label) throws DirectoryModuleException Deprecated.use createGroup( IContext context, IOrganization organization, String name, String label ) method instead.Allows to create a group.- Parameters:
context- The execution context.organization- The organization object.label- The label of the group. Be aware the system name will be automatically generated.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
createGroup
IGroup createGroup(IContext context, IOrganization organization, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a group.- Parameters:
context- The execution context.organization- The organization object.name- The system name of the group.label- The label of the group.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
createGroup
Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child group.- Parameters:
context- The execution context.group- The parent group.label- The label of the group. Be aware the system name will be generated automatically.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
createGroup
IGroup createGroup(IContext context, IGroup group, String name, String label) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a child group.- Parameters:
context- The execution context.group- The parent group.name- The system name of the group.label- The label of the group.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
getGroup
Deprecated.The system name is not unique on the server scope anymore. You should pass the parentIOrganizationobject. Use the getGroup( IContext context, IOrganization organization, String name ) method instead.Retrieves a group by its system name.- Parameters:
context- The execution context.name- The system name of the group.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
getGroup
IGroup getGroup(IContext context, IOrganization organization, String name) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a group by its system name on an organization scope.- Parameters:
context- The execution context.organization- The parentIOrganizationobject.name- The system name of the group.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
getGroup
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a group object by itsIStorageKeyobject.- Parameters:
key- TheIStorageKeyobject.- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
createUser
IUser createUser(IContext context, String login, String password, IOrganization organization) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to create a user into an organization.- Parameters:
context- The execution context.login- The login of the userpassword- The password of the userorganization- The parentIOrganizationobject.- Returns:
- A
IUserobject. - Throws:
DirectoryModuleException- default module exception.
-
getUsers
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users.- Parameters:
context- The execution context.- Returns:
- A java.util.Collection of
IUserobjects.
-
getUsers
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users of a specified organization.- Parameters:
context- The execution context.organization- TheIOrganizationobject.- Returns:
- A java.util.Collection of
IUserobjects.
-
getUsers
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the users of a specified localization.- Parameters:
context- The execution context.localization- TheILocalizationobject.- Returns:
- A java.util.Collection of
IUserobjects.
-
getUserByLogin
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a user from its login.- Parameters:
login- The login of the user.- Returns:
- A
IUserobject.
-
getUser
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a user object by itsIStorageKeyobject.- Parameters:
key- TheIStorageKeyobject.- Returns:
- A
IUserobject. - Throws:
DirectoryModuleException- default module exception.
-
createSystemProfile
Deprecated, for removal: This API element is subject to removal in a future version.Creates aIProfile.- Parameters:
context- The execution context.name- The system name of theIProfileto be created.- Returns:
- a
IProfileobject. - Throws:
ModuleException- default module exception.
-
getSystemProfile
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a systemIProfileobject by its system name.- Parameters:
context- The execution context.name- The system name of the role.- Returns:
- a
IProfileobject. - Throws:
ModuleException- default module exception.
-
getSystemProfiles
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a collection of systemIProfileobjects.- Parameters:
context- The execution context.- Returns:
- a collection of system
IProfileobjects. - Throws:
ModuleException- default module exception.
-
createAttribute
Deprecated.use getExtendedAttributes method instead.Allows to create an attribute.- Parameters:
name- The name of the attribute.type- The type of the attribute. Check theIAttribute.ITypeinterface.value- The associated value to the attribute.- Returns:
- A
IAttributeobject.
-
getOrganization
Deprecated.use getOrganization( IStorageKey ) insteadRetrieves an organization from an object.- Parameters:
object- Any object of the following type:- A java.lang.Long
- java.lang.String
- or com.triactive.jdo.store.OID
- Returns:
- A
IOrganizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getLocalization
Deprecated.use getLocalization( IStorageKey ) insteadRetrieves an localization from an object.- Parameters:
object- Any object of the following type:- A java.lang.Long
- java.lang.String
- or com.triactive.jdo.store.OID
- Returns:
- A
ILocalizationobject. - Throws:
DirectoryModuleException- default module exception.
-
getGroup
Deprecated.use getGroup( IStorageKey ) insteadRetrieves a group from an object.- Parameters:
object- Any object of the following type:- A java.lang.Long
- java.lang.String
- or com.triactive.jdo.store.OID
- Returns:
- A
IGroupobject. - Throws:
DirectoryModuleException- default module exception.
-
getUser
Deprecated.use getUser( IStorageKey ) insteadRetrieves a user from an object.- Parameters:
object- Any object of the following type:- A java.lang.Long
- java.lang.String
- or com.triactive.jdo.store.OID
- Returns:
- A
IUserobject. - Throws:
DirectoryModuleException- default module exception.
-
getElement
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves anIElementobject from an object.- Parameters:
object- Any object of the following type:- A java.lang.Long
- java.lang.String
- or com.triactive.jdo.store.OID
- Returns:
- A
IElementobject. - Throws:
DirectoryModuleException- default module exception.
-
addChild
Deprecated, for removal: This API element is subject to removal in a future version.Adds a child group.- Parameters:
child- The child group.group- The parent group.- Throws:
DirectoryModuleException- default module exception.
-
removeChild
Deprecated, for removal: This API element is subject to removal in a future version.Removes a child group object.- Parameters:
child- The child group.group- The parent group.- Throws:
DirectoryModuleException- default module exception.
-
isChildOf
Deprecated, for removal: This API element is subject to removal in a future version.Checks if the group is child of another group.- Parameters:
child- The child group.parent- The parent group.recursive- if true checks recursively.- Returns:
- true if the group is child of the parent group, false otherwise.
-
getParents
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the direct parents of a specified group object.- Parameters:
group- The group to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
getAllParents
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the parents of a specified group object.- Parameters:
group- The group to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
getChildren
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the children of a specified group object.- Parameters:
group- The group to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
getAllChildren
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the children of a specified group object.- Parameters:
group- The group to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
addMember
Deprecated, for removal: This API element is subject to removal in a future version.Adds a user to a group.- Parameters:
user- The user object to add.group- The parent group.- Throws:
DirectoryModuleException- default module exception.
-
removeMember
Deprecated, for removal: This API element is subject to removal in a future version.Removes a user from a group.- Parameters:
user- The user object to add.group- The parent group.- Throws:
DirectoryModuleException- default module exception.
-
isMemberOf
Deprecated, for removal: This API element is subject to removal in a future version.Checks if a user is member of a group.- Parameters:
user- The usergroup- The grouprecursive- if true checks recursively.- Returns:
- true if the user is member of the group, false otherwise.
-
getParents
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the parents of a specified user.- Parameters:
user- The user to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
getAllParents
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the parents of a specified user.- Parameters:
user- The user to search for.- Returns:
- A java.util.Collection of
IGroupobjects.
-
getMembers
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the members of the group.- Parameters:
group- The group.- Returns:
- A java.util.Collection of
IUserobjects.
-
getAllMembers
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the members of the group.- Parameters:
group- The group.- Returns:
- A java.util.Collection of
IUserobjects.
-
getElementByProtocolURI
Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.- Parameters:
protocolURI- The protocol URI as a java.lang.String.- Returns:
- A
IProtocolSupportobject. - Throws:
ModuleException- default module exception.
-
getSearchController
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
DirectoryModuleException
-
getSearchController
@Deprecated ISearchController getSearchController(IJdbcReference reference) throws DirectoryModuleException Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.Gets a search controller object by specifying a JDBC external reference.- Parameters:
reference- TheIJdbcReferenceobject.- Returns:
- The
ISearchControllerobject. - Throws:
DirectoryModuleException- default module exception.
-
getSearchController
ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying aobject.invalid reference
ConnectionDefinition- Parameters:
connectionDefinition- TheIConnectionDefinitionobject.- Returns:
- A
ISearchControllerobject. - Throws:
DirectoryModuleException- Default module exception.
-
getSearchController
ISearchController getSearchController(IDataSourceReference reference) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying aIDataSourceReferenceobject.- Parameters:
reference- TheIDataSourceReferenceobject.- Returns:
- A
ISearchControllerobject. - Throws:
DirectoryModuleException- Default module exception.
-
getSecurityController
ISecurityController getSecurityController(ISecuritySupport securitySupport) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a security controller to manipulate the rights on a specified object.- Parameters:
securitySupport- AnyISecuritySupportobject.- Returns:
- A
ISecurityControllerobject. - Throws:
DirectoryModuleException- Default module exception.
-
getTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a transformer.- Returns:
- A
ITransformerobject. - Throws:
DirectoryModuleException- Default module exception.
-
getDirectoryTransformer
Deprecated, for removal: This API element is subject to removal in a future version.Gets a directory transformer.- Returns:
- A
IDirectoryTransformerobject. - Throws:
DirectoryModuleException- Default module exception.
-
createAttachment
Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a file name and an input stream.- Parameters:
context- The execution context.fileName- A java.lang.String value.input- AnInputStreamobject.- Returns:
- A
IAttachmentobject.
-
createAttachment
Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a java.io.File object.- Parameters:
context- The execution context.file- A java.io.File object.- Returns:
- A
IAttachmentobject.
-
createAttachment
Deprecated, for removal: This API element is subject to removal in a future version.Allows to create anIAttachmentobject from a java.io.File object.- Parameters:
context- The execution context.file- A java.io.File object.canBeRemoved- Specifies if the local file should be removed.- Returns:
- A
IAttachmentobject.
-
createAttachment
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.fileName- A java.lang.String value.bytes- The content of the attachment as a byte array.- Returns:
- A
IAttachmentobject.
-
getResourceDefinition
IResourceDefinition getResourceDefinition(IContext context, String name) throws DirectoryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets an extended attributes table- Parameters:
context-name- of the table- Returns:
- A
IResourceDefinitiontable - Throws:
DirectoryModuleException
-
addLocalizationScope
void addLocalizationScope(ILocalizationScopeSupport localizationScopeSupport, ILocalization localization, boolean heritable) Deprecated, for removal: This API element is subject to removal in a future version.Add localizationScope to the localizationScopeSupport object- Parameters:
localizationScopeSupport-localization-heritable-
-
getLocalizationScopes
Collection<? extends IDirectoryLocalizationScope> getLocalizationScopes(ILocalizationScopeSupport localizationScopeSupport) Deprecated, for removal: This API element is subject to removal in a future version.get the localizationScopes for the localizationScopeSupport object- Parameters:
localizationScopeSupport-- Returns:
- a Collection object of
IDirectoryLocalizationScope
-
removeLocalizationScope
void removeLocalizationScope(ILocalizationScopeSupport localizationScopeSupport, IDirectoryLocalizationScope directoryLocalizationScope) Deprecated, for removal: This API element is subject to removal in a future version.remove the localizationScope to the localizationScopeSupport object- Parameters:
localizationScopeSupport-directoryLocalizationScope-
-
restoreLocalizationScopeInheritance
Deprecated, for removal: This API element is subject to removal in a future version.restore the localizationScope inheritance for the localizationScopeSupport object- Parameters:
localizationScopeSupport-
-
breakLocalizationScopeInheritance
Deprecated, for removal: This API element is subject to removal in a future version.break the localizationScope inheritance for the localizationScopeSupport object- Parameters:
localizationScopeSupport-
-
isLocalizationScopeInherited
Deprecated, for removal: This API element is subject to removal in a future version.Checks if the localization scope is inherited- Parameters:
localizationScopeSupport-- Returns:
- true if the localization scope is inhe
-
addOrganizationScope
Deprecated, for removal: This API element is subject to removal in a future version.Add OrganizationScope to the User object- Parameters:
user-organization-heritable-
-
getOrganizationScopes
Deprecated, for removal: This API element is subject to removal in a future version.Gets the OrganizationScope for the User object- Parameters:
user-- Returns:
- a Collection object of
IDirectoryOrganizationScope
-
removeOrganizationScope
Deprecated, for removal: This API element is subject to removal in a future version.Removes the directoryOrganizationScope to the user's OrganizationScope- Parameters:
user-directoryOrganizationScope-
-
restoreOrganizationScopeInheritance
Deprecated, for removal: This API element is subject to removal in a future version.restore the organizationScope inheritance for the user object- Parameters:
user-
-
breakOrganizationScopeInheritance
Deprecated, for removal: This API element is subject to removal in a future version.break the organizationScope inheritance for the user object- Parameters:
user-
-
isOrganizationScopeInherited
Deprecated, for removal: This API element is subject to removal in a future version.is organizationScope inheritance- Parameters:
user-- Returns:
- isOrganizationScopeInherited
-
getLocalizationPathLabel
Deprecated, for removal: This API element is subject to removal in a future version.Generate path label of the localization "/" in label will replaced by "\\/"- Parameters:
localization-- Returns:
- localization path label
-
getOrganizationPathLabel
Deprecated, for removal: This API element is subject to removal in a future version.Generate path label of the organization "/" in label will replaced by "\\/"- Parameters:
organization-- Returns:
- organization path label
-
getCatalog
ICatalog getCatalog()Deprecated, for removal: This API element is subject to removal in a future version.Gets the extended attributes catalog- Returns:
ICatalogthe extended attributes catalog
-