|
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 |
java.lang.Object
oracle.wcps.property.model.Timestamped
oracle.wcps.property.model.PropertySetDefinition
public class PropertySetDefinition
An implementation of IPropertySetDefinition
. Use the builder builder()
to create an instance of this.
Nested Class Summary | |
---|---|
static class |
PropertySetDefinition.Builder The builder used for creating a PropertySetDefinition . |
Field Summary | |
---|---|
protected java.lang.String |
locatorClassName |
protected static PropertiesLogger |
LOGGER |
protected INamespaceName |
namespaceName |
protected java.lang.String |
permissionClassName |
protected java.lang.String |
preferenceLocatorClassName |
protected java.util.Map<IPreferenceName,IPreferenceMapping> |
preferenceMappings |
protected IPropertyPermission |
propertyPermission |
protected IPropertySetDefinitionName |
propertySetDefinitionName |
Method Summary | |
---|---|
static PropertySetDefinition.Builder |
builder() Returns an instance of Builder to create a PropertySetDefinition. |
protected IPropertyPermission |
createPropertyPermission() |
boolean |
equals(java.lang.Object o) |
IPagedList<IPreferenceSet> |
filterPreferenceSetsViaPermission(IContext context, IPagedList<IPreferenceSet> unfiltered) |
IPagedList<IPropertySet> |
filterViaPermission(IContext context, IPagedList<IPropertySet> unfiltered) |
java.lang.String |
getDescription() Returns a brief description of this. |
int |
getMappingsCount() Returns the number of property mappings in this. |
IPropertySetDefinitionName |
getName() |
INamespaceName |
getNamespaceName() |
java.lang.String |
getPreferenceLocatorClassName() |
java.lang.String |
getPreferenceLocatorClassName(IPreferenceName preferenceName) |
IPreferenceMapping |
getPreferenceMapping(IPreferenceName preferenceName) |
java.util.Map<IPreferenceName,IPreferenceMapping> |
getPreferenceMappings() |
IPropertyDefinitionName |
getPropertyDefinitionName(IName name) |
IPropertyDefinitionName |
getPropertyDefinitionName(IPreferenceName preferenceName) |
IPropertyDefinitionName |
getPropertyDefinitionName(IPropertyName propertyName) Returns the propertydefinition name from the property mapping associated with the given propertyName. |
java.lang.String |
getPropertyLocatorClassName() |
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. |
protected IPropertyPermission |
getPropertyPermission() |
java.lang.String |
getPropertyPermissionClassName() |
java.lang.Object |
getRPropertySetDefinition() |
int |
hashCode() |
boolean |
isAllowedOnPreference(IContext context, Capability capability, IPropertySetName setName, IPreferenceSetName preferenceSetName, IPreferenceName preferenceName) |
boolean |
isAllowedOnPreferenceSet(IContext context, Capability capability, IPropertySetName setName, IPreferenceSetName preferenceSetName) |
boolean |
isAllowedOnProperty(IContext context, Capability capability, IPropertySetName setName, IPropertyName propertyName) |
boolean |
isAllowedOnPropertySet(IContext context, Capability capability, IPropertySetName setName) |
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) |
java.lang.String |
name() |
IPreferenceMapping |
putPreferenceMapping(IPreferenceName key, IPreferenceMapping value) |
IPropertyMapping |
putPropertyMapping(IPropertyName key, IPropertyMapping value) Associates the given property name key to the given property mapping value. |
IPreferenceMapping |
removePreferenceMapping(IPreferenceName key) |
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 propertySetDefinitionName) |
void |
setNamespaceName(INamespaceName namespaceName) |
void |
setPreferenceLocatorClassName(java.lang.String className) |
void |
setPropertyLocatorClassName(java.lang.String className) |
void |
setPropertyPermissionClassName(java.lang.String className) |
void |
setRPropertySetDefinition(java.lang.Object rPropertySetDefinition) |
java.lang.String |
toString() |
Methods inherited from class oracle.wcps.property.model.Timestamped |
---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.wcps.property.ITimestamped |
---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
Field Detail |
---|
protected static final PropertiesLogger LOGGER
protected INamespaceName namespaceName
protected IPropertySetDefinitionName propertySetDefinitionName
protected java.lang.String locatorClassName
protected java.lang.String permissionClassName
protected IPropertyPermission propertyPermission
protected java.util.Map<IPreferenceName,IPreferenceMapping> preferenceMappings
protected java.lang.String preferenceLocatorClassName
Method Detail |
---|
public java.lang.String getDescription()
IPropertySetDefinition
getDescription
in interface IPropertySetDefinition
public void setDescription(java.lang.String desc)
IPropertySetDefinition
desc
as a brief description for this.setDescription
in interface IPropertySetDefinition
desc
- a brief description.public IPropertyMapping getPropertyMapping(IPropertyName propertyName)
IPropertySetDefinition
getPropertyMapping
in interface IPropertySetDefinition
propertyName
- A property's name.public IPropertyMapping putPropertyMapping(IPropertyName key, IPropertyMapping value)
IPropertySetDefinition
putPropertyMapping
in interface IPropertySetDefinition
key
- a property namevalue
- a property mappingpublic IPropertyMapping removePropertyMapping(IPropertyName key)
IPropertySetDefinition
removePropertyMapping
in interface IPropertySetDefinition
key
- a property namepublic java.util.Map<IPropertyName,IPropertyMapping> getPropertyMappings()
IPropertySetDefinition
getPropertyMappings
in interface IPropertySetDefinition
public IPropertyDefinitionName getPropertyDefinitionName(IPropertyName propertyName)
IPropertySetDefinition
getPropertyDefinitionName
in interface IPropertySetDefinition
propertyName
- a property name.public IPropertyDefinitionName getPropertyDefinitionName(IName name)
getPropertyDefinitionName
in interface IPropertySetDefinition
public java.lang.String getPropertyLocatorClassName(IPropertyName propertyName)
IPropertySetDefinition
getPropertyLocatorClassName
in interface IPropertySetDefinition
propertyName
- a property name.public void iterate(IPredicate<IPropertyMapping> predicate)
IPropertySetDefinition
IPredicate.apply(Object)
method for each property mapping found in this.iterate
in interface IPropertySetDefinition
predicate
- a predicate object.public boolean isAllowedOnProperty(IContext context, Capability capability, IPropertySetName setName, IPropertyName propertyName)
public boolean isAllowedOnPropertySet(IContext context, Capability capability, IPropertySetName setName)
public IPagedList<IPropertySet> filterViaPermission(IContext context, IPagedList<IPropertySet> unfiltered)
public java.lang.Object getRPropertySetDefinition()
public void setRPropertySetDefinition(java.lang.Object rPropertySetDefinition)
public int getMappingsCount()
IPropertySetDefinition
getMappingsCount
in interface IPropertySetDefinition
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
public static PropertySetDefinition.Builder builder()
public java.lang.String name()
public INamespaceName getNamespaceName()
public void setNamespaceName(INamespaceName namespaceName)
public IPropertySetDefinitionName getName()
public void setName(IPropertySetDefinitionName propertySetDefinitionName)
public java.lang.String getPropertyLocatorClassName()
public void setPropertyLocatorClassName(java.lang.String className)
public java.lang.String getPropertyPermissionClassName()
public void setPropertyPermissionClassName(java.lang.String className)
public IPreferenceMapping getPreferenceMapping(IPreferenceName preferenceName)
public IPreferenceMapping putPreferenceMapping(IPreferenceName key, IPreferenceMapping value)
public IPreferenceMapping removePreferenceMapping(IPreferenceName key)
public IPropertyDefinitionName getPropertyDefinitionName(IPreferenceName preferenceName)
public java.lang.String getPreferenceLocatorClassName(IPreferenceName preferenceName)
public java.util.Map<IPreferenceName,IPreferenceMapping> getPreferenceMappings()
public java.lang.String getPreferenceLocatorClassName()
public void setPreferenceLocatorClassName(java.lang.String className)
public void iteratePreferenceMappings(IPredicate<IPreferenceMapping> predicate)
public boolean isAllowedOnPreferenceSet(IContext context, Capability capability, IPropertySetName setName, IPreferenceSetName preferenceSetName)
public boolean isAllowedOnPreference(IContext context, Capability capability, IPropertySetName setName, IPreferenceSetName preferenceSetName, IPreferenceName preferenceName)
public IPagedList<IPreferenceSet> filterPreferenceSetsViaPermission(IContext context, IPagedList<IPreferenceSet> unfiltered)
protected IPropertyPermission getPropertyPermission()
protected IPropertyPermission createPropertyPermission()
|
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 |