|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.descriptor.RepositoryDescriptorDAOImpl
public class RepositoryDescriptorDAOImpl
Manages persistence and retrieval of Descriptors whose meta-data are retrieved from the repository stores.
Constructor Summary | |
---|---|
RepositoryDescriptorDAOImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryDescriptorDAOImpl()
Method Detail |
---|
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()
DescriptorDAO
getDescriptor
in interface DescriptorDAO
public Descriptor updateDescriptor(Descriptor serverDescriptor, RepoUsage.LicenseMode licenseMode)
DescriptorDAO
updateDescriptor
in interface DescriptorDAO
serverDescriptor
- the current server descriptor
public byte[] getLicenseKey()
DescriptorDAO
getLicenseKey
in interface DescriptorDAO
public void updateLicenseKey(byte[] key)
DescriptorDAO
updateLicenseKey
in interface DescriptorDAO
key
- the key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |