public class RepositoryDescriptorDAOImpl extends Object implements DescriptorDAO
Constructor and Description |
---|
RepositoryDescriptorDAOImpl() |
Modifier and Type | Method and Description |
---|---|
Descriptor |
getDescriptor()
Create repository descriptor.
|
byte[] |
getLicenseKey()
Gets the license key.
|
void |
setContentService(ContentService contentService)
Sets the content service.
|
void |
setName(String name)
Sets the name.
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Sets the namespace service.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service.
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Sets the search service.
|
void |
setSystemBootstrap(ImporterBootstrap systemBootstrap)
Sets the system bootstrap.
|
void |
setTransactionService(TransactionService transactionService)
Sets the transaction service.
|
Descriptor |
updateDescriptor(Descriptor serverDescriptor,
RepoUsage.LicenseMode licenseMode)
Push the current server descriptor properties into persistence.
|
void |
updateLicenseKey(byte[] key)
Update license key.
|
public void setName(String name)
name
- the new namepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the new node servicepublic void setContentService(ContentService contentService)
contentService
- the new content servicepublic void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- the new search servicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- the new namespace servicepublic void setSystemBootstrap(ImporterBootstrap systemBootstrap)
systemBootstrap
- the new system bootstrappublic void setTransactionService(TransactionService transactionService)
transactionService
- the new transaction servicepublic Descriptor getDescriptor()
DescriptorDAO
getDescriptor
in interface DescriptorDAO
public Descriptor updateDescriptor(Descriptor serverDescriptor, RepoUsage.LicenseMode licenseMode)
DescriptorDAO
updateDescriptor
in interface DescriptorDAO
serverDescriptor
- the current server descriptorpublic byte[] getLicenseKey()
DescriptorDAO
getLicenseKey
in interface DescriptorDAO
public void updateLicenseKey(byte[] key)
DescriptorDAO
updateLicenseKey
in interface DescriptorDAO
key
- the keyCopyright © 2005–2017 Alfresco Software. All rights reserved.