public class P8CE_Convert
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.filenet.api.core.Folder |
fromJARM(Container jarmContainer)
Converts a JARM
Container instance into a JACE com.filenet.api.core.Folder
instance. |
static com.filenet.api.core.Document |
fromJARM(ContentItem jarmContentItem)
Converts a JARM
ContentItem instance into a JACE com.filenet.api.core.Document
instance. |
static com.filenet.api.core.Connection |
fromJARM(DomainConnection jarmDomainConnection)
Converts a JARM
DomainConnection instance into a P8CE com.filenet.api.core.Connection
instance, if possible. |
static com.filenet.api.core.ObjectStore |
fromJARM(Repository jarmRepository)
Converts a JARM
Repository instance into a P8CE com.filenet.api.core.ObjectStore
instance, if possible. |
static com.filenet.api.core.Domain |
fromJARM(RMDomain jarmRMDomain)
Converts a JARM
RMDomain instance into a P8CE com.filenet.api.core.Domain
instance, if possible. |
static DomainConnection |
fromP8CE(com.filenet.api.core.Connection p8CEConnection)
Converts a P8 Content Engine
com.filenet.api.core.Connection instance into
a JARM DomainConnection instance. |
static ContentItem |
fromP8CE(com.filenet.api.core.Document p8CEDocument)
Converts a P8CE
com.filenet.api.core.Document instance into
a JARM ContentItem instance. |
static RMDomain |
fromP8CE(com.filenet.api.core.Domain p8CEDomain)
Converts a P8CE
com.filenet.api.core.Domain instance into
a JARM RMDomain instance. |
static Container |
fromP8CE(com.filenet.api.core.Folder p8CEFolder)
Converts a P8CE
com.filenet.api.core.Folder instance into
a JARM Container (or subclass thereof) instance. |
static Repository |
fromP8CE(com.filenet.api.core.ObjectStore p8CEObjectStore)
Converts a P8CE
com.filenet.api.core.ObjectStore instance into
a JARM Repository instance. |
public static DomainConnection fromP8CE(com.filenet.api.core.Connection p8CEConnection)
com.filenet.api.core.Connection
instance into
a JARM DomainConnection instance.p8CEConnection
- the P8CE instance to convert from.DomainConnection
instance.public static com.filenet.api.core.Connection fromJARM(DomainConnection jarmDomainConnection)
DomainConnection
instance into a P8CE com.filenet.api.core.Connection
instance, if possible.jarmDomainConnection
- The JARM DomainConnection
instance to convert from.
This entry cannot be null
.null
if the JARM instance is not a P8CE type.public static RMDomain fromP8CE(com.filenet.api.core.Domain p8CEDomain)
com.filenet.api.core.Domain
instance into
a JARM RMDomain
instance.
If the given P8CE Domain
instance is either not already resolved
from the P8 Content Engine or the instance is missing any minimum-required
properties in its property cache (from the JARM point-of-view), then
a property fetch from the P8 Content Engine is performed.p8CEDomain
- The P8CE instance to convert from.
This entry cannot be null
.RMDomain
instance.public static com.filenet.api.core.Domain fromJARM(RMDomain jarmRMDomain)
RMDomain
instance into a P8CE com.filenet.api.core.Domain
instance, if possible.jarmRMDomain
- The JARM RMDomain
instance to convert from.
This entry cannot be null
.com.filenet.api.core.Domain
instance.
This entry can be null
if the JARM instance is not a P8CE type.public static com.filenet.api.core.ObjectStore fromJARM(Repository jarmRepository)
Repository
instance into a P8CE com.filenet.api.core.ObjectStore
instance, if possible.jarmRepository
- the JARM Repository
instance to convert from.
This entry cannot be null
.com.filenet.api.core.ObjectStore
instance.
This entry can be null
if the JARM instance is not a P8CE type.public static Repository fromP8CE(com.filenet.api.core.ObjectStore p8CEObjectStore)
com.filenet.api.core.ObjectStore
instance into
a JARM Repository
instance.p8CEObjectStore
- the P8CE com.filenet.api.core.ObjectStore
instance to convert from.
This entry cannot be null
.Repository
instance.public static com.filenet.api.core.Folder fromJARM(Container jarmContainer)
Container
instance into a JACE com.filenet.api.core.Folder
instance.jarmContainer
- the JARM Container
instance to convert from.
This entry cannot be null
.null
if the JARM instance is not a P8CE type.public static Container fromP8CE(com.filenet.api.core.Folder p8CEFolder)
com.filenet.api.core.Folder
instance into
a JARM Container
(or subclass thereof) instance.p8CEFolder
- the com.filenet.api.core.Folder
instance to convert from.
This entry cannot be null
.Container
(or subclass thereof) instance.public static com.filenet.api.core.Document fromJARM(ContentItem jarmContentItem)
ContentItem
instance into a JACE com.filenet.api.core.Document
instance.jarmContentItem
- the JARM ContentItem
instance to convert from.
This entry cannot be null
.null
if the JARM instance is not a P8CE type.public static ContentItem fromP8CE(com.filenet.api.core.Document p8CEDocument)
com.filenet.api.core.Document
instance into
a JARM ContentItem
instance.p8CEDocument
- the com.filenet.api.core.Document
instance to convert from.
This entry cannot be null
.ContentItem
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.