|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataops.archivesystem.WTArchiveSystemHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
archivePropFile
|
private static String |
basicHintsFile
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static String |
hintsDir
|
private static String |
LIBDIR
|
private static String |
localGuid
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static Map |
prefNodeMap
|
private static String |
RESOURCE
|
private static String |
ROOT
|
private static String |
searchHintsFileName
|
private static String |
searchHintsFileNameSuffix
|
private static String |
secondaryHintsFile
|
(package private) static long |
serialVersionUID
|
private static boolean |
VERBOSE
|
private static String |
WT_HOME
|
private static String |
wthome
|
Constructor Summary | |
WTArchiveSystemHelper()
|
Method Summary | |
private static String[] |
convertToStringArray(String inStr,
String token)
|
private static void |
createPref(WTPreferences prefs,
String prefName,
String value)
|
static long |
getArchiveRetentionPeriod()
Supported API: false |
static long |
getArchiveRetentionPeriod(WTArchiveType archiveType)
Supported API: false |
static String[] |
getArchiveSearchVolumes()
Supported API: false |
static String[] |
getArchiveSearchVolumes(WTArchiveType archiveType)
Supported API: false |
static WTArchiveSystem |
getArchiveSystemImpl()
Supported API: false |
static WTArchiveSystem |
getArchiveSystemImpl(WTArchiveType archiveType)
Supported API: false |
static String |
getArchiveVolume()
Supported API: false |
static String |
getArchiveVolume(WTArchiveType archiveType)
Supported API: false |
static String |
getArchiveWhereClause(String keyword,
String searchType,
String initialWhereClause)
Given keyword, archived object type and an archived object where clause, produce a where clause to return the appropiate archives from the windchill search. |
static File |
getBasicHintsFile()
Supported API: false |
private static WTArchiveType |
getDefaultArchiveSystemType()
|
static String |
getHintsDir()
Supported API: false |
private static String |
getImplPrefNodeName(WTArchiveType aType)
|
private static WTPreferences |
getPrefNode(String nodeName,
String impl)
|
private static WTPreferences |
getPrefNode(WTArchiveType aType)
|
static long |
getRetentionPeriodInSec()
Supported API: false |
private static File |
getSearchHintsFile()
|
static File |
getSecondaryHintsFile()
Supported API: false |
static String |
getSourceSystemIdentity()
gets the value of the guid of the local Repository object. |
static boolean |
isArchiveSystemInstalled()
Supported API: false |
static boolean |
isArchiveSystemInstalled(WTArchiveType arType)
Supported API: false |
private static boolean |
isCYAArchiveSystemInstalled()
|
private static boolean |
isFileArchiveSystemInstalled()
|
static WTProperties |
loadArchiveSystemProperties(WTProperties prop)
|
static void |
loadFromProperties(WTArchiveType wtat)
|
private static void |
loadPrefs(WTArchiveType aType,
HashMap in)
|
static void |
main(String[] args)
|
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(WTArchiveSystemHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static ArchiveResident[] |
searchArchivedObjects(String any,
String searchType,
String searchString)
Supported API: false |
private static String |
transform(String in)
|
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 Map prefNodeMap
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String ROOT
private static final String WT_HOME
private static final String LIBDIR
private static String localGuid
private static boolean VERBOSE
private static String searchHintsFileName
private static final String searchHintsFileNameSuffix
private static String hintsDir
private static String basicHintsFile
private static String secondaryHintsFile
private static String wthome
private static String archivePropFile
Constructor Detail |
public WTArchiveSystemHelper()
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(WTArchiveSystemHelper 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 static ArchiveResident[] searchArchivedObjects(String any, String searchType, String searchString) throws WTArchiveSystemException
any
- searchType
- searchString
-
WTArchiveSystemException
public static String[] getArchiveSearchVolumes(WTArchiveType archiveType) throws WTArchiveSystemException
archiveType
-
WTArchiveSystemException
public static String getArchiveVolume(WTArchiveType archiveType) throws WTArchiveSystemException
archiveType
-
WTArchiveSystemException
public static long getArchiveRetentionPeriod(WTArchiveType archiveType) throws WTArchiveSystemException
archiveType
-
WTArchiveSystemException
public static WTArchiveSystem getArchiveSystemImpl() throws WTArchiveSystemException
WTArchiveSystemException
public static WTArchiveSystem getArchiveSystemImpl(WTArchiveType archiveType) throws WTArchiveSystemException
archiveType
-
WTArchiveSystemException
public static String getSourceSystemIdentity() throws WTArchiveSystemException
WTArchiveSystemException
public static String getArchiveVolume() throws WTArchiveSystemException
WTArchiveSystemException
public static String[] getArchiveSearchVolumes() throws WTArchiveSystemException
WTArchiveSystemException
public static long getArchiveRetentionPeriod() throws WTArchiveSystemException
WTArchiveSystemException
public static boolean isArchiveSystemInstalled()
public static boolean isArchiveSystemInstalled(WTArchiveType arType)
arType
-
public static File getBasicHintsFile() throws WTArchiveSystemException
WTArchiveSystemException
public static File getSecondaryHintsFile() throws WTArchiveSystemException
WTArchiveSystemException
public static String getHintsDir()
public static long getRetentionPeriodInSec() throws WTArchiveSystemException
WTArchiveSystemException
private static String getImplPrefNodeName(WTArchiveType aType)
private static WTPreferences getPrefNode(WTArchiveType aType)
private static WTPreferences getPrefNode(String nodeName, String impl)
private static String[] convertToStringArray(String inStr, String token)
private static WTArchiveType getDefaultArchiveSystemType()
private static void loadPrefs(WTArchiveType aType, HashMap in) throws WTArchiveSystemException
WTArchiveSystemException
private static void createPref(WTPreferences prefs, String prefName, String value) throws WTArchiveSystemException
WTArchiveSystemException
public static void loadFromProperties(WTArchiveType wtat) throws WTArchiveSystemException
WTArchiveSystemException
private static File getSearchHintsFile() throws WTArchiveSystemException
WTArchiveSystemException
public static void main(String[] args)
private static boolean isCYAArchiveSystemInstalled()
private static boolean isFileArchiveSystemInstalled()
public static WTProperties loadArchiveSystemProperties(WTProperties prop) throws WTArchiveSystemException
WTArchiveSystemException
public static String getArchiveWhereClause(String keyword, String searchType, String initialWhereClause) throws WTException
keyword
- searchType
- initialWhereClause
-
WTException
private static String transform(String in)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |