mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix ALFCOM-3384 - unable to create WCM form-based content
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
package org.alfresco.repo.domain.avm;
|
||||
|
||||
import org.alfresco.repo.domain.PropertyValue;
|
||||
import org.alfresco.util.EqualsHelper;
|
||||
|
||||
/**
|
||||
* Entity bean for <b>avm_node_properties</b> table.
|
||||
@@ -45,7 +44,6 @@ public class AVMNodePropertyEntity extends PropertyValue
|
||||
{
|
||||
}
|
||||
|
||||
// TODO redo
|
||||
public AVMNodePropertyEntity(long nodeId, Long qnameId, PropertyValue value)
|
||||
{
|
||||
setNodeId(nodeId);
|
||||
@@ -80,16 +78,6 @@ public class AVMNodePropertyEntity extends PropertyValue
|
||||
this.qnameId = qnameId;
|
||||
}
|
||||
|
||||
public void setSerializable(byte[] data)
|
||||
{
|
||||
setSerializableValue(data);
|
||||
}
|
||||
|
||||
public byte[] getSerializable()
|
||||
{
|
||||
return (byte[])getSerializableValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
|
@@ -47,7 +47,6 @@ public class AVMStorePropertyEntity extends PropertyValue
|
||||
// default constructor
|
||||
}
|
||||
|
||||
// TODO redo
|
||||
public AVMStorePropertyEntity(long storeId, Long qnameId, PropertyValue value)
|
||||
{
|
||||
setAvmStoreId(storeId);
|
||||
@@ -90,16 +89,6 @@ public class AVMStorePropertyEntity extends PropertyValue
|
||||
this.qnameId = qnameId;
|
||||
}
|
||||
|
||||
public void setSerializable(byte[] data)
|
||||
{
|
||||
setSerializableValue(data);
|
||||
}
|
||||
|
||||
public byte[] getSerializable()
|
||||
{
|
||||
return (byte[])getSerializableValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
|
@@ -449,7 +449,7 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
|
||||
}
|
||||
|
||||
// Get the persistent ID for the QName
|
||||
Pair<Long, QName> qnamePair = qnameDAO.getQName(qname);
|
||||
Pair<Long, QName> qnamePair = qnameDAO.getOrCreateQName(qname);
|
||||
if (qnamePair != null)
|
||||
{
|
||||
Long qnameId = qnamePair.getFirst();
|
||||
|
Reference in New Issue
Block a user