|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPropertySetDefinition
Represents a schema or a structure for propertysets within a namespace. A propertysetdefinition is a set of property mappings (IPropertyMapping
). A property mapping associates a property name to a property definition name that defines its value's features (type, isRestricted, restricted, default values, and validators) and optionally a property locator to manage its value.
Method Summary | |
---|---|
java.lang.String |
getDescription() Returns a brief description of this. |
int |
getMappingsCount() Returns the number of property mappings in this. |
IPropertySetDefinitionName |
getName() Returns the propertysetdefinition name of this. |
INamespaceName |
getNamespaceName() Returns the associated namespace name. |
java.lang.String |
getPreferenceLocatorClassName() Returns the preference locator class name that is associated with this. |
java.lang.String |
getPreferenceLocatorClassName(IPreferenceName preferenceName) Returns the preference locator class name from the preference mapping associated with the given preferenceName. |
IPreferenceMapping |
getPreferenceMapping(IPreferenceName preferenceName) Returns the preference mapping associated with the given preferenceName. |
java.util.Map<IPreferenceName,IPreferenceMapping> |
getPreferenceMappings() Returns a map of the preference mappings associated with this. |
IPropertyDefinitionName |
getPropertyDefinitionName(IName name) |
IPropertyDefinitionName |
getPropertyDefinitionName(IPreferenceName preferenceName) Returns the propertydefinition name from the property mapping associated with the given propertyName. |
IPropertyDefinitionName |
getPropertyDefinitionName(IPropertyName propertyName) Returns the propertydefinition name from the property mapping associated with the given propertyName. |
java.lang.String |
getPropertyLocatorClassName() Returns the property locator class name that is associated with this. |
java.lang.String |
getPropertyLocatorClassName(IPropertyName propertyName) Returns the property locator class name from the property mapping associated with the given propertyName. |
IPropertyMapping |
getPropertyMapping(IPropertyName propertyName) Returns the property mapping associated with the given propertyName. |
java.util.Map<IPropertyName,IPropertyMapping> |
getPropertyMappings() Returns a map of the property mappings associated with this. |
java.lang.String |
getPropertyPermissionClassName() Returns the property permission class name associated with this. |
void |
iterate(IPredicate<IPropertyMapping> predicate) Calls the given predicates IPredicate.apply(Object) method for each property mapping found in this. |
void |
iteratePreferenceMappings(IPredicate<IPreferenceMapping> predicate) Calls the given predicates IPredicate.apply(Object) method for each preference mapping found in this. |
java.lang.String |
name() Returns the string representation of the composite name of this. |
IPreferenceMapping |
putPreferenceMapping(IPreferenceName key, IPreferenceMapping value) Associates the given preference name key to the given preference mapping value. |
IPropertyMapping |
putPropertyMapping(IPropertyName key, IPropertyMapping value) Associates the given property name key to the given property mapping value. |
IPreferenceMapping |
removePreferenceMapping(IPreferenceName key) Removes the association of the given key to the value a preference mapping. |
IPropertyMapping |
removePropertyMapping(IPropertyName key) Removes the association of the given key to the value a property mapping. |
void |
setDescription(java.lang.String desc) Sets the given desc as a brief description for this. |
void |
setName(IPropertySetDefinitionName name) Sets the given propertysetdefinition name as the name for this. |
void |
setNamespaceName(INamespaceName namespaceName) Deprecated. it is a no op. |
void |
setPreferenceLocatorClassName(java.lang.String className) Sets the given className as the preference locator class name at propertysetdefinition level. |
void |
setPropertyLocatorClassName(java.lang.String className) Sets the given className as the property locator class name at propertysetdefinition level. |
void |
setPropertyPermissionClassName(java.lang.String className) Sets the given className as the property permission class name. |
Methods inherited from interface oracle.wcps.property.ITimestamped |
---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
Method Detail |
---|
INamespaceName getNamespaceName()
void setNamespaceName(INamespaceName namespaceName)
namespaceName
as the associated namespace name. Note: Calling this has no effect when using methods of IPropertyService
, its overwritten with the namespace name in IPropertyService.getNamespaceName()
namespaceName
- the namespace name to which this will be associated.java.lang.String name()
IPropertySetDefinitionName getName()
void setName(IPropertySetDefinitionName name)
name
as the name for this.name
- a propertysetdefinition name.java.lang.String getDescription()
void setDescription(java.lang.String desc)
desc
as a brief description for this.desc
- a brief description.IPropertyMapping getPropertyMapping(IPropertyName propertyName)
propertyName
- A property's name.IPropertyMapping putPropertyMapping(IPropertyName key, IPropertyMapping value)
key
- a property namevalue
- a property mappingIPropertyMapping removePropertyMapping(IPropertyName key)
key
- a property nameIPropertyDefinitionName getPropertyDefinitionName(IPropertyName propertyName)
propertyName
- a property name.java.lang.String getPropertyLocatorClassName(IPropertyName propertyName)
propertyName
- a property name.java.util.Map<IPropertyName,IPropertyMapping> getPropertyMappings()
java.lang.String getPropertyLocatorClassName()
void setPropertyLocatorClassName(java.lang.String className)
className
- a fully qualified class name that implements IPropertyLocator
.java.lang.String getPropertyPermissionClassName()
IPropertyPermission
void setPropertyPermissionClassName(java.lang.String className)
className
- a fully qualified class name that implements IPropertyPermission
.void iterate(IPredicate<IPropertyMapping> predicate)
IPredicate.apply(Object)
method for each property mapping found in this.predicate
- a predicate object.int getMappingsCount()
IPreferenceMapping getPreferenceMapping(IPreferenceName preferenceName)
preferenceName
- A preference's name.IPreferenceMapping putPreferenceMapping(IPreferenceName key, IPreferenceMapping value)
key
- a preference namevalue
- a preference mappingIPreferenceMapping removePreferenceMapping(IPreferenceName key)
key
- a preference nameIPropertyDefinitionName getPropertyDefinitionName(IPreferenceName preferenceName)
preferenceName
- a preference name.IPropertyDefinitionName getPropertyDefinitionName(IName name)
java.lang.String getPreferenceLocatorClassName(IPreferenceName preferenceName)
preferenceName
- a preference name.java.util.Map<IPreferenceName,IPreferenceMapping> getPreferenceMappings()
java.lang.String getPreferenceLocatorClassName()
void setPreferenceLocatorClassName(java.lang.String className)
className
- a fully qualified class name that implements IPreferenceLocator
.void iteratePreferenceMappings(IPredicate<IPreferenceMapping> predicate)
IPredicate.apply(Object)
method for each preference mapping found in this.predicate
- a predicate object.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |