com.bea.portal.tools.content
Class NodeIDBuilder

java.lang.Object
  extended by com.bea.portal.tools.resource.ResourceIDBuilder<T>
      extended by com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<NodeID>
          extended by com.bea.portal.tools.content.NodeIDBuilder
All Implemented Interfaces
Serializable, Cloneable

public final class NodeIDBuilder
extends com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<NodeID>

Builds and parses NodeID instances.

See Also
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bea.portal.tools.resource.ResourceIDBuilder
ResourceIDBuilder.ParseContext
 
Field Summary
 
Fields inherited from class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder
tags
 
Constructor Summary
NodeIDBuilder()
          Constructor.
 
Method Summary
 NodeID createResourceID()
          Create the NodeID.
 NodePath getNodePath()
          Get the path of the node.
 String getRepositoryName()
          Get the repository of the content node.
 String getUUID()
          Get the repository unique identifier of the content node.
 NodeIDBuilder parseResourceURN(String resourceURN)
          Parse the given URN.
 NodeIDBuilder setNodePath(NodePath nodePath)
          Change the path of the node.
 NodeIDBuilder setNodePath(String path)
          Change the path of the node.
 NodeIDBuilder setRepositoryID(RepositoryID repositoryID)
           
 NodeIDBuilder setRepositoryName(String repoCanonicalURN)
          Deprecated use setRepositoryID(RepositoryID)
 NodeIDBuilder setUUID(String uuid)
          Change the repository unique identifier of the content node.
 
Methods inherited from class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder
clone, getTag, getTags, getTagValue, getTagValue, parseResourcePath, processResourceTags, reset, setTagValue
 
Methods inherited from class com.bea.portal.tools.resource.ResourceIDBuilder
createParseContext, getExpectedResourceType, getResourceType, getResourceURN, parseResourceTypeNamespaceURI, parseResourceURN, resolveResourceType, setExpectedResourceType, setResourceType, setResourceURN, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeIDBuilder

public NodeIDBuilder()
Constructor.

Method Detail

parseResourceURN

public NodeIDBuilder parseResourceURN(String resourceURN)
Parse the given URN.

Overrides:
parseResourceURN in class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<NodeID>
Parameters
resourceURN - the URN of the referrent resource
Returns
this TaggedResourceIDBuilder

getRepositoryName

public String getRepositoryName()
Get the repository of the content node.

Returns
the repository of the content node

setRepositoryName

public NodeIDBuilder setRepositoryName(String repoCanonicalURN)
Deprecated use setRepositoryID(RepositoryID)

Change the repository of the content node.

Parameters
repository - the canonical resource URN of the repository of the content node
Returns
this NodeIDBuilder

setRepositoryID

public NodeIDBuilder setRepositoryID(RepositoryID repositoryID)

getUUID

public String getUUID()
Get the repository unique identifier of the content node.

Returns
the repository unique identifier of the content node

setUUID

public NodeIDBuilder setUUID(String uuid)
Change the repository unique identifier of the content node.

Parameters
uuid - the repository unique identifier of the content node
Returns
this NodeIDBuilder

getNodePath

public NodePath getNodePath()
Get the path of the node.

Returns
the path of the node

setNodePath

public NodeIDBuilder setNodePath(String path)
Change the path of the node.

Parameters
path - the path of the node
Returns
this NodeIDBuilder

setNodePath

public NodeIDBuilder setNodePath(NodePath nodePath)
Change the path of the node.

Parameters
nodePath - the path of the node
Returns
this NodeIDBuilder

createResourceID

public NodeID createResourceID()
Create the NodeID.

Overrides:
createResourceID in class ResourceIDBuilder<NodeID>
Returns
the NodeID


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.