public class EntryPoint extends Object implements IEntryPoint
Constructor and Description |
---|
EntryPoint(String id,
RID targetRid,
LinkType linkType,
boolean isCollection,
String providerName)
Creates a new entry point object that represents a link to another repository.
|
EntryPoint(String id,
String providerName)
Creates a new entry point object that represents a virtual folder within an entry point hierarchy
|
Modifier and Type | Method and Description |
---|---|
String |
getID()
ID of the entry point
|
Map |
getInternalInfo()
Gets additional information about the entry point that has been set by the entry point provider
|
LinkType |
getLinkType()
Gets the link type of the entry point.
|
LinkType |
getLinkTypeNew()
Gets the link type of the entry point.
|
String |
getProviderName()
Gets the name of the entry point provider that provided this entry point.
|
RID |
getTargetRID()
Gets the ID of the target resource where the entry point points to.
|
boolean |
isCollection()
Checks if the entry point is a collection (folder)
|
void |
setInternalInfo(Map internalInfo)
Sets additional information for the entry point
|
public EntryPoint(String id, String providerName)
id
- id of the entry pointproviderName
- name of the entry point providerpublic EntryPoint(String id, RID targetRid, LinkType linkType, boolean isCollection, String providerName)
id
- id of the entry pointtargetRid
- resource ID of the target resourcelinkType
- determines if it is an internal or extneral link (resource ID or URL)isCollection
- determines if the link is a collection or notproviderName
- name of the entry point providerpublic RID getTargetRID()
LinkType.NONE
), null is returned.getTargetRID
in interface IEntryPoint
public String getProviderName()
getProviderName
in interface IEntryPoint
public LinkType getLinkTypeNew()
getLinkTypeNew
in interface IEntryPoint
public LinkType getLinkType()
public String getID()
getID
in interface IEntryPoint
public boolean isCollection()
isCollection
in interface IEntryPoint
public void setInternalInfo(Map internalInfo)
setInternalInfo
in interface IEntryPoint
internalInfo
- additional information about the entry pointpublic Map getInternalInfo()
getInternalInfo
in interface IEntryPoint
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice