|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IIdManager
| Field Summary | |
|---|---|
static int |
RESULT_IDUSED
Define the result idused (int) constant. |
static int |
RESULT_INVALID
Define the result invalid (int) constant. |
static int |
RESULT_NOT_FOUND
Define the result not found (int) constant. |
static int |
RESULT_OVERLIMIT
Define the result overlimit (int) constant. |
static int |
RESULT_SUCCESS
Define the result success (int) constant. |
static int |
STATUS_DISABLE_REQUESTED
|
static int |
STATUS_STANDBY
Define the status standby (int) constant. |
static int |
STATUS_STANDBY_NEW
Define the status standby (int) constant. |
static int |
STATUS_START_REQUESTED
Define the status start requested (int) constant. |
static int |
STATUS_STARTED
Define the status started (int) constant. |
static int |
STATUS_STOP_REQUESTED
Define the status stop requested (int) constant. |
static int |
STATUS_STOPPED
Define the status stopped (int) constant. |
| Method Summary | |
|---|---|
java.util.List |
getIds(java.lang.Object owner)
Get ids with the specified owner parameter and return the List result. |
int |
getIdStatus(int id,
java.lang.Object owner)
Get id status with the specified id and owner parameters and return the int result. |
int |
getIdStatus(java.lang.Object idObj,
java.lang.Object owner)
Get id status with the specified id obj and owner parameters and return the int result. |
java.lang.Object |
getOwner(int id)
Get owner with the specified id parameter and return the Object result. |
java.lang.Object |
getOwner(java.lang.Object idObj)
Get owner with the specified id obj parameter and return the Object result. |
boolean |
isAllIdsStarted(java.lang.Object owner)
Is all ids started with the specified owner parameter and return the boolean result. |
boolean |
isAllIdsStopped(java.lang.Object owner)
Is all ids stopped with the specified owner parameter and return the boolean result. |
int |
registerId(int id,
java.lang.Object owner)
Register id with the specified id and owner parameters and return the int result. |
int |
registerId(java.lang.Object idObj,
java.lang.Object owner)
Register id with the specified id obj and owner parameters and return the int result. |
int |
registerNextId(java.lang.Object owner)
Register next id with the specified owner parameter and return the int result. |
void |
removeId(java.lang.Object idObj)
Remove id with the specified id obj parameter. |
void |
removeIdsByOwner(java.lang.Object owner)
Remove ids by owner with the specified owner parameter. |
void |
reset()
Reset. |
int |
setIdStatus(int id,
java.lang.Object owner,
int status)
Set id status with the specified id, owner and status parameters and return the int result. |
int |
setIdStatus(java.lang.Object idObj,
java.lang.Object owner,
int status)
Set id status with the specified id obj, owner and status parameters and return the int result. |
void |
setMaxIdNum(int maxIdNum)
Sets the max ID num value. |
void |
setStartId(int startId)
Sets the start ID value. |
| Field Detail |
|---|
static final int RESULT_SUCCESS
static final int RESULT_IDUSED
static final int RESULT_OVERLIMIT
static final int RESULT_INVALID
static final int RESULT_NOT_FOUND
static final int STATUS_STANDBY_NEW
static final int STATUS_STARTED
static final int STATUS_STOPPED
static final int STATUS_STANDBY
static final int STATUS_START_REQUESTED
static final int STATUS_STOP_REQUESTED
static final int STATUS_DISABLE_REQUESTED
| Method Detail |
|---|
int getIdStatus(java.lang.Object idObj,
java.lang.Object owner)
idObj - The ID obj (Object) parameter.owner - The owner (Object) parameter.
int) value.getIdStatus(int,Object),
setIdStatus(Object,Object,int),
setIdStatus(int,Object,int)
int getIdStatus(int id,
java.lang.Object owner)
id - The ID (int) parameter.owner - The owner (Object) parameter.
int) value.getIdStatus(Object,Object),
setIdStatus(Object,Object,int),
setIdStatus(int,Object,int)java.util.List getIds(java.lang.Object owner)
owner - The owner (Object) parameter.
List) value.java.lang.Object getOwner(java.lang.Object idObj)
idObj - The ID obj (Object) parameter.
Object) value.getOwner(int),
removeIdsByOwner(Object)java.lang.Object getOwner(int id)
id - The ID (int) parameter.
Object) value.getOwner(Object),
removeIdsByOwner(Object)boolean isAllIdsStarted(java.lang.Object owner)
owner - The owner (Object) parameter.
boolean) value.boolean isAllIdsStopped(java.lang.Object owner)
owner - The owner (Object) parameter.
boolean) value.
int registerId(java.lang.Object idObj,
java.lang.Object owner)
idObj - The ID obj (Object) parameter.owner - The owner (Object) parameter.
int) value.registerId(int,Object),
registerNextId(Object),
removeId(Object),
setStartId(int)
int registerId(int id,
java.lang.Object owner)
id - The ID (int) parameter.owner - The owner (Object) parameter.
int) value.registerId(Object,Object),
registerNextId(Object),
removeId(Object),
setStartId(int)int registerNextId(java.lang.Object owner)
owner - The owner (Object) parameter.
int) value.void removeId(java.lang.Object idObj)
idObj - The ID obj (Object) parameter.registerId(Object,Object),
registerId(int,Object),
registerNextId(Object),
setStartId(int)void removeIdsByOwner(java.lang.Object owner)
owner - The owner (Object) parameter.void reset()
int setIdStatus(java.lang.Object idObj,
java.lang.Object owner,
int status)
idObj - The ID obj (Object) parameter.owner - The owner (Object) parameter.status - The status (int) parameter.
int) value.getIdStatus(Object,Object),
getIdStatus(int,Object),
setIdStatus(int,Object,int)
int setIdStatus(int id,
java.lang.Object owner,
int status)
id - The ID (int) parameter.owner - The owner (Object) parameter.status - The status (int) parameter.
int) value.getIdStatus(Object,Object),
getIdStatus(int,Object),
setIdStatus(Object,Object,int)void setMaxIdNum(int maxIdNum)
maxIdNum - The max ID num (int) parameter.void setStartId(int startId)
startId - The start ID (int) parameter.
|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||