|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.serializer.JetspeedSerializerApplication
public class JetspeedSerializerApplication
Jetspeed Serializer Application invoke with mandatory
-E filename or -I filename to denote the export or the import file
-I filename | directory, if a directory will process all XML files of pattern "*seed.xml"
invoke with (optional) parameters as-p propertyFilename : overwrite the default filename defined in System.getProperty JetSpeed.Serializer.Configuration
-a ApplicationPath : overwrite the default ./ or ApplicationPath property in properties file)
-b bootPath : directory to Spring boot files, overwrite the default assembly/boot/ or bootPath property in properties file)
-c configPath : directory to Spring config files, overwrite the default assembly/ or configPath property in properties file)
-O optionstring : overwrite default "ALL,REPLACE"
optionstring: ALL - extract/import all (with exception of PREFERENCES) USER - extract/import users, groups, roles CAPABILITIES - extract/import capabilities PROFILE = extract/import profile settings (for export requires USER) PERMISSIONS = extract/import permissions PREFS = extract/import portlet preferences (ignored if any of the above is set) NOOVERWRITE = don't overwrite existing file (for export) BACKUP = backup before process
-dc driverClass, for example com.mysql.jdbc.Driver
-ds url, ruls according to the driver used, URL needs to point to the correct database
-du user, user with create/drop etc. rights on the database
-dp password
-l log4j-level, ERROR (default), WARN, INFO
Field Summary | |
---|---|
static String |
JNDI_DS_NAME
|
Fields inherited from interface org.apache.jetspeed.serializer.JetspeedSerializerFactory |
---|
PRIMARY, SECONDARY |
Constructor Summary | |
---|---|
JetspeedSerializerApplication()
|
Method Summary | |
---|---|
org.apache.jetspeed.serializer.JetspeedSerializer |
create(String serializerType)
|
private static String[] |
getTokens(String _line)
|
static void |
main(String[] args)
|
private static String[] |
parseFiles(String schemaDirectory)
process provided filename or directory name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JNDI_DS_NAME
Constructor Detail |
---|
public JetspeedSerializerApplication()
Method Detail |
---|
public org.apache.jetspeed.serializer.JetspeedSerializer create(String serializerType)
create
in interface org.apache.jetspeed.serializer.JetspeedSerializerFactory
public static void main(String[] args)
private static String[] parseFiles(String schemaDirectory)
private static String[] getTokens(String _line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |