|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
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 . |
Method Summary | |
---|---|
static PropertySetDefinition.Builder |
builder() Returns an instance of Builder to create a PropertySetDefinition. |
boolean |
equals(java.lang.Object o) |
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() Returns the propertysetdefinition name of this. |
INamespaceName |
getNamespaceName() Returns the associated namespace name. |
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. |
java.lang.Object |
getRPropertySetDefinition() |
int |
hashCode() |
boolean |
isAllowed(IContext context, Capability capability, IPropertySetName setName) |
boolean |
isAllowed(IContext context, Capability capability, IPropertySetName setName, IPropertyName propertyName) |
void |
iterate(IPredicate<IPropertyMapping> predicate) Calls the given predicates IPredicate.apply(Object) method for each property mapping found in this. |
java.lang.String |
name() Returns the string representation of the composite name of this. |
IPropertyMapping |
putPropertyMapping(IPropertyName key, IPropertyMapping value) Associates the given property name key to the given property mapping value. |
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) Sets the given propertysetdefinition name as the name for this. |
void |
setNamespaceName(INamespaceName namespaceName) Sets the given namespaceName as the associated namespace name. |
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. |
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 |
Method Detail |
---|
public java.lang.String name()
IPropertySetDefinition
name
in interface IPropertySetDefinition
public INamespaceName getNamespaceName()
IPropertySetDefinition
getNamespaceName
in interface IPropertySetDefinition
public void setNamespaceName(INamespaceName namespaceName)
IPropertySetDefinition
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()
setNamespaceName
in interface IPropertySetDefinition
namespaceName
- the namespace name to which this will be associated.public IPropertySetDefinitionName getName()
IPropertySetDefinition
getName
in interface IPropertySetDefinition
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 java.lang.String getPropertyLocatorClassName()
IPropertySetDefinition
getPropertyLocatorClassName
in interface IPropertySetDefinition
public void setPropertyLocatorClassName(java.lang.String className)
IPropertySetDefinition
setPropertyLocatorClassName
in interface IPropertySetDefinition
className
- a fully qualified class name that implements IPropertyLocator
.public java.lang.String getPropertyPermissionClassName()
IPropertySetDefinition
getPropertyPermissionClassName
in interface IPropertySetDefinition
IPropertyPermission
public void setPropertyPermissionClassName(java.lang.String className)
IPropertySetDefinition
setPropertyPermissionClassName
in interface IPropertySetDefinition
className
- a fully qualified class name that implements IPropertyPermission
.public void setName(IPropertySetDefinitionName propertySetDefinitionName)
IPropertySetDefinition
name
as the name for this.setName
in interface IPropertySetDefinition
propertySetDefinitionName
- a propertysetdefinition name.public IPropertyDefinitionName getPropertyDefinitionName(IPropertyName propertyName)
IPropertySetDefinition
getPropertyDefinitionName
in interface IPropertySetDefinition
propertyName
- a property name.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 isAllowed(IContext context, Capability capability, IPropertySetName setName, IPropertyName propertyName)
public boolean isAllowed(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)
equals
in class Timestamped
public int hashCode()
hashCode
in class Timestamped
public java.lang.String toString()
toString
in class java.lang.Object
public static PropertySetDefinition.Builder builder()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |