com.centrasite.control.registry.items
Class ExternalLinkItem
java.lang.Object
com.centrasite.control.AbstractItem
com.centrasite.control.registry.items.RegistryObjectItem
com.centrasite.control.registry.items.ExternalLinkItem
- All Implemented Interfaces:
- Item
public class ExternalLinkItem
- extends RegistryObjectItem
Method Summary |
static javax.xml.registry.infomodel.ExternalLink |
createExternalLink(javax.xml.registry.BusinessLifeCycleManager lcm,
java.lang.String uri)
|
static javax.xml.registry.infomodel.ExternalLink |
createExternalLink(javax.xml.registry.BusinessLifeCycleManager lcm,
java.lang.String uri,
java.lang.String name,
java.lang.String description)
|
void |
delete()
Overwrite delete() to delete a special external link with separate method (which removes
also the WebDAV-resource). |
boolean |
equals(java.lang.Object other)
|
boolean |
equals(RegistryObjectProxyItem other)
|
RegistryObjectItem |
freeze()
|
javax.xml.registry.infomodel.ExternalLink |
getExternalLink()
|
java.lang.String |
getFileName()
|
java.lang.String |
getLabel()
Obtain label to be used when representing this object e.g. within
association navigator |
java.lang.String |
getPath()
Obtain the internal path for the wrapped ExternalLink object |
java.lang.String |
getTooltip()
Obtain tooltip to be used when representing this object e.g. within
association navigator |
int |
hashCode()
Provide hash function for being able to use RegistryObjectItems
as key for hashing |
Methods inherited from class com.centrasite.control.registry.items.RegistryObjectItem |
addAuditComment, addClassification, addClassification, addExternalClassification, addInternelClassification, clearCache, clearProperties, delete, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getChildren, getChildren, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getDescription, getImageURL, getKey, getLargeImageURL, getLastAuditableEvent, getName, getName, getNameEx, getNonPermissionAccessControlElements, getPermissionForNonPermissionACL, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, hasNoChildren, hasObjectType, hasObjectType, hasObjectType, isCanPropagateACL, isCentraSiteVirtualTypeConcept, isEnabledForVersioning, isModified, isNewItem, isPredefined, isPropagateProfileEnabled, isRevisionObject, isStandalone, save, setAccessControlElements, setAccessControlElements, setCanPropagateACL, setCollectRestServiceAssociatedObjects, setCollectVirtualServiceAssociatedObjects, setNewItem, setPropagateProfileEnabled, setProperties, toString |
Methods inherited from class com.centrasite.control.AbstractItem |
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getPersistanceLocale, getRelatedItems, hasRequiredAttribute, isLocked, isReadOnly, isSubTabModified, removeCommand, replaceCommand, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, showReport |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ExternalLinkItem
public ExternalLinkItem(javax.xml.registry.infomodel.RegistryObject ro,
Connector con)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExternalLink
public javax.xml.registry.infomodel.ExternalLink getExternalLink()
getPath
public java.lang.String getPath()
- Obtain the internal path for the wrapped ExternalLink object
- Specified by:
getPath
in interface Item
- Overrides:
getPath
in class AbstractItem
- Returns:
- a path (if reasonable) or null
getFileName
public java.lang.String getFileName()
- Returns:
- the local name of the file or directory being referenced by the underlying external link
getLabel
public java.lang.String getLabel()
throws java.lang.Exception
- Obtain label to be used when representing this object e.g. within
association navigator
- Overrides:
getLabel
in class RegistryObjectItem
- Returns:
- the label - must be localized as far as applicable
- Throws:
java.lang.Exception
getTooltip
public java.lang.String getTooltip()
throws java.lang.Exception
- Obtain tooltip to be used when representing this object e.g. within
association navigator
- Overrides:
getTooltip
in class RegistryObjectItem
- Returns:
- the tooltip - must be localized as far as applicable
- Throws:
java.lang.Exception
freeze
public RegistryObjectItem freeze()
- Overrides:
freeze
in class RegistryObjectItem
delete
public void delete()
throws java.lang.Exception
- Overwrite delete() to delete a special external link with separate method (which removes
also the WebDAV-resource). It is:
- schema (xsd file)
- wsdl (wsdl file)
- Overrides:
delete
in class RegistryObjectItem
- Throws:
java.lang.Exception
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class RegistryObjectItem
hashCode
public int hashCode()
- Description copied from class:
RegistryObjectItem
- Provide hash function for being able to use RegistryObjectItems
as key for hashing
- Overrides:
hashCode
in class RegistryObjectItem
equals
public boolean equals(RegistryObjectProxyItem other)
- Overrides:
equals
in class RegistryObjectItem
createExternalLink
public static javax.xml.registry.infomodel.ExternalLink createExternalLink(javax.xml.registry.BusinessLifeCycleManager lcm,
java.lang.String uri,
java.lang.String name,
java.lang.String description)
createExternalLink
public static javax.xml.registry.infomodel.ExternalLink createExternalLink(javax.xml.registry.BusinessLifeCycleManager lcm,
java.lang.String uri)