|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.adapter.gsa.xml.ReferenceItemGenerator
public class ReferenceItemGenerator
This class is responsible for creating temporary "dummy" item descriptors that can act as a stand-in for required item properties.
Constructor Summary | |
---|---|
ReferenceItemGenerator(ImportService pImportService)
|
Method Summary | |
---|---|
atg.repository.MutableRepositoryItem |
createDummyItem(atg.repository.MutableRepository pRepository,
java.lang.String pItemDescriptorName)
Creates a dummy repository item which is used when a required property of the given types needs to reference an asset. |
void |
deleteAllDummyReferenceItems()
Removes the dummy items from the destination repository |
atg.repository.RepositoryItem |
findDummyReferenceItem(atg.repository.MutableRepository pRepository,
java.lang.String pItemDescriptorName,
atg.adapter.gsa.GSAPropertyDescriptor pPropertyDescriptor)
|
void |
generateDummyItems()
Creates dummy items that will be used as temporary place holders. |
long |
generateSeed()
Generates a *hopefully* unique seed |
static java.lang.String |
getRandomString(int n)
Return a random strng of a given length |
java.util.List |
getReferenceItemList()
|
void |
initialiseReferenceItemGenerator()
|
void |
persistReferenceItemList()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReferenceItemGenerator(ImportService pImportService)
Method Detail |
---|
public java.util.List getReferenceItemList()
public void initialiseReferenceItemGenerator() throws atg.repository.RepositoryException, java.io.IOException
atg.repository.RepositoryException
java.io.IOException
public void generateDummyItems() throws atg.repository.RepositoryException, java.io.IOException
atg.repository.RepositoryException
java.io.IOException
public atg.repository.RepositoryItem findDummyReferenceItem(atg.repository.MutableRepository pRepository, java.lang.String pItemDescriptorName, atg.adapter.gsa.GSAPropertyDescriptor pPropertyDescriptor) throws atg.repository.RepositoryException
atg.repository.RepositoryException
public atg.repository.MutableRepositoryItem createDummyItem(atg.repository.MutableRepository pRepository, java.lang.String pItemDescriptorName) throws atg.repository.RepositoryException
atg.repository.RepositoryException
public void persistReferenceItemList() throws java.io.IOException
java.io.IOException
public void deleteAllDummyReferenceItems()
public long generateSeed()
public static java.lang.String getRandomString(int n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |