Class Location


  • public class Location
    extends java.lang.Object
    Importer / Exporter Location
    Author:
    David Caruana
    • Constructor Summary

      Constructors 
      Constructor Description
      Location​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Construct
      Location​(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs)
      Construct
      Location​(org.alfresco.service.cmr.repository.StoreRef storeRef)
      Construct
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.alfresco.service.namespace.QName getChildAssocType()  
      org.alfresco.service.cmr.repository.NodeRef getNodeRef()  
      org.alfresco.service.cmr.repository.NodeRef[] getNodeRefs()  
      java.lang.String getPath()  
      org.alfresco.service.cmr.repository.StoreRef getStoreRef()  
      void setChildAssocType​(org.alfresco.service.namespace.QName childAssocType)
      Sets the child association type
      void setNodeRefs​(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs)  
      void setPath​(java.lang.String path)
      Sets the location to the specified path
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Location

        public Location​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Construct
        Parameters:
        nodeRef - NodeRef
      • Location

        public Location​(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs)
        Construct
        Parameters:
        nodeRefs - NodeRef[]
      • Location

        public Location​(org.alfresco.service.cmr.repository.StoreRef storeRef)
        Construct
        Parameters:
        storeRef - StoreRef
    • Method Detail

      • getStoreRef

        public org.alfresco.service.cmr.repository.StoreRef getStoreRef()
        Returns:
        the store ref
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Returns:
        the node ref
      • getNodeRefs

        public org.alfresco.service.cmr.repository.NodeRef[] getNodeRefs()
        Returns:
        the node refs
      • setNodeRefs

        public void setNodeRefs​(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs)
      • setPath

        public void setPath​(java.lang.String path)
        Sets the location to the specified path
        Parameters:
        path - path relative to store or node reference
      • getPath

        public java.lang.String getPath()
        Returns:
        the location
      • setChildAssocType

        public void setChildAssocType​(org.alfresco.service.namespace.QName childAssocType)
        Sets the child association type
        Parameters:
        childAssocType - child association type
      • getChildAssocType

        public org.alfresco.service.namespace.QName getChildAssocType()
        Returns:
        the child association type