public class RIDList extends Object
Constructor and Description |
---|
RIDList()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRID(RID rid)
Add a RID to the list
|
void |
addRIDs(RIDList list)
Add RIDs from the spefied list to this list
|
RID |
findRID(int id)
Find the RID with the specified id
|
RID |
findRID(int id,
int typ)
Find the RID with the specified id and type
|
RID |
findRID(String name,
int typ)
Find the RID with the specified name and type
|
int[] |
getIdList()
Get the id list
|
RID |
getRIDAt(int idx)
Return a RID from the list
|
int |
numberOfRIDs()
Return the number of RIDs in the list
|
void |
removeAllRIDs()
Remove all RIDs from the list
|
RID |
removeRID(int id)
Remove a RID from the list
|
public final void addRID(RID rid)
rid
- RIDpublic final void addRIDs(RIDList list)
list
- RIDListpublic final RID getRIDAt(int idx)
idx
- intpublic final int numberOfRIDs()
public final RID findRID(String name, int typ)
name
- Stringtyp
- intpublic final RID findRID(int id, int typ)
id
- inttyp
- intpublic final RID findRID(int id)
id
- intpublic final RID removeRID(int id)
id
- intpublic final void removeAllRIDs()
public final int[] getIdList()
Copyright © 2005–2018 Alfresco Software. All rights reserved.