public interface IDirSystem extends IComponentProvider, IDirConstants
IDirService
s.
If you need to obtain a reference or discover an IDirService
then you start with the IDirSystem.
The IDirSystem also extends IComponentProvider
so it can participate in the IURIResolver.acquireURI(String)
and the
IComponentProvider.lookup(com.webmethods.portal.system.IURI)
apis.The IDirSystem uses lazy-initialization for all of its apis.
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
ADMIN_ROLE_ALIAS, ADMIN_USER_ALIAS, ATTR_DISABLED, ATTR_DN, ATTR_EMAIL, ATTR_NAME, ATTR_PASSWORD, CATEGORY_DIRECTORY, DELETED_THINGS_USER, DIR_SVC_CONTAINER, DIR_SVC_TYPE_CONTAINER, DIRECTORY_ROOT, DISPLAY_URI_SEGMENT, DOMAIN_PREFIX_SEPARATOR, EVERYONE_GROUP_ALIAS, FIRST_NAME, FULL_NAME, GROUP_DN_SEGMENT, GROUP_NAME, GUEST_USER_ALIAS, LAST_NAME, PAP_GROUP_TYPE_CONTAINER, PAP_PORTAL_ATTRIBUTES, PAP_ROLE_TYPE_CONTAINER, PAP_USER_TYPE_CONTAINER, ROLE_CURRENT_ROLES, ROLE_DN_PREFIX, ROLE_DN_SEGMENT, ROLE_PROVIDER_CONTAINER, ROLE_RELATION, ROLE_STORAGE_CONTAINER, SECURITY_SVC_CONTAINER, SYSTEM_DIRECTORY_SERVICE_ALIAS, TYPE_GROUP, TYPE_NAME_DIRECTORY_ROOT, TYPE_NAME_GROUP, TYPE_NAME_PRINCIPAL, TYPE_NAME_ROLE, TYPE_NAME_SERVICE, TYPE_NAME_USER, TYPE_ROLE, TYPE_USER, USER_DN_SEGMENT, USER_UUID
Modifier and Type | Method and Description |
---|---|
void |
clearCache(IURI uri)
Clears any caches for this uri
|
IThingID |
getDirectoryServiceFromName(String name)
Returns the IThingID which represents the
IDirService |
IDirService |
getDirectoryServiceFromThingID(IThingID thingID)
Returns the
IDirService portlet which is associated with this IThingID |
IThingIDList |
getDirectoryServices()
Retrieves the list of
IThing s which
are portlets which implement the IDirService interface and are currently configured. |
IThingIDList |
getDirectoryServices(IThingID userID)
Retrieves the list of
IThing s which
are portlets which implement the IDirService interface and are currently configured. |
IThingIDList |
getDirectoryServices(IThingID userID,
boolean filterNonEditable)
Retrieves the list of
IThing s which
are portlets which implement the IDirService interface and are currently configured,
filtered by editable directory service |
IPrincipalAttributeProvider |
getPrincipalAttributeProvider(IThingID thingID)
Get the Principal Attribute Provider
|
IThingIDList |
getPrincipalAttributeProviders(int type)
Gets all the avaliable
IPrincipalAttributeProvider for a specific type |
IThingIDList |
getRegisteredDirectoryServiceTypes()
Retrieves the list of
IThing s that
are portlets which implement the IDirService interface. |
IRoleSystem |
getRoleSystem() |
IThingID |
getSecurityServiceFromName(String name)
Returns the IThingID which represents the
ISecurityService |
ISecurityService |
getSecurityServiceFromThingID(IThingID thingID)
Returns the
ISecurityService portlet which is associated with this IThingID |
IThingIDList |
getSecurityServices()
Retrieves the list of
IThing s which
are portlets which implement the ISecurityService interface and are currently configured. |
IThingIDList |
getSecurityServices(IThingID userID)
Retrieves the list of
IThing s which
are portlets which implement the ISecurityService interface and are currently configured. |
IDirService |
getSystemDirectoryService()
Returns the internal System directory service
|
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
acquireURI, acquireURI
IThingIDList getDirectoryServices() throws PortalException
IThing
s which
are portlets which implement the IDirService
interface and are currently configured.PortalException
getDirectoryServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingIDList getDirectoryServices(IThingID userID) throws PortalException
IThing
s which
are portlets which implement the IDirService
interface and are currently configured.userID
- filtered for the current userPortalException
getDirectoryServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingIDList getDirectoryServices(IThingID userID, boolean filterNonEditable) throws PortalException
IThing
s which
are portlets which implement the IDirService
interface and are currently configured,
filtered by editable directory serviceuserID
- filtered for the current userfilterNonEditable
- only include editable directory servicesPortalException
getDirectoryServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingIDList getRegisteredDirectoryServiceTypes() throws PortalException
IThing
s that
are portlets which implement the IDirService
interface. These are default instances that are available
to be published and configured, but are not currently active. Think of these as templates.PortalException
getDirectoryServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingID getDirectoryServiceFromName(String name) throws PortalException
IDirService
name
- of the serviceIDirService
PortalException
getDirectoryServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IDirService getDirectoryServiceFromThingID(IThingID thingID) throws PortalException
IDirService
portlet which is associated with this IThingIDthingID
- IDirService
PortalException
IDirService getSystemDirectoryService() throws PortalException
PortalException
IThingIDList getPrincipalAttributeProviders(int type) throws PortalException
IPrincipalAttributeProvider
for a specific typetype
- either IDirConstants.TYPE_USER
IDirConstants.TYPE_GROUP
or IDirConstants.TYPE_ROLE
PortalException
IPrincipalAttributeProvider getPrincipalAttributeProvider(IThingID thingID) throws PortalException
thingID
- PortalException
IThingIDList getSecurityServices() throws PortalException
IThing
s which
are portlets which implement the ISecurityService
interface and are currently configured.PortalException
getSecurityServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingIDList getSecurityServices(IThingID userID) throws PortalException
IThing
s which
are portlets which implement the ISecurityService
interface and are currently configured.userID
- filtered for the current userPortalException
getSecurityServiceFromThingID(com.webmethods.portal.service.meta2.thing.IThingID)
IThingID getSecurityServiceFromName(String name) throws PortalException
ISecurityService
name
- of the serviceISecurityService
PortalException
ISecurityService getSecurityServiceFromThingID(IThingID thingID) throws PortalException
ISecurityService
portlet which is associated with this IThingIDthingID
- ISecurityService
PortalException
IRoleSystem getRoleSystem()
IRoleSystem
void clearCache(IURI uri) throws PortalException
PortalException