|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataops.archivesystem.cyaimpl.CYAArchiveSystem
Supported API: false
Extendable: false
Field Summary | |
private static String |
ARCHIVE_SEARCH_TYPE
|
private com.cya.iarchive.client.ArchiveClient |
arClient
|
private com.cya.iarchive.client.IndexingAgent |
arIndexer
|
private WTArchiveSystemQuery |
arQuery
|
private com.cya.iarchive.client.ArchiveVolume |
arVolume
|
private static String |
CLASSNAME
|
private boolean |
connected
|
private static String |
cyaArchiveClass
|
private static int |
cyaArchiveMarkLen
|
private String |
cyaArchiveVol
|
private static String |
cyaHostName
|
private static String |
cyaIndexingAgent
|
private static int |
cyaRmiPort
|
private static int |
cyaServerPort
|
private static boolean |
cyaSynchronousIndex
|
private static String |
cyaUserName
|
private static String |
cyaUserPasswd
|
static long |
EXTERNALIZATION_VERSION_UID
|
private WTArchiveSystemQueryClause |
lastClause
|
private WTArchiveSystemBetClauseOper |
lastOp
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static HashMap |
sourceMap
|
private static boolean |
verbose
|
private static boolean |
VERBOSE
|
Constructor Summary | |
CYAArchiveSystem()
|
Method Summary | |
void |
addClause(String name,
String val,
WTArchiveSystemInClauseOper oper)
Supported API: false |
void |
addOperator(WTArchiveSystemBetClauseOper op)
Supported API: false |
void |
addType(String typeName)
Supported API: false |
boolean |
connect()
Supported API: false |
ArchiveResident |
createObject(File file,
String objName,
String aVol,
String source,
long retentionPeriod)
Supported API: false |
ArchiveResident |
createObject(InputStream is,
String objName,
String aVol,
String source,
long retentionPeriod)
Supported API: false |
ArchiveResident |
createObject(String localPath,
String objName,
String aVol,
String source,
long retentionPeriod)
Supported API: false |
void |
disconnect()
Supported API: false |
ArchiveResident[] |
executeQuery()
Supported API: false |
void |
finalizeQuery()
Supported API: false |
WTArchiveVolume[] |
getAllVolumes()
Supported API: false |
com.cya.iarchive.client.ArchiveClient |
getClient()
|
private com.cya.iarchive.client.IndexingAgent |
getIndexingAgent()
|
private String |
getSourceId(String source)
|
boolean |
index()
|
void |
newQuery(String[] aVols,
String[] sources)
Supported API: false |
private ArchiveResident[] |
queryArchiveSystem(InputStream is,
String[] sources,
String[] vols)
|
ArchiveResident[] |
queryObject(Map criteria,
String[] aVols,
String[] sources)
Supported API: false |
ArchiveResident[] |
queryObject(Map criteria,
String[] aVols,
String[] sources,
WTArchiveSystemInClauseOper operInClause,
WTArchiveSystemBetClauseOper operBetClause)
Supported API: false |
ArchiveResident[] |
queryObject(String[] queryTypes,
String queryString,
String[] aVols,
String[] sources)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(CYAArchiveSystem thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
removeObject(ArchiveResident arObj)
Supported API: false |
boolean |
removeObject(String objId,
String aVol)
Supported API: false |
private void |
reset()
|
boolean |
retrieveObject(ArchiveResident arObj,
File file)
Supported API: false |
boolean |
retrieveObject(ArchiveResident arObj,
OutputStream os)
Supported API: false |
boolean |
retrieveObject(ArchiveResident arObj,
String localPath)
Supported API: false |
boolean |
retrieveObject(String objName,
String aVol,
File file)
Supported API: false |
boolean |
retrieveObject(String objName,
String aVol,
OutputStream os)
Supported API: false |
boolean |
retrieveObject(String objName,
String aVol,
String localPath)
Supported API: false |
String |
setRetentionPeriod(String aVol,
String[] objName,
Date futureDate,
String source)
Supported API: false |
String |
setRetentionPeriod(String aVol,
String[] objName,
long period,
String source)
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static boolean verbose
private boolean connected
private com.cya.iarchive.client.ArchiveVolume arVolume
private WTArchiveSystemQuery arQuery
private com.cya.iarchive.client.ArchiveClient arClient
private com.cya.iarchive.client.IndexingAgent arIndexer
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String ARCHIVE_SEARCH_TYPE
private static boolean VERBOSE
private static String cyaHostName
private static int cyaRmiPort
private static int cyaServerPort
private static String cyaUserName
private static String cyaUserPasswd
private static String cyaIndexingAgent
private static String cyaArchiveClass
private static boolean cyaSynchronousIndex
private static int cyaArchiveMarkLen
private static HashMap sourceMap
private String cyaArchiveVol
private WTArchiveSystemQueryClause lastClause
private WTArchiveSystemBetClauseOper lastOp
Constructor Detail |
public CYAArchiveSystem()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CYAArchiveSystem thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public boolean connect() throws WTArchiveSystemException
connect
in interface WTArchiveSystem
WTArchiveSystemException
public void disconnect() throws WTArchiveSystemException
disconnect
in interface WTArchiveSystem
WTArchiveSystemException
public ArchiveResident createObject(String localPath, String objName, String aVol, String source, long retentionPeriod) throws WTArchiveSystemException
createObject
in interface WTArchiveSystem
localPath
- objName
- aVol
- source
- retentionPeriod
-
WTArchiveSystemException
public ArchiveResident createObject(File file, String objName, String aVol, String source, long retentionPeriod) throws WTArchiveSystemException
createObject
in interface WTArchiveSystem
file
- objName
- aVol
- source
- retentionPeriod
-
WTArchiveSystemException
public ArchiveResident createObject(InputStream is, String objName, String aVol, String source, long retentionPeriod) throws WTArchiveSystemException
createObject
in interface WTArchiveSystem
is
- objName
- aVol
- source
- retentionPeriod
-
WTArchiveSystemException
public boolean retrieveObject(String objName, String aVol, String localPath) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
objName
- aVol
- localPath
-
WTArchiveSystemException
public boolean retrieveObject(String objName, String aVol, File file) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
objName
- aVol
- file
-
WTArchiveSystemException
public boolean retrieveObject(String objName, String aVol, OutputStream os) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
objName
- aVol
- os
-
WTArchiveSystemException
public ArchiveResident[] queryObject(Map criteria, String[] aVols, String[] sources) throws WTArchiveSystemException
queryObject
in interface WTArchiveSystem
criteria
- aVols
- sources
-
WTArchiveSystemException
public ArchiveResident[] queryObject(Map criteria, String[] aVols, String[] sources, WTArchiveSystemInClauseOper operInClause, WTArchiveSystemBetClauseOper operBetClause) throws WTArchiveSystemException
queryObject
in interface WTArchiveSystem
criteria
- aVols
- sources
- operInClause
- operBetClause
-
WTArchiveSystemException
public ArchiveResident[] queryObject(String[] queryTypes, String queryString, String[] aVols, String[] sources) throws WTArchiveSystemException
queryObject
in interface WTArchiveSystem
queryTypes
- queryString
- aVols
- sources
-
WTArchiveSystemException
public void newQuery(String[] aVols, String[] sources) throws WTArchiveSystemException
newQuery
in interface WTArchiveSystem
aVols
- sources
-
WTArchiveSystemException
public void addOperator(WTArchiveSystemBetClauseOper op) throws WTArchiveSystemException
addOperator
in interface WTArchiveSystem
op
-
WTArchiveSystemException
public void addClause(String name, String val, WTArchiveSystemInClauseOper oper) throws WTArchiveSystemException
addClause
in interface WTArchiveSystem
name
- val
- oper
-
WTArchiveSystemException
public void finalizeQuery() throws WTArchiveSystemException
finalizeQuery
in interface WTArchiveSystem
WTArchiveSystemException
public ArchiveResident[] executeQuery() throws WTArchiveSystemException
executeQuery
in interface WTArchiveSystem
WTArchiveSystemException
public String setRetentionPeriod(String aVol, String[] objName, long period, String source) throws WTArchiveSystemException
setRetentionPeriod
in interface WTArchiveSystem
aVol
- objName
- period
- source
-
WTArchiveSystemException
public String setRetentionPeriod(String aVol, String[] objName, Date futureDate, String source) throws WTArchiveSystemException
setRetentionPeriod
in interface WTArchiveSystem
aVol
- objName
- futureDate
- source
-
WTArchiveSystemException
public WTArchiveVolume[] getAllVolumes() throws WTArchiveSystemException
getAllVolumes
in interface WTArchiveSystem
WTArchiveSystemException
public boolean removeObject(String objId, String aVol) throws WTArchiveSystemException
removeObject
in interface WTArchiveSystem
objId
- aVol
-
WTArchiveSystemException
public boolean retrieveObject(ArchiveResident arObj, String localPath) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
arObj
- localPath
-
WTArchiveSystemException
public boolean removeObject(ArchiveResident arObj) throws WTArchiveSystemException
removeObject
in interface WTArchiveSystem
arObj
-
WTArchiveSystemException
public boolean retrieveObject(ArchiveResident arObj, File file) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
arObj
- file
-
WTArchiveSystemException
public boolean retrieveObject(ArchiveResident arObj, OutputStream os) throws WTArchiveSystemException
retrieveObject
in interface WTArchiveSystem
arObj
- os
-
WTArchiveSystemException
public void addType(String typeName) throws WTArchiveSystemException
addType
in interface WTArchiveSystem
typeName
-
WTArchiveSystemException
private void reset()
private com.cya.iarchive.client.IndexingAgent getIndexingAgent() throws CYAArchiveSystemException
CYAArchiveSystemException
private String getSourceId(String source) throws CYAArchiveSystemException
CYAArchiveSystemException
private ArchiveResident[] queryArchiveSystem(InputStream is, String[] sources, String[] vols) throws CYAArchiveSystemException
CYAArchiveSystemException
public boolean index()
public com.cya.iarchive.client.ArchiveClient getClient()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |