public class RepositoryDescriptorDAOImpl extends java.lang.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(java.lang.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(java.lang.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()
DescriptorDAOgetDescriptor in interface DescriptorDAOpublic Descriptor updateDescriptor(Descriptor serverDescriptor, RepoUsage.LicenseMode licenseMode)
DescriptorDAOupdateDescriptor in interface DescriptorDAOserverDescriptor - the current server descriptorpublic byte[] getLicenseKey()
DescriptorDAOgetLicenseKey in interface DescriptorDAOpublic void updateLicenseKey(byte[] key)
DescriptorDAOupdateLicenseKey in interface DescriptorDAOkey - the keyCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.