mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-378 (AtomPub binding) Support for sub-types (and properties)
- 1st pass at creation of document / folder sub-types - 1st pass at setting / updating custom properties - Existing AtomPub CMIS Tests passing git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
*/
|
||||
package org.alfresco.cmis.property;
|
||||
|
||||
import org.alfresco.cmis.dictionary.CMISMapping;
|
||||
import org.alfresco.cmis.dictionary.CMISScope;
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
|
||||
/**
|
||||
* Base class for named property accessors
|
||||
@@ -35,26 +37,24 @@ import org.alfresco.cmis.dictionary.CMISScope;
|
||||
public abstract class AbstractNamedPropertyAccessor extends AbstractPropertyAccessor implements NamedPropertyAccessor
|
||||
{
|
||||
private String propertyName;
|
||||
|
||||
private CMISScope scope;
|
||||
|
||||
public String getPropertyName()
|
||||
{
|
||||
return propertyName;
|
||||
}
|
||||
|
||||
public void setPropertyName(String propertyName)
|
||||
protected AbstractNamedPropertyAccessor(CMISMapping cmisMapping, ServiceRegistry serviceRegistry, CMISScope scope, String propertyName)
|
||||
{
|
||||
super(cmisMapping, serviceRegistry);
|
||||
this.scope = scope;
|
||||
this.propertyName = propertyName;
|
||||
}
|
||||
|
||||
|
||||
public CMISScope getScope()
|
||||
{
|
||||
return scope;
|
||||
}
|
||||
|
||||
public void setScope(CMISScope scope)
|
||||
public String getPropertyName()
|
||||
{
|
||||
this.scope = scope;
|
||||
return propertyName;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user