Link Manager Database Tables

Managing Repository Content 2-31

2.6.3.2 Examples of Link Patterns and Customization

A components resource table LinkManagerPatterns is included with the Link Manager component. Refer to this table for examples of link evaluation rules. This table is located in the UCM_ORACLE_ HOMEucmidccomponentsLinkManager8resourceslinkmanager_resource.htm file. The table can be customized by adding new rules or editing the existing default rules. You can customize the LinkManagerPatterns table using standard component architecture.

2.6.4 Link Manager Database Tables

This section covers the following topics: ■ ManagedLinks Table on page 2-31 ■ LinkReferenceCount Table on page 2-32

2.6.4.1 ManagedLinks Table

lkpAccept If a pattern is matched, this value determines if the URL is accepted. The possible values include: accept -if a pattern is matched, then the URL is accepted. filter -if a pattern is matched, the URL is rejected. This value is usually combined with lkpContinue set to false to stop the processing. pass -if a pattern is matched for the specified type, no determination is made. The action is used to determine how this URL is processed. lkpContinue The value determines whether the pattern processing engine will continue to parse the URL. true -the processing continues. false -the processing stops. lkpLinkType Specifies the URL type determined for this link. lkpAction This is a function defined in the LinkHandler class. It refers to a method in the LinkImplementor class that is used to further parse and evaluate the URL. Note: LinkImplementor can be class aliased or extended. lkpOrder The order in which the patterns are to be evaluated. lkpEnabled This value is Idoc Script capable and determines whether this rule should be evaluated. It is calculated and evaluated during start up when the patterns are loaded. Column Name Description 2-32 Application Administrators Guide for Content Server A link is stored in the ManagedLinks table if the pattern engine successfully processes it and determines that the link is acceptable. Each link in the table is assigned a unique class id dLkClassId and each row in the table has a unique GUID dLkGUID. A single link may consist of multiple rows in the table if multiple resources define the link and each resource can independently break the link. This is especially true for Site Studio links where a single link may be defined by both a node and a content item. If the node is missing, the link breaks. If the content item is missing, the link breaks. In this case, there are two resources that do not depend on each other and each can break the link. Consequently, each resource is managed separately in the ManagedLinks table. For additional information about Site Studio links, see Site Studio Integration on page 2-33.

2.6.4.2 LinkReferenceCount Table

The LinkReferenceCount table maps the content items to the number of times each is referenced in the ManagedLinks table. A content item in this table might not be a content item that is currently managed by Content Server. If there is an entry for a content item in this table, it only indicates that a link in the ManagedLinks table, as parsed by the pattern engine, has referenced the content item as a doc resource.

2.6.5 Link Manager Filters