public class PropertiesChangedEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_INVALIDATE |
static java.lang.String |
CLASS_VERSION
Class version string
|
static int |
DELETE |
static int |
INSERT |
static int |
UPDATE |
Constructor and Description |
---|
PropertiesChangedEvent(java.lang.Object pSource) |
PropertiesChangedEvent(java.lang.Object pSource,
atg.repository.RepositoryChangedItem pItem,
int pType,
java.util.Map pProperties)
Construct a PropertiesChangedEvent from an item
|
PropertiesChangedEvent(java.lang.Object pSource,
java.lang.String pRepositoryId,
java.lang.String pItemDescriptorName,
int pType,
java.util.Map pProperties)
Construct a PropertiesChangedEvent from an item's id and item-descriptor
name.
|
Modifier and Type | Method and Description |
---|---|
atg.repository.RepositoryChangedItem |
getItem() |
java.lang.String |
getItemDescriptorName() |
java.util.Map |
getProperties() |
java.lang.String |
getRepositoryId() |
int |
getType() |
void |
setItem(atg.repository.RepositoryChangedItem pItem)
Sets the property Item.
|
void |
setItemDescriptorName(java.lang.String pItemDescriptorName)
Sets the property ItemDescriptorName.
|
void |
setProperties(java.util.Map pProperties)
Sets the property Properties.
|
void |
setRepositoryId(java.lang.String pRepositoryId)
Sets the property RepositoryId.
|
void |
setType(int pType)
Sets the property Type.
|
java.lang.String |
toSecureLoggingString() |
java.lang.String |
toString()
Returns the event in a string form
|
public static java.lang.String CLASS_VERSION
public static final int UPDATE
public static final int DELETE
public static final int INSERT
public static final int CACHE_INVALIDATE
public PropertiesChangedEvent(java.lang.Object pSource)
public PropertiesChangedEvent(java.lang.Object pSource, atg.repository.RepositoryChangedItem pItem, int pType, java.util.Map pProperties)
public PropertiesChangedEvent(java.lang.Object pSource, java.lang.String pRepositoryId, java.lang.String pItemDescriptorName, int pType, java.util.Map pProperties)
public void setType(int pType)
pType
- new value to setpublic int getType()
public void setItem(atg.repository.RepositoryChangedItem pItem)
pItem
- new value to setpublic atg.repository.RepositoryChangedItem getItem()
public void setRepositoryId(java.lang.String pRepositoryId)
pRepositoryId
- new value to setpublic java.lang.String getRepositoryId()
public void setItemDescriptorName(java.lang.String pItemDescriptorName)
pItemDescriptorName
- new value to setpublic java.lang.String getItemDescriptorName()
public void setProperties(java.util.Map pProperties)
pProperties
- new value to setpublic java.util.Map getProperties()
public java.lang.String toString()
toString
in class java.util.EventObject
public java.lang.String toSecureLoggingString()