public abstract class InProcessManagersFactoryImpl extends InProcessManagersFactory implements FdkSessionListener
CONFIG_SERVER_VERSION, CONFIG_WS_URL| Constructor and Description |
|---|
InProcessManagersFactoryImpl(FdkCredential credential,
Map config)
Constructs an InProcessManagersFactoryImpl.
|
InProcessManagersFactoryImpl(FdkSessionImpl session)
Package protected constructor used by FdkSessionImpl in some special
cases.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginRequest(String tag)
Marks the begining of a request that will result in successive calls to
various managers and their methods.
|
void |
disconnectCallback(FdkSession session)
Called right before a session is about to be disconnected.
|
void |
endRequest()
Marks the end of a request.
|
FdkSession |
getFdkSession()
Returns the FdkSession created by this instance.
|
Item |
getUser(AttributeRequest[] attributes)
Returns the user as an Item that was authenticated for this instance.
|
boolean |
isInProcess()
Returns true if the instance is running in-process, false if it is
running remoted over Web Services.
|
void |
logout()
The counterpart of the
login() methods. |
getExtendedFileContentManager, getExtendedLockManager, getMailManagergetArchiveManager, getAuditManager, getCategoryManager, getCommonManager, getContainerManager, getContentManager, getDomainManager, getFileContentManager, getFileManager, getGroupManager, getLifecycleManager, getLockManager, getRelationManager, getRequestManager, getSearchManager, getSecurityManager, getSessionManager, getSortManager, getSystemConfigurationManager, getTrashManager, getUserManager, getVersionManager, getWorkflowManager, getWorkspaceManager, login, login, login, loginpublic InProcessManagersFactoryImpl(FdkCredential credential, Map config) throws FdkException
The signature is required to be found via reflection.
credential - The credentialconfig - The configuration.FdkException - if operation failspublic InProcessManagersFactoryImpl(FdkSessionImpl session) throws FdkException
FdkExceptionpublic FdkSession getFdkSession()
getFdkSession in class InProcessManagersFactorypublic boolean isInProcess()
isInProcess in class ManagersFactorypublic void beginRequest(String tag) throws FdkException
endRequest() must
be called so that the resources are properly disposed of.
Note that after the instance is obtained by a login() call,
one must not call this method, the request can be considered already in
progress and the resources are ready to use.
This method does not support multiple successive calls without a call to
endRequest() in between or an exception will be raised.
beginRequest in class ManagersFactorytag - A tag that an application must use to identify itself and
that can be used for statistics purposes.
Must not be null.FdkExceptionpublic void endRequest()
throws FdkException
beginRequest().endRequest in class ManagersFactoryFdkExceptionpublic void logout()
throws FdkException
login() methods.
Logs out any underlying session and disposes the resources allocated by this instance.
Clients must call this method when the instance is no longer needed (i.e. when the user session needs to be terminated).
logout in class ManagersFactoryFdkExceptionpublic void disconnectCallback(FdkSession session)
disconnectCallback in interface FdkSessionListenersession - The session being disconnected.public Item getUser(AttributeRequest[] attributes) throws FdkException
getUser in class ManagersFactoryattributes - Optional attributes to return. Can be null.FdkExceptionCopyright © 2025. All rights reserved.