public interface RepositoryItemDescriptor extends DynamicBeanInfo
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyDescriptor(RepositoryPropertyDescriptor pPropertyDescriptor)
Adds a property descriptor to the repository
|
java.lang.String |
encodeCompositeKey(java.lang.String[] pIdValues)
Encode an array of ID values to be used as a Repository ID
|
RepositoryPropertyDescriptor |
getContextMembershipProperty()
Gets the property descriptor corresponding to the context membership property.
|
RepositoryPropertyDescriptor |
getDisplayNameProperty()
Gets the name of the display name property.
|
java.lang.String |
getItemDescriptorName()
Returns the name of the RepositoryItemDescriptor
|
Repository |
getRepository()
Returns the repository for this item descriptor.
|
RepositoryView |
getRepositoryView()
Returns the default repository view for this item descriptor.
|
boolean |
hasCompositeKey()
Determine if this item type has a composite ID.
|
boolean |
isContextMembershipEnabled()
If context membership is enabled for this repository item descriptor.
|
void |
removePropertyDescriptor(java.lang.String pPropertyName)
Removes a property descriptor from the repository
|
void |
updatePropertyDescriptor(RepositoryPropertyDescriptor pPropertyDescriptor)
Updates the property descriptor in the repository
|
areInstances, getBeanDescriptor, getPropertyDescriptor, getPropertyDescriptors, getPropertyNames, hasProperty, isInstancestatic final java.lang.String CLASS_VERSION
Repository getRepository()
java.lang.String getItemDescriptorName()
RepositoryView getRepositoryView()
void addPropertyDescriptor(RepositoryPropertyDescriptor pPropertyDescriptor) throws RepositoryException
pPropertyDescriptor - the descriptor for the new property to add to the
RepositoryRepositoryException - if there was a problem adding the property descriptorvoid updatePropertyDescriptor(RepositoryPropertyDescriptor pPropertyDescriptor) throws RepositoryException
pPropertyDescriptor - the descriptor for the property to updateRepositoryException - if there was a problem updating the property descriptorvoid removePropertyDescriptor(java.lang.String pPropertyName)
throws RepositoryException
pPropertyName - the name of the propertyRepositoryException - if there was a problem removing the property descriptorboolean hasCompositeKey()
java.lang.String encodeCompositeKey(java.lang.String[] pIdValues)
throws RepositoryException
pIdValues - Array of ID valuesRepositoryException - unsupported featureRepositoryPropertyDescriptor getContextMembershipProperty()
boolean isContextMembershipEnabled()
RepositoryPropertyDescriptor getDisplayNameProperty()