public final class FolderIndexDeferredUpdate extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
m_Id
The id of the deferred update entry
|
protected long |
m_LeftId
The left id (parent folder)
|
protected int |
m_Level
The map level.
|
protected int |
m_OperationType
The operation type.
|
protected long |
m_RightId
The right id (child folder)
|
static int |
OPERATION_TYPE_ADD_TO_FOLDER
The operation type for adding a folder to a folder,
for creating a folder index deferred update entry.
|
static int |
OPERATION_TYPE_FREE_FOLDER
The operation type for freeing a folder,
for creating a folder index deferred update entry.
|
static int |
OPERATION_TYPE_NEW_FOLDER
The operation type for a new folder,
for creating a folder index deferred update entry.
|
static int |
OPERATION_TYPE_NO_OPERATION
The operation type for a no-op.
|
static int |
OPERATION_TYPE_PROMOTE_FOLDER
The operation type for promoting a folder,
for creating a folder index deferred update entry.
|
static int |
OPERATION_TYPE_REMOVE_FROM_FOLDER
The operation type for removing a folder from a folder,
for creating a folder index deferred update entry.
|
Constructor and Description |
---|
FolderIndexDeferredUpdate(long id,
int operationType,
long leftId,
long rightId,
int level)
Constructs a FolderIndexDeferredUpdate.
|
Modifier and Type | Method and Description |
---|---|
long |
getId()
Gets the id of the entry
|
long |
getLeftId()
Gets the left ID for the entry
|
int |
getLevel()
Gets the map level for the entry
|
int |
getOperationType()
Gets the operation type for the entry
|
long |
getRightId()
Gets the right ID for the entry
|
public static final int OPERATION_TYPE_NO_OPERATION
public static final int OPERATION_TYPE_NEW_FOLDER
public static final int OPERATION_TYPE_FREE_FOLDER
public static final int OPERATION_TYPE_ADD_TO_FOLDER
public static final int OPERATION_TYPE_REMOVE_FROM_FOLDER
public static final int OPERATION_TYPE_PROMOTE_FOLDER
protected long m_Id
protected int m_OperationType
protected long m_LeftId
protected long m_RightId
protected int m_Level
public FolderIndexDeferredUpdate(long id, int operationType, long leftId, long rightId, int level)
id
- the id of the entry inthe folder index update tableoperationType
- the operation typeleftId
- the ID of the parent folderrightId
- the ID of the child folderlevel
- the folder index map levelpublic final long getId()
public final int getOperationType()
public final long getLeftId()
public final long getRightId()
public final int getLevel()
Copyright © 2023. All rights reserved.