public class DocumentEvent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_CONTENT_MODIFIED |
static int |
DOCUMENT_CREATED |
static int |
DOCUMENT_MOVED |
static int |
DOCUMENT_STATE_CHANGED |
Constructor and Description |
---|
DocumentEvent(Document document,
fr.paris.lutece.portal.business.user.AdminUser user,
int nType)
Creates a new instance of DocumentEvent
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Returns the Document
|
int |
getEventType()
Returns the EventType
|
int |
getSpaceId()
Returns the space id of the document before any rule has been applied
|
int |
getStateId()
Returns the state id of the document before any rule has been applied
|
fr.paris.lutece.portal.business.user.AdminUser |
getUser()
Returns the User
|
public static final int DOCUMENT_CREATED
public static final int DOCUMENT_CONTENT_MODIFIED
public static final int DOCUMENT_STATE_CHANGED
public static final int DOCUMENT_MOVED
public DocumentEvent(Document document, fr.paris.lutece.portal.business.user.AdminUser user, int nType)
document
- The documentuser
- The usernType
- The type of eventpublic int getEventType()
public Document getDocument()
public fr.paris.lutece.portal.business.user.AdminUser getUser()
public int getSpaceId()
public int getStateId()
Copyright © 2020 City of Paris. All rights reserved.