Class CmisServiceFactory
- java.lang.Object
-
- org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
- org.ametys.plugins.workspaces.cmis.CmisServiceFactory
-
- All Implemented Interfaces:
Component
,Serviceable
,CmisServiceFactory
public class CmisServiceFactory extends AbstractServiceFactory implements Component, Serviceable
Factory forCmisServiceImpl
-
-
Field Summary
Fields Modifier and Type Field Description private AddOrUpdateResourceHelper
_addOrUpdateResourceHelper
private AuthenticationTokenManager
_authenticationTokenManager
private CurrentUserProvider
_currentUserProvider
private DocumentWorkspaceModule
_documentModule
private ProjectManager
_projectManager
private AmetysObjectResolver
_resolver
private SiteManager
_siteManager
private SourceResolver
_sourceResolver
private CmisTypeManager
_typeManager
private UserManager
_userManager
private WorkspaceExplorerResourceDAO
_workspaceExplorerResourceDAO
static String
ROLE
The avalon role
-
Constructor Summary
Constructors Constructor Description CmisServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddOrUpdateResourceHelper
getAddOrUpdateResourceHelper()
AddOrUpdateResourceHelperAuthenticationTokenManager
getAuthenticationTokenManager()
AuthenticationTokenManagerCurrentUserProvider
getCurrentUserProvider()
CurrentUserProviderDocumentWorkspaceModule
getDocumentModule()
DocumentWorkspaceModuleProjectManager
getProjectManager()
ProjectManagerAmetysObjectResolver
getResolver()
AmetysObjectResolverCmisService
getService(CallContext context)
SiteManager
getSiteManager()
SiteManagerSourceResolver
getSourceResolver()
SourceResolverCmisTypeManager
getTypeManager()
CmisTypeManagerUserManager
getUserManager()
UserManagerWorkspaceExplorerResourceDAO
getWorkspaceExplorerResourceDAO()
WorkspaceExplorerResourceDAOvoid
service(ServiceManager manager)
-
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
destroy, encryptTempFiles, getMaxContentSize, getMemoryThreshold, getTempDirectory, getTempFileOutputStream, init
-
-
-
-
Field Detail
-
_projectManager
private ProjectManager _projectManager
-
_workspaceExplorerResourceDAO
private WorkspaceExplorerResourceDAO _workspaceExplorerResourceDAO
-
_documentModule
private DocumentWorkspaceModule _documentModule
-
_resolver
private AmetysObjectResolver _resolver
-
_typeManager
private CmisTypeManager _typeManager
-
_userManager
private UserManager _userManager
-
_authenticationTokenManager
private AuthenticationTokenManager _authenticationTokenManager
-
_sourceResolver
private SourceResolver _sourceResolver
-
_currentUserProvider
private CurrentUserProvider _currentUserProvider
-
_siteManager
private SiteManager _siteManager
-
_addOrUpdateResourceHelper
private AddOrUpdateResourceHelper _addOrUpdateResourceHelper
-
-
Constructor Detail
-
CmisServiceFactory
public CmisServiceFactory()
-
-
Method Detail
-
getService
public CmisService getService(CallContext context)
- Specified by:
getService
in interfaceCmisServiceFactory
- Specified by:
getService
in classAbstractServiceFactory
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getProjectManager
public ProjectManager getProjectManager()
ProjectManager- Returns:
- ProjectManager
-
getWorkspaceExplorerResourceDAO
public WorkspaceExplorerResourceDAO getWorkspaceExplorerResourceDAO()
WorkspaceExplorerResourceDAO- Returns:
- WorkspaceExplorerResourceDAO
-
getResolver
public AmetysObjectResolver getResolver()
AmetysObjectResolver- Returns:
- AmetysObjectResolver
-
getTypeManager
public CmisTypeManager getTypeManager()
CmisTypeManager- Returns:
- CmisTypeManager
-
getUserManager
public UserManager getUserManager()
UserManager- Returns:
- UserManager
-
getAuthenticationTokenManager
public AuthenticationTokenManager getAuthenticationTokenManager()
AuthenticationTokenManager- Returns:
- AuthenticationTokenManager
-
getSourceResolver
public SourceResolver getSourceResolver()
SourceResolver- Returns:
- SourceResolver
-
getCurrentUserProvider
public CurrentUserProvider getCurrentUserProvider()
CurrentUserProvider- Returns:
- CurrentUserProvider
-
getSiteManager
public SiteManager getSiteManager()
SiteManager- Returns:
- SiteManager
-
getDocumentModule
public DocumentWorkspaceModule getDocumentModule()
DocumentWorkspaceModule- Returns:
- DocumentWorkspaceModule
-
getAddOrUpdateResourceHelper
public AddOrUpdateResourceHelper getAddOrUpdateResourceHelper()
AddOrUpdateResourceHelper- Returns:
- AddOrUpdateResourceHelper
-
-