Skip navigation links


com.openmarket.xcelerate.interfaces
Interface IReplicate


public interface IReplicate

This interface defines IReplicate object which contains asset information for replication.


Method Summary
 void checkNewAssetNameInSharedAsset(ICS ics, java.lang.Long newsharedpubid, java.lang.String srcassetname, java.lang.String srcassettype)
          Verifies that new asset name is the same as original asset name for a shared asset.
 void checkNewAssetNameInSharedAsset(ICS ics, java.lang.String srcassetname, java.lang.String srcassettype)
          Verifies that new asset name is the same as original asset name for a shared asset.
 java.lang.String getNewAssetNameForNewAssetType(java.lang.String srcassetname, java.lang.String newassettype)
          Retrieve new name from replicate object given original name and new asset type.
 java.lang.String getNewSiteCatalogPageNameAssumingSiteEntry(ICS ics, java.lang.String srcSiteCatalogPageName)
          Get a new site catalog page name, given a source site catalog page name, and presuming it's a SiteEntry asset that owns it
 java.lang.String getNewSiteCatalogPageNameAssumingTemplate(ICS ics, java.lang.String srcSiteCatalogPageName)
          Get a new site catalog page name, given a source site catalog page name, and presuming it's a Template asset that owns it

 

Method Detail

getNewAssetNameForNewAssetType

java.lang.String getNewAssetNameForNewAssetType(java.lang.String srcassetname,
                                                java.lang.String newassettype)
Retrieve new name from replicate object given original name and new asset type. Method will figure out srcasssetype give the newassettype.
Parameters:
srcassetname - name of source asset
newassettype - type of new asset
Returns:
name of new asset

getNewSiteCatalogPageNameAssumingTemplate

java.lang.String getNewSiteCatalogPageNameAssumingTemplate(ICS ics,
                                                           java.lang.String srcSiteCatalogPageName)
                                                           throws com.openmarket.basic.interfaces.AssetException
Get a new site catalog page name, given a source site catalog page name, and presuming it's a Template asset that owns it
Throws:
com.openmarket.basic.interfaces.AssetException

getNewSiteCatalogPageNameAssumingSiteEntry

java.lang.String getNewSiteCatalogPageNameAssumingSiteEntry(ICS ics,
                                                            java.lang.String srcSiteCatalogPageName)
                                                            throws com.openmarket.basic.interfaces.AssetException
Get a new site catalog page name, given a source site catalog page name, and presuming it's a SiteEntry asset that owns it
Throws:
com.openmarket.basic.interfaces.AssetException

checkNewAssetNameInSharedAsset

void checkNewAssetNameInSharedAsset(ICS ics,
                                    java.lang.String srcassetname,
                                    java.lang.String srcassettype)
                                    throws com.openmarket.basic.interfaces.AssetException
Verifies that new asset name is the same as original asset name for a shared asset. Otherwise, an exception is thrown.
Parameters:
ics - interface to Content Server
srcassetname - asset name
srcassettype - asset type
Throws:
com.openmarket.basic.interfaces.AssetException

checkNewAssetNameInSharedAsset

void checkNewAssetNameInSharedAsset(ICS ics,
                                    java.lang.Long newsharedpubid,
                                    java.lang.String srcassetname,
                                    java.lang.String srcassettype)
                                    throws com.openmarket.basic.interfaces.AssetException
Verifies that new asset name is the same as original asset name for a shared asset. An exception is thrown if the shared asset refers to copied asset and references could not be resolved.
Parameters:
ics - interface to Content Server
newsharedpubid - publication id
srcassetname - asset name
srcassettype - asset type
Throws:
com.openmarket.basic.interfaces.AssetException

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.