|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.importer.view.ElementContext
org.alfresco.repo.importer.view.ParentContext
public class ParentContext
Maintains state about the parent context of the node being imported.
Constructor Summary | |
---|---|
ParentContext(org.alfresco.service.namespace.QName elementName,
org.alfresco.service.cmr.dictionary.DictionaryService dictionary,
Importer importer)
Construct |
|
ParentContext(org.alfresco.service.namespace.QName elementName,
NodeContext parent)
Construct (with unknown child association) |
|
ParentContext(org.alfresco.service.namespace.QName elementName,
NodeContext parent,
org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
Construct |
Method Summary | |
---|---|
org.alfresco.service.namespace.QName |
getAssocType()
|
org.alfresco.service.cmr.repository.NodeRef |
getParentRef()
|
void |
setAssocType(org.alfresco.service.namespace.QName assocType)
Set Parent / Child Assoc Type |
void |
setParentRef(org.alfresco.service.cmr.repository.NodeRef parentRef)
Set Parent Reference |
java.lang.String |
toString()
|
Methods inherited from class org.alfresco.repo.importer.view.ElementContext |
---|
getDictionaryService, getElementName, getImporter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParentContext(org.alfresco.service.namespace.QName elementName, org.alfresco.service.cmr.dictionary.DictionaryService dictionary, Importer importer)
dictionary
- configuration
- progress
- elementName
- parentRef
- assocType
- public ParentContext(org.alfresco.service.namespace.QName elementName, NodeContext parent)
elementName
- parent
- public ParentContext(org.alfresco.service.namespace.QName elementName, NodeContext parent, org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
elementName
- parent
- childDef
- Method Detail |
---|
public org.alfresco.service.cmr.repository.NodeRef getParentRef()
getParentRef
in interface ImportParent
public void setParentRef(org.alfresco.service.cmr.repository.NodeRef parentRef)
setParentRef
in interface ImportParent
parentRef
- parent referencepublic org.alfresco.service.namespace.QName getAssocType()
getAssocType
in interface ImportParent
public void setAssocType(org.alfresco.service.namespace.QName assocType)
setAssocType
in interface ImportParent
assocType
- association typepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |