|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.agent.EventArgs
com.fatwire.agent.ItemEventArgs
public class ItemEventArgs
Event which happened to an item.
These events could be creation/deletion/renaming/modification events. Additionally toIItem
object this class can contain
the old path to the IItem before the modification event happened.
For creation/modification events getOldPath() equals getItem()->getPath().
For deletion event getItem() returns a NULL reference.
Constructor Summary | |
---|---|
ItemEventArgs(ItemInfo item)
Constructor. |
|
ItemEventArgs(ItemInfo item,
Path oldPath)
Constructor. |
|
ItemEventArgs(java.lang.String providerid,
java.lang.String repid,
Path oldPath)
Constructor. |
Method Summary | |
---|---|
ItemInfo |
getItem()
Gets an item after the event happened. |
Path |
getOldPath()
Gets item's path before it was renamed. |
java.lang.String |
getProviderId()
|
java.lang.String |
getRepId()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemEventArgs(ItemInfo item)
item
- info.public ItemEventArgs(ItemInfo item, Path oldPath)
item
- item info.oldPath
- path to this item before modification happened.public ItemEventArgs(java.lang.String providerid, java.lang.String repid, Path oldPath)
providerid
- provider id where this event occured.repid
- repository id where this event occured.oldPath
- path to this item before deletion happened.Method Detail |
---|
public ItemInfo getItem()
public Path getOldPath()
public java.lang.String getProviderId()
public java.lang.String getRepId()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |