public class RMBulkOperationsUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
QUERY_MARKERS_CONTAINEE_ON_IERHOLD |
static java.lang.String |
QUERY_MARKERS_CONTAINEE_ON_IERHOLD_EDMHOLD |
static java.lang.String |
QUERY_MARKERS_ON_IERHOLD |
static java.lang.String |
QUERY_MARKERS_ON_IERHOLD_EDMHOLD |
static java.lang.String |
QUERY_PHYSICAL_CONTAINER_CONTAINEE_ON_HOLD |
static java.lang.String |
QUERY_PHYSICAL_CONTAINER_VOL_CONTAINEE_ON_HOLD |
Constructor and Description |
---|
RMBulkOperationsUtil()
A default constructor thats is used to retrieve an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
RMBulkOperationResults |
activate(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonforActivate)
Activates all the RM entities whose IDs are specified in the
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
batchActivate(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonforActivate)
Activates all the RM entities in batch, whose IDs are specified in the
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
batchForcedClose(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonForClose)
Performs the close operation on all the RM objects whose IDs are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
batchInactivate(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonforInActivate)
Inactivates all the RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
clearDispositionData(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs)
Performs the clear disposition properties operation on all RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
close(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonForClose)
Performs the Close operation on all the RM objects whose IDs are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
copy(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMRecordContainer aoDestination,
com.filenet.wcm.api.Properties aoCopyProps)
Performs the copy operation on all RecordInfo Objects whose Ids are specified in
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
copy(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMRecordContainer aoDestination,
java.lang.String copyOfPrefix)
Performs the copy operation on all RecordInfo Objects whose Ids are specified in
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
delete(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs)
Performs the delete operation on all RM Entities whose IDs are specified in
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
file(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMRecordContainer aoDestination)
Performs the file operations on all RecordInfo Objects whose Ids are specified in
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
forcedClose(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonForClose)
Performs the close operation on all the RM objects whose IDs are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
hold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
Hold aoHold)
Performs hold operation on all RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
hold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
Holds aoHolds)
Performs the hold operation on all the RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
hold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMObjects aoHolds)
Deprecated.
Use
hold(RMObjectStore aoRMOS,
String[] asArrObjectIDs,
Holds aoHolds) instead of this method. |
RMBulkOperationResults |
inActivate(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
java.lang.String asReasonforInActivate)
Inactivates all the RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
initiateDisposition(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
filenet.vw.api.VWSession aoVWSession)
Performs initiateDisposition operation on all RM entities whose Ids are
specified in the asArrObjectIDs input parameter.
|
boolean |
isEDMHoldSupportedOnMarkers(RMObjectStore aRMObjectStore) |
boolean |
isPhysicalRecordContaineeOnHold(RMObjectStore aRMObjectStore,
RMRecordContainer aContainer) |
boolean |
isPhysicalRecordOnHold(RMObjectStore aRMObjectStore,
java.lang.String aRMEntityId,
java.lang.String aRMEntityName,
int aRMType) |
RMBulkOperationResults |
move(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMRecordContainer aoSource,
RMFolder aoDestination,
java.lang.String asReasonForMove,
DispositionSchedule aoDispositionSchedule)
Performs the move operation on all RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
registerExternalEvent(RMObjectStore aoRMOS,
java.lang.String[] asArrEventIDs,
java.util.Date aoExtEventOccuranceDate)
Updates the ExternalEventOccurrenceDate metadata of the Events represented
by the GUIDs specified in input parameter for a particular RMObjectStore.
|
RMBulkOperationResults |
reOpen(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
boolean abReOpen,
java.lang.String asReasonForClose)
Performs the reOpen operation on all RM objects whose IDs are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
undeclare(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs)
Performs the undeclare operation on all RM records whose IDs are specified in
asArrObjectIDs input parameter.
|
RMBulkOperationResults |
unHold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
Hold aoHold)
Performs the unHold operation on all RM entities whose Ids are specified in
input parameter asArrObjectIDs.The Hold object that is specified is disassociated from each RM object.
|
RMBulkOperationResults |
unHold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
Holds aoHolds)
Performs the unHold operation on all RM entities whose Ids are specified in
the asArrObjectIDs input parameter.
|
RMBulkOperationResults |
unHold(RMObjectStore aoRMOS,
java.lang.String[] asArrObjectIDs,
RMObjects aoHolds)
Deprecated.
Use instead of this method.
|
public static final java.lang.String QUERY_MARKERS_ON_IERHOLD
public static final java.lang.String QUERY_MARKERS_ON_IERHOLD_EDMHOLD
public static final java.lang.String QUERY_MARKERS_CONTAINEE_ON_IERHOLD
public static final java.lang.String QUERY_MARKERS_CONTAINEE_ON_IERHOLD_EDMHOLD
public static final java.lang.String QUERY_PHYSICAL_CONTAINER_CONTAINEE_ON_HOLD
public static final java.lang.String QUERY_PHYSICAL_CONTAINER_VOL_CONTAINEE_ON_HOLD
public RMBulkOperationsUtil()
public RMBulkOperationResults move(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMRecordContainer aoSource, RMFolder aoDestination, java.lang.String asReasonForMove, DispositionSchedule aoDispositionSchedule) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
that are to be moved.aoSource
- Specifies the source RMRecordContainer from where RecordInfo
is to be moved. This parameter is ignored, if an RM entity is not RecordInfo.aoDestination
- Specifies the target RMFolder where RM entities
are to be moved.asReasonForMove
- Reason to move RM entities must be specified. This
parameter cannot be null.aoDispositionSchedule
- A DispositionSchedule object that is to be
associated with the RM entity after the move operation.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults clearDispositionData(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
whose disposition properties are to be cleared.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults file(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMRecordContainer aoDestination) throws RMException
aoRMOS
- An Objectstore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the
RecordInfos that is to be filed.aoDestination
- Specifies the target RMRecordContainer where
RecordInfos are to be filed.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults copy(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMRecordContainer aoDestination, java.lang.String copyOfPrefix) throws RMException
aoRMOS
- An Objectstore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the
RecordInfos that is to be copied.aoDestination
- Specifies the target RMRecordContainer where
RecordInfos are to be copied.copyOfPrefix
- Prefix for the title of the copied recordsRMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults copy(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMRecordContainer aoDestination, com.filenet.wcm.api.Properties aoCopyProps) throws RMException
aoRMOS
- An Objectstore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the
RecordInfos that is to be copied.aoDestination
- Specifies the target RMRecordContainer where
RecordInfos are to be copied.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults delete(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs) throws RMException
aoRMOS
- An Objectstore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the
RecordInfos that is to be copied.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults undeclare(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs) throws RMException
aoRMOS
- An Objectstore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the
RecordInfos that are to be undeclared.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults reOpen(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, boolean abReOpen, java.lang.String asReasonForClose) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM objects.abReOpen
- If true, the reOpen operation is performed; else the entity
that is already reopened before is closed.asReasonForClose
- A String that represents the reason for reOpen operation.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults hold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, Hold aoHold) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
that is to be put on hold.aoHold
- The Hold object that is to be associated.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults hold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMObjects aoHolds) throws RMException
hold(RMObjectStore aoRMOS,
String[] asArrObjectIDs,
Holds aoHolds)
instead of this method.aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
that are kept on hold.aoHolds
- The Holds collection that contain the Hold objects that are to
be associated.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults hold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, Holds aoHolds) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
that are kept on hold.aoHolds
- The Holds collection that contain the Hold objects that are to
be associated.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults unHold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, RMObjects aoHolds) throws RMException
aoRMOS
- An Objectstore object that represents a FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
from which Hold is to be removed.aoHolds
- The Holds collection that contains the Hold objects that are to
be removed.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults unHold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, Holds aoHolds) throws RMException
aoRMOS
- An Objectstore object that represents a FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
from which Hold is to be removed.aoHolds
- The Holds collection that contains the Hold objects that are to
be removed.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults unHold(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, Hold aoHold) throws RMException
aoRMOS
- An Objectstore object that represents a FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
on whom unHold operation is to be performed.aoHold
- Hold object that is to be disassociated.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults close(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonForClose) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A string array that contains the GUIDs of RM objects.asReasonForClose
- A reason for close.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults forcedClose(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonForClose) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A string array that contains the GUIDs of RM objects.asReasonForClose
- A reason for close.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults batchForcedClose(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonForClose) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A string array that contains the GUIDs of RM objects.asReasonForClose
- A reason for close.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults inActivate(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonforInActivate) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the RM entities
that are to be inactivated.asReasonforInActivate
- A reason to inactivate.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults batchInactivate(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonforInActivate) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of the RM entities
that are to be inactivated.asReasonforInActivate
- A reason to inactivate.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults activate(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonforActivate) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A string array that contains the GUIDs of RM entities
that are to be activated.asReasonforActivate
- A Reason to activate.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults batchActivate(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, java.lang.String asReasonforActivate) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A string array that contains the GUIDs of RM entities
that are to be activated.asReasonforActivate
- A Reason to activate.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults registerExternalEvent(RMObjectStore aoRMOS, java.lang.String[] asArrEventIDs, java.util.Date aoExtEventOccuranceDate) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrEventIDs
- A string array that contains the GUIDs of Disposal
triggers.aoExtEventOccuranceDate
- The date that has to be set as the value of ExternalEventOccuranceDate property of each Disposal trigger.RMException
- If an ID does not represent a Disposal Trigger object.RMException
- In case of any error, an RMException will be thrown.public RMBulkOperationResults initiateDisposition(RMObjectStore aoRMOS, java.lang.String[] asArrObjectIDs, filenet.vw.api.VWSession aoVWSession) throws RMException
aoRMOS
- An ObjectStore object that represents an FPOS.asArrObjectIDs
- A String array that contains the GUIDs of RM entities
for whom disposition is to be initiated.aoVWSession
- The VWSession object.RMException
- In case of any error, an RMException will be thrown.public boolean isEDMHoldSupportedOnMarkers(RMObjectStore aRMObjectStore)
public boolean isPhysicalRecordOnHold(RMObjectStore aRMObjectStore, java.lang.String aRMEntityId, java.lang.String aRMEntityName, int aRMType) throws RMException
RMException
public boolean isPhysicalRecordContaineeOnHold(RMObjectStore aRMObjectStore, RMRecordContainer aContainer) throws RMException
RMException
© Copyright IBM Corp. 2003, 2013. All Rights Reserved.