Package org.alfresco.repo.virtual.ref
Class RepositoryPath
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.RepositoryPath
-
- All Implemented Interfaces:
RepositoryLocation
public class RepositoryPath extends java.lang.Object implements RepositoryLocation
-
-
Constructor Summary
Constructors Constructor Description RepositoryPath(java.lang.String aPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefasNodeRef(ActualEnvironment environment)booleanequals(java.lang.Object obj)java.lang.StringgetPath()inthashCode()java.io.InputStreamopenContentStream(ActualEnvironment environment)java.lang.Stringstringify(Stringifier stringifier)
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
stringify
public java.lang.String stringify(Stringifier stringifier) throws ReferenceEncodingException
- Specified by:
stringifyin interfaceRepositoryLocation- Throws:
ReferenceEncodingException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
openContentStream
public java.io.InputStream openContentStream(ActualEnvironment environment) throws ActualEnvironmentException
- Specified by:
openContentStreamin interfaceRepositoryLocation- Throws:
ActualEnvironmentException
-
asNodeRef
public org.alfresco.service.cmr.repository.NodeRef asNodeRef(ActualEnvironment environment) throws ActualEnvironmentException
- Specified by:
asNodeRefin interfaceRepositoryLocation- Throws:
ActualEnvironmentException
-
-