com.sapportals.wcm.util.acl
Class ObjectType
java.lang.Object
com.sapportals.wcm.util.acl.ObjectType
- All Implemented Interfaces:
- IObjectType
public final class ObjectType
- extends Object
- implements IObjectType
The default implementation for IObjectType s, the type of an
object associated to an IAcl .
|
Constructor Summary |
ObjectType(String name)
Deprecated. Use ObjectType.getInstance(String name) or directly ObjectType.LEAF/.NODE! |
|
Method Summary |
boolean |
equals(IObjectType objectType)
check whether the object type equals another object type return true iff
the object type equals the other object type |
boolean |
equals(Object other)
|
static IObjectType |
getInstance(String name)
Returns the singleton instance ObjectType.LEAF or ObjectType.NODE depending on the passed name. |
String |
getName()
get the name of the object type |
int |
hashCode()
|
LEAF
public static final IObjectType LEAF
NODE
public static final IObjectType NODE
ObjectType
public ObjectType(String name)
- Deprecated. Use ObjectType.getInstance(String name) or directly ObjectType.LEAF/.NODE!
- Parameters:
name - Name of the ObjectType. Allowed values: IObjectType.OBJECT_TYPE_LEAF and IObjectType.OBJECT_TYPE_NODE.
getInstance
public static IObjectType getInstance(String name)
- Returns the singleton instance ObjectType.LEAF or ObjectType.NODE depending on the passed name.
- Parameters:
name - Name of the ObjectType. Allowed values: IObjectType.OBJECT_TYPE_LEAF and IObjectType.OBJECT_TYPE_NODE.
- Returns:
- ObjectType
getName
public String getName()
- Description copied from interface:
IObjectType
- get the name of the object type
- Specified by:
getName in interface IObjectType
- Returns:
- the name of the object type
equals
public boolean equals(IObjectType objectType)
- Description copied from interface:
IObjectType
- check whether the object type equals another object type return true iff
the object type equals the other object type
- Specified by:
equals in interface IObjectType
- Parameters:
objectType - TBD: Description of the incoming method parameter
- Returns:
- TBD: Description of the outgoing return value
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
This class can be accessed from:
|
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 2012 SAP AG Complete Copyright Notice