|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.WcmObject
com.sapportals.wcm.service.objecttypehandler.GenericObjectTypeHandler
public class GenericObjectTypeHandler
| Field Summary | |
|---|---|
protected IActionList |
actionList
|
protected String[] |
extensionArray
|
protected Vector |
extensions
|
protected Vector |
mimeTypes
|
protected String |
name
|
protected String[] |
pathArray
|
protected Vector |
paths
|
protected Properties |
properties
|
protected Vector |
resourceTypes
|
| Fields inherited from class com.sapportals.wcm.WcmObject |
|---|
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE |
| Constructor Summary | |
|---|---|
GenericObjectTypeHandler()
Construct object of class GenericObjectTypeHandler. |
|
| Method Summary | |
|---|---|
IActionList |
getActionList()
Get the ActionList attribute of the GenericObjectTypeHandler object. |
String[] |
getExtensions()
Get the Extensions attribute of the GenericObjectTypeHandler object. |
Vector |
getMimeTypes()
Get the MimeTypes attribute of the GenericObjectTypeHandler object. |
String |
getName()
Get the Name attribute of the GenericObjectTypeHandler object. |
String[] |
getPaths()
Get the Paths attribute of the GenericObjectTypeHandler object. |
Integer |
getPathsHashCode()
Returns identical values for identical paths arrays. |
Properties |
getProperties()
Get the Properties attribute of the GenericObjectTypeHandler object. |
Vector |
getResourceTypes()
Get the Properties attribute of the GenericObjectTypeHandler object. |
Vector |
getSourceResourceTypes()
Get the resource types exclusively for a source. |
Vector |
getTargetResourceTypes()
Get the resource types exclusively for a target. |
com.sapportals.wcm.util.uri.URL |
getURL(IResource resource,
IActionType actionType)
Get the URL attribute of the GenericObjectTypeHandler object. |
com.sapportals.wcm.util.uri.URL |
getURL(IResource resource,
IActionType actionType,
Properties props)
Get the URL attribute of the GenericObjectTypeHandler object. |
void |
initialize(String name,
Vector extensions,
Vector mimeTypes,
Vector paths,
IActionList actionList,
Vector resourceTypes,
Properties props)
TBD: Description of the Method. |
boolean |
matches(String needle)
Checks if the input string matches the paths of the object. |
boolean |
matchesResourceType(String testResourceType,
String othResourceType)
Checks if testResourceType<\code> matches the |
void |
setActionList(IActionList actionList)
Set the ActionList attribute of the GenericObjectTypeHandler object. |
void |
setExtensions(Vector extensions)
Set the Extensions attribute of the GenericObjectTypeHandler object. |
void |
setMimeTypes(Vector mimeTypes)
Set the MimeTypes attribute of the GenericObjectTypeHandler object. |
void |
setName(String name)
Set the Name attribute of the GenericObjectTypeHandler object. |
void |
setPaths(Vector paths)
Set the Paths attribute of the GenericObjectTypeHandler object. |
void |
setProperties(Properties props)
Set the Properties attribute of the GenericObjectTypeHandler object. |
void |
setResourceTypes(Vector resourceTypes)
Set the Properties attribute of the GenericObjectTypeHandler object. |
void |
shutDownOTH()
Must be called in shutDownImpl() method of an OTH service. |
void |
startUpOTH()
Must be called in startUp() method of an OTH service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected Vector resourceTypes
protected Vector extensions
protected Vector mimeTypes
protected Vector paths
protected Properties properties
protected String[] extensionArray
protected String[] pathArray
protected IActionList actionList
| Constructor Detail |
|---|
public GenericObjectTypeHandler()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException - Exception raised in failure situation| Method Detail |
|---|
public void setName(String name)
name - The new Name valuepublic void setActionList(IActionList actionList)
actionList - The new ActionList valuepublic void setResourceTypes(Vector resourceTypes)
resourceTypes - resourceTypes to be setpublic void setProperties(Properties props)
props - properties to be setpublic void setExtensions(Vector extensions)
extensions - The new Extensions valuepublic void setMimeTypes(Vector mimeTypes)
mimeTypes - The new MimeTypes valuepublic void setPaths(Vector paths)
paths - The new Paths valuepublic boolean matches(String needle)
IObjectTypeHandler
matches in interface IObjectTypeHandlerneedle - The input string.
public boolean matchesResourceType(String testResourceType,
String othResourceType)
IObjectTypeHandlertestResourceType<\code> matches the othResourceType
<\code>. Therefore othResourceType<\code> has to be one of the
resource types of the object type handler.
- Specified by:
matchesResourceType in interface IObjectTypeHandler
- Parameters:
testResourceType - resource type to be tested.othResourceType - resource type against which to check.
- Returns:
public Integer getPathsHashCode()
getPathsHashCode in interface IObjectTypeHandler
public String getName()
throws com.sapportals.wcm.WcmException
getName in interface IObjectTypeHandlercom.sapportals.wcm.WcmException - Exception raised in failure situationpublic IActionList getActionList()
getActionList in interface IObjectTypeHandler
public com.sapportals.wcm.util.uri.URL getURL(IResource resource,
IActionType actionType)
throws com.sapportals.wcm.WcmException
getURL in interface IObjectTypeHandlerresource - TBD: Description of the incoming method parameteractionType - TBD: Description of the incoming method parameter
com.sapportals.wcm.WcmException - Exception raised in failure situation
public com.sapportals.wcm.util.uri.URL getURL(IResource resource,
IActionType actionType,
Properties props)
throws com.sapportals.wcm.WcmException
getURL in interface IObjectTypeHandlerresource - TBD: Description of the incoming method parameteractionType - TBD: Description of the incoming method parameterprops - TBD: Description of the incoming method parameter
com.sapportals.wcm.WcmException - Exception raised in failure situationpublic Vector getResourceTypes()
getResourceTypes in interface IObjectTypeHandlerpublic Vector getSourceResourceTypes()
IObjectTypeHandlerIResourceType
getSourceResourceTypes in interface IObjectTypeHandlernullpublic Vector getTargetResourceTypes()
IObjectTypeHandlerIResourceType
getTargetResourceTypes in interface IObjectTypeHandlernullpublic Properties getProperties()
getProperties in interface IObjectTypeHandlerpublic String[] getExtensions()
getExtensions in interface IObjectTypeHandlerpublic Vector getMimeTypes()
getMimeTypes in interface IObjectTypeHandlerpublic String[] getPaths()
getPaths in interface IObjectTypeHandler
public void initialize(String name,
Vector extensions,
Vector mimeTypes,
Vector paths,
IActionList actionList,
Vector resourceTypes,
Properties props)
throws com.sapportals.wcm.WcmException
initialize in interface IObjectTypeHandlername - TBD: Description of the incoming method parameterextensions - TBD: Description of the incoming method parametermimeTypes - TBD: Description of the incoming method parameterpaths - TBD: Description of the incoming method parameteractionList - TBD: Description of the incoming method parameterprops - TBD: Description of the incoming method parameterresourceTypes - TBD: Description of the incoming method parameter
com.sapportals.wcm.WcmException - Exception raised in failure situation
public void startUpOTH()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException - Exception raised in failure situation
public void shutDownOTH()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||