public interface RemoteCredentialsInfoFactory
BaseCredentialsInfo
are serializedModifier and Type | Interface and Description |
---|---|
static class |
RemoteCredentialsInfoFactory.FactoryHelper
Helper class for implementations of
RemoteCredentialsInfoFactory |
Modifier and Type | Method and Description |
---|---|
BaseCredentialsInfo |
createCredentials(org.alfresco.service.namespace.QName type,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
String remoteSystemName,
org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef,
Map<org.alfresco.service.namespace.QName,Serializable> properties)
Creates a new
BaseCredentialsInfo object of the appropriate
type, based on the details of the underlying node. |
Map<org.alfresco.service.namespace.QName,Serializable> |
serializeCredentials(BaseCredentialsInfo info)
Serializes the given
BaseCredentialsInfo object to node properties. |
BaseCredentialsInfo createCredentials(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef, String remoteSystemName, org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef, Map<org.alfresco.service.namespace.QName,Serializable> properties)
BaseCredentialsInfo
object of the appropriate
type, based on the details of the underlying node.type
- The type of the credentials node, a child of rc:credentialBasenodeRef
- The NodeRef of the credentials nodeproperties
- All the node propertiesMap<org.alfresco.service.namespace.QName,Serializable> serializeCredentials(BaseCredentialsInfo info)
BaseCredentialsInfo
object to node properties.info
- The Credentials object to serializeCopyright © 2005–2017 Alfresco Software. All rights reserved.