|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALUtil
public class OwCMISALUtil
Alfresco CMIS data manipulation utility class.
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
Constructor Summary | |
---|---|
OwCMISALUtil()
|
Method Summary | ||
---|---|---|
static void |
cacheAspects(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p,
OwCMISNetwork network_p,
String resourceID_p)
Caches the Aspects (applied aspects and aspects properties) for
the given CmisObjectType . |
|
static
|
findFirst(List<Object> objectList_p,
Class<T> class_p)
Find first occurrence of given type (class). |
|
static org.alfresco.Aspects |
resolveAspects(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p,
OwCMISNetwork network_p,
String resourceID_p)
Caches and returns the Aspects object associated with the given CmisObjectType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISALUtil()
Method Detail |
---|
public static <T> T findFirst(List<Object> objectList_p, Class<T> class_p)
objectList_p
- List to search throughclass_p
- Class which type is requested
public static void cacheAspects(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p, OwCMISNetwork network_p, String resourceID_p) throws com.wewebu.ow.server.exceptions.OwException
Aspects
(applied aspects and aspects properties) for
the given CmisObjectType
.
The Aspects
object is cached as an element of the any properties extension
of the given CmisObjectType
.
If the Aspects
of the given object have already been cached the applied aspects list
will be replaced with the latest version obtained from the web service.
object_p
- CmisObjectType whose aspects will be cachednetwork_p
- OwCMISNetwork the current networkresourceID_p
- String id of the object's residing repository/resource
com.wewebu.ow.server.exceptions.OwException
public static org.alfresco.Aspects resolveAspects(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p, OwCMISNetwork network_p, String resourceID_p) throws com.wewebu.ow.server.exceptions.OwException
Aspects
object associated with the given CmisObjectType.
If the Aspects
of the given object have already been cached they will not be retrieved from
the web service again.
object_p
- CmisObjectType objects whose aspects will be retrievednetwork_p
- OwCMISNetwork the current networkresourceID_p
- String id of the object's residing repository/resource
Aspects
object associated with the given CmisObjectType obtained by performing a one time
web service cache
com.wewebu.ow.server.exceptions.OwException
cacheAspects(CmisObjectType, OwCMISNetwork, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |