|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes partition operations.
Method Summary | |
OperationStatus |
createPartition(com.novell.application.console.snapin.ObjectEntry partObjEntry)
Creates a partition at the with the specified ObjectEntry as the partition root. |
OperationStatus |
createReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN,
int type)
Creates a replica of a specified partition. |
OperationStatus |
deleteReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
Deletes a replica of a specified partition. |
Replica[] |
getPartitionReplicaList(com.novell.application.console.snapin.ObjectEntry servObjEntry,
java.lang.String serverToRead)
Returns a list of replicas of a partition objectEntry. |
java.lang.String |
getPartitionRoot(com.novell.application.console.snapin.ObjectEntry objEntry)
Returns the fully distinguished name of the specified partition root objEntry. |
Replica[] |
getServerPartitionList(com.novell.application.console.snapin.ObjectEntry servObjEntry)
Returns the list of replicas stored on a server. |
boolean |
isPartition(com.novell.application.console.snapin.ObjectEntry objEntry)
Determines if an object is a partition. |
OperationStatus |
mergePartition(com.novell.application.console.snapin.ObjectEntry partObjEntry)
Merges a partition with its parent partition. |
Method Detail |
public OperationStatus createPartition(com.novell.application.console.snapin.ObjectEntry partObjEntry) throws SPIException
partObjEntry
- The ObjectEntry at which the partition will be created.public OperationStatus mergePartition(com.novell.application.console.snapin.ObjectEntry partObjEntry) throws SPIException
partObjEntry
- The partition ObjectEntry to be merged with its parent partition.public Replica[] getPartitionReplicaList(com.novell.application.console.snapin.ObjectEntry servObjEntry, java.lang.String serverToRead) throws SPIException
servObjEntry
- The server ObjectEntery.public Replica[] getServerPartitionList(com.novell.application.console.snapin.ObjectEntry servObjEntry) throws SPIException
servObjEntry
- The server ObjectEntry where to get a list of replicas from.public OperationStatus createReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry, java.lang.String servFDN, int type) throws SPIException
partObjEntry
- The partition ObjectEntry for which to create a replica.servFDN
- The FDN of the server where we will create a replica on.type
- The type of the replica which we will create.public OperationStatus deleteReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry, java.lang.String servFDN) throws SPIException
partObjEntry
- The partition ObjectEntry whose replica will be deleted.servFDN
- The fully distinguished name of the server holding the replica.public java.lang.String getPartitionRoot(com.novell.application.console.snapin.ObjectEntry objEntry) throws SPIException
ObjEntry
- The object whose partition root is being retrieved.public boolean isPartition(com.novell.application.console.snapin.ObjectEntry objEntry) throws SPIException
ObjEntry
- The object to be checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |