mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-10 14:11:58 +00:00
.externalToolBuilders
config
source
cpp
java
org
alfresco
email
filesys
jcr
linkvalidation
model
repo
action
activities
admin
attributes
audit
avm
actions
hibernate
locking
util
wf
AVMAspectName.java
AVMAspectNameDAO.java
AVMAspectNameImpl.java
AVMCrawlTestP.java
AVMCrawler.java
AVMDAOs.java
AVMDeploymentAttemptCleaner.java
AVMDeploymentAttemptCleanerJob.java
AVMDeploymentAttemptCleanerTest.java
AVMExpiredContentJob.java
AVMExpiredContentProcessor.java
AVMExpiredContentTest.java
AVMInterpreter.java
AVMLockingAwareService.java
AVMNode.java
AVMNodeConverter.java
AVMNodeConverterTest.java
AVMNodeDAO.java
AVMNodeImpl.java
AVMNodeProperty.java
AVMNodePropertyDAO.java
AVMNodePropertyImpl.java
AVMNodeService.java
AVMNodeType.java
AVMNodeUnwrapper.java
AVMRemoteLocal.java
AVMRemoteTransportService.java
AVMRepository.java
AVMScaleTestP.java
AVMServiceImpl.java
AVMServiceIndexTest.java
AVMServiceLocalTest.java
AVMServicePerfTest.java
AVMServicePermissionsTest.java
AVMServiceRemoteSystemTest.java
AVMServiceTest.java
AVMServiceTestBase.java
AVMStore.java
AVMStoreDAO.java
AVMStoreImpl.java
AVMStoreProperty.java
AVMStorePropertyDAO.java
AVMStorePropertyImpl.java
AVMStressTestP.java
AVMSyncServiceImpl.java
AVMSyncServiceTransportImpl.java
AVMTester.java
AvmBootstrap.java
AvmMetadataExtracter.java
BasicAttributes.java
BasicAttributesImpl.java
ChildEntry.java
ChildEntryDAO.java
ChildEntryImpl.java
ChildKey.java
CreateStoreCallback.java
CreateStoreTxnListener.java
CreateVersionCallback.java
CreateVersionTxnListener.java
DeletedNode.java
DeletedNodeImpl.java
DirectoryNode.java
DirectoryNodeImpl.java
FileNameValidator.java
FileNameValidatorTest.java
FileNode.java
FileNodeImpl.java
HistoryLink.java
HistoryLinkDAO.java
HistoryLinkImpl.java
Issuer.java
IssuerDAO.java
IssuerID.java
IssuerIDDAO.java
IssuerIDImpl.java
Layered.java
LayeredDirectoryNode.java
LayeredDirectoryNodeImpl.java
LayeredFileNode.java
LayeredFileNodeImpl.java
Lookup.java
LookupCache.java
LookupComponent.java
LookupKey.java
MergeLink.java
MergeLinkDAO.java
MergeLinkImpl.java
OrphanReaper.java
OrphanReaperJob.java
PlainDirectoryNode.java
PlainDirectoryNodeImpl.java
PlainFileNode.java
PlainFileNodeImpl.java
PurgeStoreCallback.java
PurgeStoreTxnListener.java
PurgeTestP.java
PurgeVersionCallback.java
PurgeVersionTxnListener.java
SimultaneousLoadTest.java
TestDeploymentCallback.java
VersionLayeredNodeEntry.java
VersionLayeredNodeEntryDAO.java
VersionLayeredNodeEntryImpl.java
VersionRoot.java
VersionRootDAO.java
VersionRootImpl.java
blogIntegration
cache
clt
coci
config
configuration
content
copy
deploy
descriptor
dictionary
domain
exporter
forum
i18n
importer
jscript
lock
model
module
node
ownable
person
policy
preference
processor
remote
rule
search
security
service
site
template
tenant
thumbnail
transaction
usage
version
workflow
sandbox
service
tools
util
apache
queryRegister.dtd
meta-inf
test-resources
web
.classpath
.project
build.xml
Removed calls to getXXXPaths(). Changed mappings of properties and aspects on AVM Nodes to favor get all calls. Added getAspects() and getNodeProperties() which take AVMNodeDescriptors. Used these in AVM Indexing to reduce the number of redundant full lookups. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
83 lines
2.6 KiB
Java
83 lines
2.6 KiB
Java
/*
|
|
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing" */
|
|
|
|
package org.alfresco.repo.avm;
|
|
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
import org.alfresco.service.namespace.QName;
|
|
|
|
/**
|
|
* DAO for AVMNodeProperty.
|
|
* @author britt
|
|
*/
|
|
public interface AVMNodePropertyDAO
|
|
{
|
|
/**
|
|
* Save the given AVMNodeProperty.
|
|
* @param prop
|
|
*/
|
|
public void save(AVMNodeProperty prop);
|
|
|
|
/**
|
|
* Get an AVMNodeProperty by owner and name.
|
|
* @param owner An AVMNode.
|
|
* @param name The QName.
|
|
* @return The found AVMNodeProperty or null if not found.
|
|
*/
|
|
public AVMNodeProperty get(AVMNode owner, QName name);
|
|
|
|
/**
|
|
* Get a List of all properties for an owning node.
|
|
* @param node The owning node.
|
|
* @return A List of properties belonging to the given node.
|
|
*/
|
|
public List<AVMNodeProperty> get(AVMNode node);
|
|
|
|
/**
|
|
* Update a property entry.
|
|
* @param prop The property.
|
|
*/
|
|
public void update(AVMNodeProperty prop);
|
|
|
|
/**
|
|
* Delete all properties associated with a node.
|
|
* @param node The AVMNode whose properties should be deleted.
|
|
*/
|
|
public void deleteAll(AVMNode node);
|
|
|
|
/**
|
|
* Delete the given property from the given node.
|
|
* @param node The node to delete the property to delete.
|
|
* @param name The name of the property to delete.
|
|
*/
|
|
public void delete(AVMNode node, QName name);
|
|
|
|
/**
|
|
* Get an iterator over all properties.
|
|
* @return
|
|
*/
|
|
public Iterator<AVMNodeProperty> iterate();
|
|
}
|