|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sapportals.wcm.WcmObject
|
+--com.sapportals.wcm.service.objecttypehandler.GenericObjectTypeHandler
| Field Summary | |
protected IActionList |
actionList
|
protected java.lang.String[] |
extensionArray
|
protected java.util.Vector |
extensions
|
protected java.util.Vector |
mimeTypes
|
protected java.lang.String |
name
|
protected java.lang.String[] |
pathArray
|
protected java.util.Vector |
paths
|
protected java.util.Properties |
properties
|
protected java.util.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. |
java.lang.String[] |
getExtensions()
Get the Extensions attribute of the GenericObjectTypeHandler object. |
java.util.Vector |
getMimeTypes()
Get the MimeTypes attribute of the GenericObjectTypeHandler object. |
java.lang.String |
getName()
Get the Name attribute of the GenericObjectTypeHandler object. |
java.lang.String[] |
getPaths()
Get the Paths attribute of the GenericObjectTypeHandler object. |
java.lang.Integer |
getPathsHashCode()
Returns identical values for identical paths arrays. |
java.util.Properties |
getProperties()
Get the Properties attribute of the GenericObjectTypeHandler object. |
java.util.Vector |
getResourceTypes()
Get the Properties attribute of the GenericObjectTypeHandler object. |
java.util.Vector |
getSourceResourceTypes()
Get the resource types exclusively for a source. |
java.util.Vector |
getTargetResourceTypes()
Get the resource types exclusively for a target. |
URL |
getURL(IResource resource,
IActionType actionType)
Get the URL attribute of the GenericObjectTypeHandler object. |
URL |
getURL(IResource resource,
IActionType actionType,
java.util.Properties props)
Get the URL attribute of the GenericObjectTypeHandler object. |
void |
initialize(java.lang.String name,
java.util.Vector extensions,
java.util.Vector mimeTypes,
java.util.Vector paths,
IActionList actionList,
java.util.Vector resourceTypes,
java.util.Properties props)
TBD: Description of the Method. |
boolean |
matches(java.lang.String needle)
Checks if the input string matches the paths of the object. |
boolean |
matchesResourceType(java.lang.String testResourceType,
java.lang.String othResourceType)
Checks if testResourceType<\code> matches the |
void |
setActionList(IActionList actionList)
Set the ActionList attribute of the GenericObjectTypeHandler object. |
void |
setExtensions(java.util.Vector extensions)
Set the Extensions attribute of the GenericObjectTypeHandler object. |
void |
setMimeTypes(java.util.Vector mimeTypes)
Set the MimeTypes attribute of the GenericObjectTypeHandler object. |
void |
setName(java.lang.String name)
Set the Name attribute of the GenericObjectTypeHandler object. |
void |
setPaths(java.util.Vector paths)
Set the Paths attribute of the GenericObjectTypeHandler object. |
void |
setProperties(java.util.Properties props)
Set the Properties attribute of the GenericObjectTypeHandler object. |
void |
setResourceTypes(java.util.Vector resourceTypes)
Set the Properties attribute of the GenericObjectTypeHandler object. |
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 java.lang.String name
protected java.util.Vector resourceTypes
protected java.util.Vector extensions
protected java.util.Vector mimeTypes
protected java.util.Vector paths
protected java.util.Properties properties
protected java.lang.String[] extensionArray
protected java.lang.String[] pathArray
protected IActionList actionList
| Constructor Detail |
public GenericObjectTypeHandler()
throws WcmException
WcmException - Exception raised in failure situation| Method Detail |
public void setName(java.lang.String name)
name - The new Name valuepublic void setActionList(IActionList actionList)
actionList - The new ActionList valuepublic void setResourceTypes(java.util.Vector resourceTypes)
resourceTypes - resourceTypes to be setpublic void setProperties(java.util.Properties props)
props - properties to be setpublic void setExtensions(java.util.Vector extensions)
extensions - The new Extensions valuepublic void setMimeTypes(java.util.Vector mimeTypes)
mimeTypes - The new MimeTypes valuepublic void setPaths(java.util.Vector paths)
paths - The new Paths valuepublic boolean matches(java.lang.String needle)
IObjectTypeHandlermatches in interface IObjectTypeHandlercom.sapportals.wcm.service.objecttypehandler.IObjectTypeHandlerneedle - The input string.
public boolean matchesResourceType(java.lang.String testResourceType,
java.lang.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
- Following copied from interface:
com.sapportals.wcm.service.objecttypehandler.IObjectTypeHandler
- Parameters:
testResourceType - resource type to be tested.othResourceType - resource type against which to check.- Returns:
-
public java.lang.Integer getPathsHashCode()
getPathsHashCode in interface IObjectTypeHandler
public java.lang.String getName()
throws WcmException
getName in interface IObjectTypeHandlerWcmException - Exception raised in failure situationpublic IActionList getActionList()
getActionList in interface IObjectTypeHandler
public URL getURL(IResource resource,
IActionType actionType)
throws WcmException
getURL in interface IObjectTypeHandlerresource - TBD: Description of the incoming method parameteractionType - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situation
public URL getURL(IResource resource,
IActionType actionType,
java.util.Properties props)
throws 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 parameterWcmException - Exception raised in failure situationpublic java.util.Vector getResourceTypes()
getResourceTypes in interface IObjectTypeHandlerpublic java.util.Vector getSourceResourceTypes()
IObjectTypeHandlerIResourceTypegetSourceResourceTypes in interface IObjectTypeHandlercom.sapportals.wcm.service.objecttypehandler.IObjectTypeHandlernullpublic java.util.Vector getTargetResourceTypes()
IObjectTypeHandlerIResourceTypegetTargetResourceTypes in interface IObjectTypeHandlercom.sapportals.wcm.service.objecttypehandler.IObjectTypeHandlernullpublic java.util.Properties getProperties()
getProperties in interface IObjectTypeHandlerpublic java.lang.String[] getExtensions()
getExtensions in interface IObjectTypeHandlerpublic java.util.Vector getMimeTypes()
getMimeTypes in interface IObjectTypeHandlerpublic java.lang.String[] getPaths()
getPaths in interface IObjectTypeHandler
public void initialize(java.lang.String name,
java.util.Vector extensions,
java.util.Vector mimeTypes,
java.util.Vector paths,
IActionList actionList,
java.util.Vector resourceTypes,
java.util.Properties props)
throws 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 parameterWcmException - Exception raised in failure situation
public void startUpOTH()
throws WcmException
WcmException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||