public interface PartitionService
| Modifier and Type | Method and Description |
|---|---|
OperationStatus |
createPartition(ObjectEntry partObjEntry)
Creates a partition at the with the specified ObjectEntry as the partition root.
|
OperationStatus |
createReplica(ObjectEntry partObjEntry,
java.lang.String servFDN,
int type)
Creates a replica of a specified partition.
|
OperationStatus |
deleteReplica(ObjectEntry partObjEntry,
java.lang.String servFDN)
Deletes a replica of a specified partition.
|
Replica[] |
getPartitionReplicaList(ObjectEntry partOE,
java.lang.String serverToRead)
Returns a list of replicas of a partition objectEntry.
|
java.lang.String |
getPartitionRoot(ObjectEntry objEntry)
Returns the fully distinguished name of the specified partition root objEntry.
|
Replica[] |
getServerPartitionList(ObjectEntry servObjEntry)
Returns the list of replicas stored on a server.
|
boolean |
isPartition(ObjectEntry objEntry)
Determines if an object is a partition.
|
OperationStatus |
mergePartition(ObjectEntry partObjEntry)
Merges a partition with its parent partition.
|
OperationStatus createPartition(ObjectEntry partObjEntry) throws SPIException
partObjEntry - The ObjectEntry at which the partition will be created.SPIException - Thrown when the service provider returns an error.OperationStatus mergePartition(ObjectEntry partObjEntry) throws SPIException
partObjEntry - The partition ObjectEntry to be merged with its parent partition.SPIException - Thrown when the service provider returns an error.Replica[] getPartitionReplicaList(ObjectEntry partOE, java.lang.String serverToRead) throws SPIException
partOE - The partition ObjectEntry.serverToRead - DN of the server to read "Replica" attribute from.
if null then any server that contains the partition object could be usedSPIException - Thrown when the service provider returns an error.Replica[] getServerPartitionList(ObjectEntry servObjEntry) throws SPIException
servObjEntry - The server ObjectEntry where to get a list of replicas from.SPIException - Thrown when the service provider returns an error.OperationStatus createReplica(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.SPIException - Thrown when the service provider returns an error.OperationStatus deleteReplica(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.SPIException - Thrown when the service provider returns an error.java.lang.String getPartitionRoot(ObjectEntry objEntry) throws SPIException
objEntry - The object whose partition root is being retrieved.SPIException - Thrown when the service provider returns an error.boolean isPartition(ObjectEntry objEntry) throws SPIException
objEntry - The object to be checked.SPIException - Thrown when the service provider returns an error.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.