com.wewebu.ow.server.ecmimpl.opencmis.alfresco
Class OwCMISAlfrescoBulkTransientObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractTransientObject<N>
      extended by com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISBulkTransientObject<N>
          extended by com.wewebu.ow.server.ecmimpl.opencmis.alfresco.OwCMISAlfrescoBulkTransientObject<N>
All Implemented Interfaces:
OwCMISAlfrescoTransientObject<N>, OwCMISTransientObject<N>

public class OwCMISAlfrescoBulkTransientObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>
extends OwCMISBulkTransientObject<N>
implements OwCMISAlfrescoTransientObject<N>

Implements bulk Alfresco-aspect property extension data tweaking during caching operations.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
 
Fields inherited from class com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractTransientObject
contextBoundObject, session
 
Constructor Summary
OwCMISAlfrescoBulkTransientObject(N transientCmisObject, org.apache.chemistry.opencmis.client.api.OperationContext creationContext, org.apache.chemistry.opencmis.client.api.Session session)
           
 
Method Summary
protected  org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> getUnfetchedPropertyDefinition(String nativePropertyName)
          (overridable) Called by OwCMISAbstractTransientObject.secureProperties(Collection) if a property is requested, which is not cached.
 boolean mustSecureAspects()
           
 N secureAspects()
           
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISBulkTransientObject
fetchObject, retrieveProperties
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractTransientObject
addFilter, detach, getSession, getTransientCmisObject, getTransientContext, isDetached, refresh, secureObject, secureObject, secureProperties, secureProperty, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISTransientObject
detach, getTransientCmisObject, getTransientContext, isDetached, refresh, secureObject, secureObject, secureProperties, secureProperty, setProperties
 

Constructor Detail

OwCMISAlfrescoBulkTransientObject

public OwCMISAlfrescoBulkTransientObject(N transientCmisObject,
                                         org.apache.chemistry.opencmis.client.api.OperationContext creationContext,
                                         org.apache.chemistry.opencmis.client.api.Session session)
Method Detail

secureAspects

public N secureAspects()
Specified by:
secureAspects in interface OwCMISAlfrescoTransientObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>

mustSecureAspects

public boolean mustSecureAspects()
Specified by:
mustSecureAspects in interface OwCMISAlfrescoTransientObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>

getUnfetchedPropertyDefinition

protected org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> getUnfetchedPropertyDefinition(String nativePropertyName)
Description copied from class: OwCMISAbstractTransientObject
(overridable) Called by OwCMISAbstractTransientObject.secureProperties(Collection) if a property is requested, which is not cached. Returned PropertyDefinition will be used to transform id to corresponding queryName representation which will be used for fetching.

Overrides:
getUnfetchedPropertyDefinition in class OwCMISAbstractTransientObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>
Parameters:
nativePropertyName - String native (non-qualified) property Id
Returns:
PropertyDefinition


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.