com.centrasite.jaxr.infomodel
Interface CentraSiteExternalLink

All Superinterfaces:
CentraSiteExtensibleObject, CentraSiteRegistryObject, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.ExternalLink, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.URIValidator

public interface CentraSiteExternalLink
extends CentraSiteRegistryObject, javax.xml.registry.infomodel.ExternalLink

See Also:
ExternalLink, RegistryObject

Method Summary
 java.lang.String getExternalURI(java.lang.String baseURL)
          Get the external URI of this ExternalLink, where the protocol / host / port are taken from the given base URL.
 java.lang.String getRawExternalURI()
          Deprecated.  
 java.lang.String getRelativeURI()
          get the relative URI if the URI is relative, null otherwise
 boolean isRelative()
          Return whether the ExternalLink points into CentraSite WebDAV.
 
Methods inherited from interface com.centrasite.jaxr.infomodel.CentraSiteRegistryObject
accept, addAuditComment, addPostListener, addPreListener, getCentraSiteACL, getClassificationValue, getCreationDate, getCurrentUserPrivilege, getEmbeddedAuditTrail, getEnclosingObject, getFileAsExternalLink, getFileValue, getInstanceLevelPermissionSet, getLastModificationDate, getOwner, getPreviousOwner, getPreviousSubmittingOrganization, getRelationShipValue, getServerTimezoneOffset, getSubmittingOrganizationKey, getVirtualObjectType, isAclModified, isAssociatedTo, isClassifiedWith, isDeleted, isDescendantObjectModified, isInternal, isLocked, isModified, isModifiedByUser, isMoved, isMoveOrganization, isMoveOwner, isObjectModified, isPermissionModified, isPredefined, isPropagatePermissions, isPropagateProfilePermissions, isRevisionObject, logLCStateChange, removeExternalLinkId, setCentraSiteACL, setClassificationValue, setFileValue, setFileValue, setFileWithExternalLink, setFileWithExternalLink, setInstanceLevelPermissionSet, setInternal, setLocked, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValue, setSubmittingOrganization, toXMLforExport, toXMLforExport
 
Methods inherited from interface com.centrasite.jaxr.infomodel.CentraSiteExtensibleObject
getRegistryService
 
Methods inherited from interface javax.xml.registry.infomodel.ExternalLink
getExternalURI, getLinkedObjects, setExternalURI
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from interface javax.xml.registry.infomodel.URIValidator
getValidateURI, setValidateURI
 

Method Detail

isRelative

boolean isRelative()
                   throws javax.xml.registry.JAXRException
Return whether the ExternalLink points into CentraSite WebDAV.

Returns:
true if the ExternalLink points into CentraSite WebDAV
Throws:
javax.xml.registry.JAXRException

getRelativeURI

java.lang.String getRelativeURI()
                                throws javax.xml.registry.JAXRException
get the relative URI if the URI is relative, null otherwise

Returns:
the relative URI, or null if the URI is not relative
Throws:
javax.xml.registry.JAXRException

getExternalURI

java.lang.String getExternalURI(java.lang.String baseURL)
                                throws javax.xml.registry.JAXRException
Get the external URI of this ExternalLink, where the protocol / host / port are taken from the given base URL. This holds only if the ExternalLink has a relative URI, otherwise the external URI will be returned as is.

Parameters:
baseURL - the base URL
Returns:
the external URI adapted to the base URL
Throws:
javax.xml.registry.JAXRException

getRawExternalURI

java.lang.String getRawExternalURI()
Deprecated. 

Get the URI as stored internally, do not convert relative URIs

Returns:
the URI as stored internally