Class TransferTargetImpl

  • All Implemented Interfaces:
    TransferTarget

    public class TransferTargetImpl
    extends Object
    implements TransferTarget
    Data Transfer Object for a TransferTarget. The definition of the connection to a remote system.
    Author:
    Mark Rogers
    • Constructor Detail

      • TransferTargetImpl

        public TransferTargetImpl()
    • Method Detail

      • setNodeRef

        public void setNodeRef​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Description copied from interface: TransferTarget
        read only - get the node reference of the underlying transfer target node.
        Specified by:
        getNodeRef in interface TransferTarget
        Returns:
        NodeRef
      • setName

        public void setName​(String name)
      • setTitle

        public void setTitle​(String title)
        Description copied from interface: TransferTarget
        Set the title for this transfer target
        Specified by:
        setTitle in interface TransferTarget
        Parameters:
        title - String
      • setDescription

        public void setDescription​(String description)
        Description copied from interface: TransferTarget
        Set the decription for this transfer target
        Specified by:
        setDescription in interface TransferTarget
        Parameters:
        description - String
      • setPassword

        public void setPassword​(char[] password)
        Description copied from interface: TransferTarget
        Set the password for this transfer target
        Specified by:
        setPassword in interface TransferTarget
        Parameters:
        password - clear text password.
      • setUsername

        public void setUsername​(String username)
        Description copied from interface: TransferTarget
        The username used to authenticate with the transfer target
        Specified by:
        setUsername in interface TransferTarget
        Parameters:
        username - String
      • getUsername

        public String getUsername()
        Description copied from interface: TransferTarget
        The username used to authenticate with the transfer target
        Specified by:
        getUsername in interface TransferTarget
        Returns:
        String
      • setEndpointPath

        public void setEndpointPath​(String endpointPath)
        Description copied from interface: TransferTarget
        The location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to change
        Specified by:
        setEndpointPath in interface TransferTarget
      • getEndpointPath

        public String getEndpointPath()
        Description copied from interface: TransferTarget
        The location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to change
        Specified by:
        getEndpointPath in interface TransferTarget
        Returns:
        String
      • setEndpointPort

        public void setEndpointPort​(int endpointPort)
        Description copied from interface: TransferTarget
        Set the endpoint port
        Specified by:
        setEndpointPort in interface TransferTarget
        Parameters:
        endpointPort - int
      • setEnabled

        public void setEnabled​(boolean enabled)
        Description copied from interface: TransferTarget
        enable this transfer target
        Specified by:
        setEnabled in interface TransferTarget
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: TransferTarget
        is this transfer target enabled or disabled?
        Specified by:
        isEnabled in interface TransferTarget