com.openmarket.xcelerate.interfaces
Interface IReplicate


public interface IReplicate


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.
 

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

checkNewAssetNameInSharedAsset

void checkNewAssetNameInSharedAsset(ICS ics,
                                    java.lang.String srcassetname,
                                    java.lang.String srcassettype)
                                    throws 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:
AssetException

checkNewAssetNameInSharedAsset

void checkNewAssetNameInSharedAsset(ICS ics,
                                    java.lang.Long newsharedpubid,
                                    java.lang.String srcassetname,
                                    java.lang.String srcassettype)
                                    throws 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:
AssetException


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.