|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.portal.admin.wizard.validators.ObjectIdValidator
public class ObjectIdValidator
The class used to validate the object ID provided by the user.
| Constructor Summary | |
|---|---|
ObjectIdValidator()
Deprecated. A blank constructor. |
|
| Method Summary | |
|---|---|
List |
getErrorKeyList(IWizardContext context)
Deprecated. Gets a list of resource bundle keys for the errors collected when the validity check fails. |
protected boolean |
idExceedMaxLen(String id)
Deprecated. Indicates whether the specified ID exceeds the maximum permitted length for object IDs. |
protected boolean |
idExists(String id,
IWizardContext context)
Deprecated. Indicates whether the specified ID exists in the specified location (including the prefix). |
protected boolean |
idIsLegal(String id,
boolean isPrefix)
Deprecated. Indicates whether an object ID is permitted according to the portal rules. |
boolean |
isValid(Object key,
IWizardContext context)
Deprecated. Validates the object ID. |
boolean |
isValid(String prefix,
String id,
IWizardContext context)
Deprecated. Validates the prefix ID and the object ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectIdValidator()
| Method Detail |
|---|
public boolean isValid(Object key,
IWizardContext context)
isValid in interface IValidatorkey - an object IDcontext - the current wizard context
true if valid, false if not
public boolean isValid(String prefix,
String id,
IWizardContext context)
isValid(Object key, IWizardContext context) to check
prefix - a prefix IDid - an object IDcontext - the current wizard context
true if valid, false if notpublic List getErrorKeyList(IWizardContext context)
IValidator
getErrorKeyList in interface IValidatorcontext - the current wizard context
protected boolean idIsLegal(String id,
boolean isPrefix)
id - an object IDisPrefix - trueindicates the ID is the prefix,
false indicates it is not
true if the ID is legal, false if not
protected boolean idExists(String id,
IWizardContext context)
id - an object IDcontext - the current wizard context
true if the ID exists, false
if it does notprotected boolean idExceedMaxLen(String id)
id - an object ID
true if the ID is longer than the maximum
permitted length, false if not| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||