mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added NodeDaoService.getNodePropertiesRaw(Long nodeId)
- Allow low-level retrieval of the persisted node properties - Unmarshalling of cm:auditable properties included git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -32,6 +32,8 @@ import java.util.Set;
|
||||
|
||||
import org.alfresco.repo.domain.ChildAssoc;
|
||||
import org.alfresco.repo.domain.NodeAssoc;
|
||||
import org.alfresco.repo.domain.NodePropertyValue;
|
||||
import org.alfresco.repo.domain.PropertyMapKey;
|
||||
import org.alfresco.repo.domain.Transaction;
|
||||
import org.alfresco.repo.domain.hibernate.DirtySessionAnnotation;
|
||||
import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
|
||||
@@ -135,6 +137,17 @@ public interface NodeDaoService
|
||||
|
||||
@DirtySessionAnnotation(markDirty=false)
|
||||
public Serializable getNodeProperty(Long nodeId, QName propertyQName);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param nodeId the node's ID
|
||||
* @return Returns a copy of the low-level properties including auditable properties
|
||||
* @throws ObjectNotFoundException if the node ID is invalid
|
||||
*
|
||||
* @see #getNodePair(NodeRef)
|
||||
*/
|
||||
@DirtySessionAnnotation(markDirty=false)
|
||||
public Map<PropertyMapKey, NodePropertyValue> getNodePropertiesRaw(Long nodeId);
|
||||
|
||||
@DirtySessionAnnotation(markDirty=false)
|
||||
public Map<QName, Serializable> getNodeProperties(Long nodeId);
|
||||
|
Reference in New Issue
Block a user