|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.control.edit.PropertiesControlUtil
public class PropertiesControlUtil
Composite control which is responsible to render Copyright (c) SAP Portals Europe GmbH 2001
| Constructor Summary | |
|---|---|
PropertiesControlUtil()
|
|
| Method Summary | |
|---|---|
boolean |
allowSetProprties(IResource resource,
boolean newResourceFlag,
StructureDisplayMode structureDisplayMode)
|
static boolean |
allowsSetProperties(IResource resource,
boolean checkRoot)
Check if the resource repository manager allowed to have properties |
static boolean |
allowsSetProperties(IResource resource,
boolean checkRoot,
boolean checkLinkTarget)
Check if the resource repository manager allowed to have properties |
static String[] |
convertCollection2Array(int typeOfList,
HashMap nonUniqueIDs)
|
static IPropertyDef |
convertToPropertyDef(String propertyDefString)
|
IPropertyMap |
decodeProperties(String tokens,
Locale locale)
Creates a property map from a parsed string. |
ArrayList |
decodeValues(ArrayList list)
|
static String |
encodeProperties(ArrayList properties,
Locale locale,
IMetaModel model,
boolean newResourceFlag)
Creates a parseable String from a property array. |
static String |
encodeProperties(Map<Integer,PropertiesArrayList> pMap,
Locale locale,
IMetaModel model,
boolean newResourceFlag)
Creates a parsable String from a property map. |
static IPropertyMap |
getDefaultProperties(IPropertyStructure propertyStructure,
IMetaContext context,
IPropertyConfigurationService service)
Returns the default properties for a given IPropertyStructure |
static IPropertyMap |
getDefaultProperties(IStructuredGroup group,
IMetaContext context,
IPropertyConfigurationService service)
|
static IProperty |
getDefaultProperty(IMetaName metaName,
IMetaContext context)
|
static String |
getInvalidMandatoryProperties(List metaNameList,
IResourceContext context)
|
static String |
getNotSetProperties(List propertyNameList,
Locale locale,
IMetaModel model)
|
static boolean |
isDisplayMode(IResource resource)
|
static boolean |
isRM(IResource resource)
|
static boolean |
isUpdatable(boolean forProperties,
IResource resource,
boolean newResourceFlag,
StructureDisplayMode structureDisplayMode)
|
static void |
logProperties(List pp,
String title)
|
static StructureDisplayMode |
retrieveStructureDisplayMode(String str)
|
static boolean |
searchByIMetaName(IPropertyStructure propertyStructure,
IMetaContext metaContext,
String metaNameID)
|
static boolean |
setProprtiesSupported(IResource resource)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesControlUtil()
| Method Detail |
|---|
public ArrayList decodeValues(ArrayList list)
throws WcmException
WcmExceptionpublic static StructureDisplayMode retrieveStructureDisplayMode(String str)
public static String[] convertCollection2Array(int typeOfList,
HashMap nonUniqueIDs)
throws WcmException
WcmException
public static String encodeProperties(ArrayList properties,
Locale locale,
IMetaModel model,
boolean newResourceFlag)
properties - An array containing properties
public static String encodeProperties(Map<Integer,PropertiesArrayList> pMap,
Locale locale,
IMetaModel model,
boolean newResourceFlag)
pMap - locale - model - newResourceFlag -
public IPropertyMap decodeProperties(String tokens,
Locale locale)
throws ResourceException
tokens - String to parse
ResourceException - Exception raised in failure situationpublic static IPropertyDef convertToPropertyDef(String propertyDefString)
public static String getNotSetProperties(List propertyNameList,
Locale locale,
IMetaModel model)
public static String getInvalidMandatoryProperties(List metaNameList,
IResourceContext context)
public static boolean setProprtiesSupported(IResource resource)
public boolean allowSetProprties(IResource resource,
boolean newResourceFlag,
StructureDisplayMode structureDisplayMode)
public static boolean isUpdatable(boolean forProperties,
IResource resource,
boolean newResourceFlag,
StructureDisplayMode structureDisplayMode)
public static boolean isDisplayMode(IResource resource)
throws WcmException
WcmExceptionpublic static boolean isRM(IResource resource)
public static boolean allowsSetProperties(IResource resource,
boolean checkRoot)
checkRoot - The new propertiesUnderstood value
public static boolean allowsSetProperties(IResource resource,
boolean checkRoot,
boolean checkLinkTarget)
checkRoot - The new propertiesUnderstood value
public static IProperty getDefaultProperty(IMetaName metaName,
IMetaContext context)
throws ResourceException
ResourceException
public static void logProperties(List pp,
String title)
public static boolean searchByIMetaName(IPropertyStructure propertyStructure,
IMetaContext metaContext,
String metaNameID)
throws PropertyStructureServiceException
PropertyStructureServiceException
public static IPropertyMap getDefaultProperties(IStructuredGroup group,
IMetaContext context,
IPropertyConfigurationService service)
public static IPropertyMap getDefaultProperties(IPropertyStructure propertyStructure,
IMetaContext context,
IPropertyConfigurationService service)
IPropertyStructure
propertyStructure - context - service -
IPropertyStructure| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||