Interface ExtensionAttributes
- All Known Implementing Classes:
ExtensionAttributesImpl
public interface ExtensionAttributes
Alfresco Event Extension.
- Author:
- Jamal Kaabi-Mofrad
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(String extensionName, Object extension) Adds extensiongetExtension(String extensionName) Gets the extension value.Gets the added extensions names
-
Method Details
-
getExtension
Gets the extension value. The value's type can only be one of the following types:
- String
- Number
- Boolean
- Parameters:
extensionName- the extension name (i.e. Json field name)- Returns:
- the extension value
-
addExtension
Adds extension- Parameters:
extensionName- the extension name (i.e. key)extension- the extension value
-
getExtensionNames
Gets the added extensions names- Returns:
- The extension names in this instance
-