com.wewebu.ow.server.ecmimpl.cmis.extension
Interface OwCMISNetworkExtension

All Known Implementing Classes:
OwCMISALNetworkExtension

public interface OwCMISNetworkExtension

Network based extension interface.
Extensions are aspect-oriented like , id based cross-cutting concerns.
Extensions are provided by extension libraries - OwCMISExtensionLibrary - and implemented as interface methods. Extensions are uniquely determined by implementing interface type and extension id.

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

Since:
3.1.0.0

Field Summary
static String PREPARE_FOR_CREATION_EP
          Extension point name for prepare object class for creation
static String PREPARE_OBJECT_CLASS_EP
          Extension point name for prepare object class
static String TWEAK_OBJECT_EP
          Extension point name for tweak object
 
Method Summary
 OwCMISObjectClass prepareForCreation(OwCMISObjectClass objectClass_p, OwCMISNetwork network_p)
          Prepare object class to be used in skeleton object (begin of Creation Process).
 OwCMISObjectClass prepareObjectClass(OwCMISObjectClass class_p, OwCMISNetwork network_p)
          Prepare object class, load additional information or wrap into a specific handler.
 org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType tweakSearchResult(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p, com.wewebu.ow.csqlc.ast.OwQueryStatement statement_p, OwCMISNetwork network_p)
          Makes structural adjustments (egg.
 

Field Detail

TWEAK_OBJECT_EP

static final String TWEAK_OBJECT_EP
Extension point name for tweak object

See Also:
Constant Field Values

PREPARE_OBJECT_CLASS_EP

static final String PREPARE_OBJECT_CLASS_EP
Extension point name for prepare object class

Since:
3.2.0.0
See Also:
Constant Field Values

PREPARE_FOR_CREATION_EP

static final String PREPARE_FOR_CREATION_EP
Extension point name for prepare object class for creation

Since:
3.2.0.0
See Also:
Constant Field Values
Method Detail

tweakSearchResult

org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType tweakSearchResult(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p,
                                                                          com.wewebu.ow.csqlc.ast.OwQueryStatement statement_p,
                                                                          OwCMISNetwork network_p)
                                                                          throws com.wewebu.ow.server.exceptions.OwException
Makes structural adjustments (egg. property id changes, property value changes) to CMIS object that is part of a search (query) result.

Parameters:
object_p - the search resulted CMIS object - for performance purposes might be an in-out parameter
statement_p - the search statement that produced the given object
network_p - the current network
Returns:
the structural adjusted object
Throws:
com.wewebu.ow.server.exceptions.OwException

prepareObjectClass

OwCMISObjectClass prepareObjectClass(OwCMISObjectClass class_p,
                                     OwCMISNetwork network_p)
                                     throws com.wewebu.ow.server.exceptions.OwException
Prepare object class, load additional information or wrap into a specific handler.

Parameters:
class_p - OwCMISObjectClass to be prepared
network_p - OwCMISNetwork current instance
Returns:
OwCMISObjectClass
Throws:
com.wewebu.ow.server.exceptions.OwException - in case of problems during prepare
Since:
3.2.0.0

prepareForCreation

OwCMISObjectClass prepareForCreation(OwCMISObjectClass objectClass_p,
                                     OwCMISNetwork network_p)
                                     throws com.wewebu.ow.server.exceptions.OwException
Prepare object class to be used in skeleton object (begin of Creation Process).

Parameters:
objectClass_p - OwCMISObjectClass current created skeleton
network_p - OwCMISNetwork current instance
Returns:
OwCMISObjectClass which was "prepared" for Creation process
Throws:
com.wewebu.ow.server.exceptions.OwException - in case of problems during prepare
Since:
3.2.0.0


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.