|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.portal.tools.resource.ResourceIDBuilder<T>
com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<T>
com.bea.portal.tools.resource.WebAppResourceIDBuilder<T>
com.bea.portal.tools.resource.ParentedResourceIDBuilder<T>
com.bea.portal.tools.portal.PortalParentedResourceIDBuilder<T>
com.bea.portal.tools.portal.DesktopParentedResourceIDBuilder<BookID>
com.bea.portal.tools.portal.book.BookIDBuilder
public final class BookIDBuilder
Identifies the collection of portal resource definitions.
| 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 | |
|---|---|
BookIDBuilder()
Constructor. |
|
| Method Summary | |
|---|---|
BookID |
createResourceID()
Create the BookID. |
BookInstanceId |
getBookInstanceId()
Get the BookInstanceId. |
boolean |
isPrimary()
Returns true if this book instance is of type primary |
protected DesktopParentedResourceID |
narrowParentedResourceID(ResourceID parentedResourceID)
Use this to narrow to a specific resourceId type in subclasses |
BookIDBuilder |
parseResourceURN(String resourceURN)
Parse the given URN. |
BookIDBuilder |
setBookInstanceId(BookInstanceId bookInstanceId)
Change the BookInstanceId. |
BookIDBuilder |
setPrimary(boolean isPrimary)
Sets this book instance to primary WARNING: Setting a book instance that is not primary to primary may cause undesired behavior. |
| Methods inherited from class com.bea.portal.tools.portal.DesktopParentedResourceIDBuilder |
|---|
getDesktopDefinitionID, setDesktopDefinitionID |
| Methods inherited from class com.bea.portal.tools.portal.PortalParentedResourceIDBuilder |
|---|
getPortalID, setPortalID |
| Methods inherited from class com.bea.portal.tools.resource.ParentedResourceIDBuilder |
|---|
getParentResourceID, getRawParentResourceID, setParentResourceID |
| Methods inherited from class com.bea.portal.tools.resource.WebAppResourceIDBuilder |
|---|
getWebApp, getWebAppResourceID, setWebApp, setWebAppResourceID |
| 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 |
|---|
public BookIDBuilder()
| Method Detail |
|---|
public BookIDBuilder parseResourceURN(String resourceURN)
BookIDBuilder
parseResourceURN in class DesktopParentedResourceIDBuilder<BookID>resourceURN - the URN of the referrent resource
TaggedResourceIDBuilderpublic BookInstanceId getBookInstanceId()
BookInstanceId.
BookInstanceIdpublic BookIDBuilder setBookInstanceId(BookInstanceId bookInstanceId)
BookInstanceId.
bookId - the BookInstanceId
BookIDBuilderpublic boolean isPrimary()
true if this book instance is of type primary
true if this book instance is of type primarypublic BookIDBuilder setPrimary(boolean isPrimary)
isPrimary - true to make this book instance primary
BookIDBuilderpublic BookID createResourceID()
BookID.
the BookID
createResourceID in class ResourceIDBuilder<BookID>ResourceIDprotected DesktopParentedResourceID narrowParentedResourceID(ResourceID parentedResourceID)
ParentedResourceIDBuilder
narrowParentedResourceID in class DesktopParentedResourceIDBuilder<BookID>
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||