atg.markers
Class MarkerUtils

java.lang.Object
  extended by atg.markers.MarkerUtils

public class MarkerUtils
extends java.lang.Object


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
MarkerUtils()
           
 
Method Summary
static MutableRepositoryItem getMutableRepositoryItem(MutableRepository pRepository, java.lang.String pItemId, java.lang.String pItemType)
          This method gets a mutable repository item based on the repository, item id and item type provided.
static MutableRepositoryItem getMutableRepositoryItem(RepositoryItem pItem)
          This method gets a mutable version of the repository item provided.
static java.lang.String stringIt(java.util.Collection pObject)
           
static java.lang.String stringIt(java.util.Map pObject)
          utility method for stringIzing collections for logging messages(or whatever)
static java.lang.String stringIt(java.lang.Object[] pObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

MarkerUtils

public MarkerUtils()
Method Detail

getMutableRepositoryItem

public static MutableRepositoryItem getMutableRepositoryItem(RepositoryItem pItem)
                                                      throws RepositoryException
This method gets a mutable version of the repository item provided.

Parameters:
pItem - the repository item
pRepository - the mutable repository where the item resides.
Returns:
MutableRepositoryItem a mutable version of the repository item
Throws:
RepositoryException - on repository error.

getMutableRepositoryItem

public static MutableRepositoryItem getMutableRepositoryItem(MutableRepository pRepository,
                                                             java.lang.String pItemId,
                                                             java.lang.String pItemType)
                                                      throws RepositoryException
This method gets a mutable repository item based on the repository, item id and item type provided.

Parameters:
pRepository - - the mutable repository where the item resides.
pItemId - - the repository item's id
pItemType - - the repository item's type
Returns:
MutableRepositoryItem - a mutable version of the repository item
Throws:
- - RepositoryException on repository error.
RepositoryException

stringIt

public static java.lang.String stringIt(java.util.Map pObject)
utility method for stringIzing collections for logging messages(or whatever)


stringIt

public static java.lang.String stringIt(java.util.Collection pObject)

stringIt

public static java.lang.String stringIt(java.lang.Object[] pObject)