series update
This commit is contained in:
Generated
+16
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="multimedia" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
<bytecodeTargetLevel>
|
||||||
|
<module name="multimedia" target="1.8" />
|
||||||
|
</bytecodeTargetLevel>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+461
@@ -0,0 +1,461 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DBNavigator.Project.DataEditorManager">
|
||||||
|
<record-view-column-sorting-type value="BY_INDEX" />
|
||||||
|
<value-preview-text-wrapping value="false" />
|
||||||
|
<value-preview-pinned value="false" />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.DataExportManager">
|
||||||
|
<export-instructions>
|
||||||
|
<create-header value="true" />
|
||||||
|
<friendly-headers value="false" />
|
||||||
|
<quote-values-containing-separator value="true" />
|
||||||
|
<quote-all-values value="false" />
|
||||||
|
<value-separator value="" />
|
||||||
|
<file-name value="" />
|
||||||
|
<file-location value="" />
|
||||||
|
<scope value="GLOBAL" />
|
||||||
|
<destination value="FILE" />
|
||||||
|
<format value="EXCEL" />
|
||||||
|
<charset value="windows-1252" />
|
||||||
|
</export-instructions>
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.DatabaseBrowserManager">
|
||||||
|
<autoscroll-to-editor value="false" />
|
||||||
|
<autoscroll-from-editor value="true" />
|
||||||
|
<show-object-properties value="true" />
|
||||||
|
<loaded-nodes />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.DatabaseFileManager">
|
||||||
|
<open-files />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.EditorStateManager">
|
||||||
|
<last-used-providers />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.ExecutionManager">
|
||||||
|
<retain-sticky-names value="false" />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.MethodExecutionManager">
|
||||||
|
<method-browser />
|
||||||
|
<execution-history>
|
||||||
|
<group-entries value="true" />
|
||||||
|
<execution-inputs />
|
||||||
|
</execution-history>
|
||||||
|
<argument-values-cache />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.ObjectDependencyManager">
|
||||||
|
<last-used-dependency-type value="INCOMING" />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.ObjectQuickFilterManager">
|
||||||
|
<last-used-operator value="EQUAL" />
|
||||||
|
<filters />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.ParserDiagnosticsManager">
|
||||||
|
<diagnostics-history />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.ScriptExecutionManager" clear-outputs="true">
|
||||||
|
<recently-used-interfaces />
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.Settings">
|
||||||
|
<connections />
|
||||||
|
<browser-settings>
|
||||||
|
<general>
|
||||||
|
<display-mode value="TABBED" />
|
||||||
|
<navigation-history-size value="100" />
|
||||||
|
<show-object-details value="false" />
|
||||||
|
</general>
|
||||||
|
<filters>
|
||||||
|
<object-type-filter>
|
||||||
|
<object-type name="SCHEMA" enabled="true" />
|
||||||
|
<object-type name="USER" enabled="true" />
|
||||||
|
<object-type name="ROLE" enabled="true" />
|
||||||
|
<object-type name="PRIVILEGE" enabled="true" />
|
||||||
|
<object-type name="CHARSET" enabled="true" />
|
||||||
|
<object-type name="TABLE" enabled="true" />
|
||||||
|
<object-type name="VIEW" enabled="true" />
|
||||||
|
<object-type name="MATERIALIZED_VIEW" enabled="true" />
|
||||||
|
<object-type name="NESTED_TABLE" enabled="true" />
|
||||||
|
<object-type name="COLUMN" enabled="true" />
|
||||||
|
<object-type name="INDEX" enabled="true" />
|
||||||
|
<object-type name="CONSTRAINT" enabled="true" />
|
||||||
|
<object-type name="DATASET_TRIGGER" enabled="true" />
|
||||||
|
<object-type name="DATABASE_TRIGGER" enabled="true" />
|
||||||
|
<object-type name="SYNONYM" enabled="true" />
|
||||||
|
<object-type name="SEQUENCE" enabled="true" />
|
||||||
|
<object-type name="PROCEDURE" enabled="true" />
|
||||||
|
<object-type name="FUNCTION" enabled="true" />
|
||||||
|
<object-type name="PACKAGE" enabled="true" />
|
||||||
|
<object-type name="TYPE" enabled="true" />
|
||||||
|
<object-type name="TYPE_ATTRIBUTE" enabled="true" />
|
||||||
|
<object-type name="ARGUMENT" enabled="true" />
|
||||||
|
<object-type name="DIMENSION" enabled="true" />
|
||||||
|
<object-type name="CLUSTER" enabled="true" />
|
||||||
|
<object-type name="DBLINK" enabled="true" />
|
||||||
|
</object-type-filter>
|
||||||
|
</filters>
|
||||||
|
<sorting>
|
||||||
|
<object-type name="COLUMN" sorting-type="NAME" />
|
||||||
|
<object-type name="FUNCTION" sorting-type="NAME" />
|
||||||
|
<object-type name="PROCEDURE" sorting-type="NAME" />
|
||||||
|
<object-type name="ARGUMENT" sorting-type="POSITION" />
|
||||||
|
</sorting>
|
||||||
|
<default-editors>
|
||||||
|
<object-type name="VIEW" editor-type="SELECTION" />
|
||||||
|
<object-type name="PACKAGE" editor-type="SELECTION" />
|
||||||
|
<object-type name="TYPE" editor-type="SELECTION" />
|
||||||
|
</default-editors>
|
||||||
|
</browser-settings>
|
||||||
|
<navigation-settings>
|
||||||
|
<lookup-filters>
|
||||||
|
<lookup-objects>
|
||||||
|
<object-type name="SCHEMA" enabled="true" />
|
||||||
|
<object-type name="USER" enabled="false" />
|
||||||
|
<object-type name="ROLE" enabled="false" />
|
||||||
|
<object-type name="PRIVILEGE" enabled="false" />
|
||||||
|
<object-type name="CHARSET" enabled="false" />
|
||||||
|
<object-type name="TABLE" enabled="true" />
|
||||||
|
<object-type name="VIEW" enabled="true" />
|
||||||
|
<object-type name="MATERIALIZED VIEW" enabled="true" />
|
||||||
|
<object-type name="INDEX" enabled="true" />
|
||||||
|
<object-type name="CONSTRAINT" enabled="true" />
|
||||||
|
<object-type name="DATASET TRIGGER" enabled="true" />
|
||||||
|
<object-type name="DATABASE TRIGGER" enabled="true" />
|
||||||
|
<object-type name="SYNONYM" enabled="false" />
|
||||||
|
<object-type name="SEQUENCE" enabled="true" />
|
||||||
|
<object-type name="PROCEDURE" enabled="true" />
|
||||||
|
<object-type name="FUNCTION" enabled="true" />
|
||||||
|
<object-type name="PACKAGE" enabled="true" />
|
||||||
|
<object-type name="TYPE" enabled="true" />
|
||||||
|
<object-type name="DIMENSION" enabled="false" />
|
||||||
|
<object-type name="CLUSTER" enabled="false" />
|
||||||
|
<object-type name="DBLINK" enabled="true" />
|
||||||
|
</lookup-objects>
|
||||||
|
<force-database-load value="false" />
|
||||||
|
<prompt-connection-selection value="true" />
|
||||||
|
<prompt-schema-selection value="true" />
|
||||||
|
</lookup-filters>
|
||||||
|
</navigation-settings>
|
||||||
|
<dataset-grid-settings>
|
||||||
|
<general>
|
||||||
|
<enable-zooming value="true" />
|
||||||
|
<enable-column-tooltip value="true" />
|
||||||
|
</general>
|
||||||
|
<sorting>
|
||||||
|
<nulls-first value="true" />
|
||||||
|
<max-sorting-columns value="4" />
|
||||||
|
</sorting>
|
||||||
|
<tracking-columns>
|
||||||
|
<columnNames value="" />
|
||||||
|
<visible value="true" />
|
||||||
|
<editable value="false" />
|
||||||
|
</tracking-columns>
|
||||||
|
</dataset-grid-settings>
|
||||||
|
<dataset-editor-settings>
|
||||||
|
<text-editor-popup>
|
||||||
|
<active value="false" />
|
||||||
|
<active-if-empty value="false" />
|
||||||
|
<data-length-threshold value="100" />
|
||||||
|
<popup-delay value="1000" />
|
||||||
|
</text-editor-popup>
|
||||||
|
<values-actions-popup>
|
||||||
|
<show-popup-button value="true" />
|
||||||
|
<element-count-threshold value="1000" />
|
||||||
|
<data-length-threshold value="250" />
|
||||||
|
</values-actions-popup>
|
||||||
|
<general>
|
||||||
|
<fetch-block-size value="100" />
|
||||||
|
<fetch-timeout value="30" />
|
||||||
|
<trim-whitespaces value="true" />
|
||||||
|
<convert-empty-strings-to-null value="true" />
|
||||||
|
<select-content-on-cell-edit value="true" />
|
||||||
|
<large-value-preview-active value="true" />
|
||||||
|
</general>
|
||||||
|
<filters>
|
||||||
|
<prompt-filter-dialog value="true" />
|
||||||
|
<default-filter-type value="BASIC" />
|
||||||
|
</filters>
|
||||||
|
<qualified-text-editor text-length-threshold="300">
|
||||||
|
<content-types>
|
||||||
|
<content-type name="Text" enabled="true" />
|
||||||
|
<content-type name="Properties" enabled="true" />
|
||||||
|
<content-type name="XML" enabled="true" />
|
||||||
|
<content-type name="DTD" enabled="true" />
|
||||||
|
<content-type name="HTML" enabled="true" />
|
||||||
|
<content-type name="XHTML" enabled="true" />
|
||||||
|
<content-type name="Java" enabled="true" />
|
||||||
|
<content-type name="SQL" enabled="true" />
|
||||||
|
<content-type name="PL/SQL" enabled="true" />
|
||||||
|
<content-type name="JSON" enabled="true" />
|
||||||
|
<content-type name="JSON5" enabled="true" />
|
||||||
|
<content-type name="Groovy" enabled="true" />
|
||||||
|
<content-type name="AIDL" enabled="true" />
|
||||||
|
<content-type name="YAML" enabled="true" />
|
||||||
|
<content-type name="Manifest" enabled="true" />
|
||||||
|
</content-types>
|
||||||
|
</qualified-text-editor>
|
||||||
|
<record-navigation>
|
||||||
|
<navigation-target value="VIEWER" />
|
||||||
|
</record-navigation>
|
||||||
|
</dataset-editor-settings>
|
||||||
|
<code-editor-settings>
|
||||||
|
<general>
|
||||||
|
<show-object-navigation-gutter value="false" />
|
||||||
|
<show-spec-declaration-navigation-gutter value="true" />
|
||||||
|
<enable-spellchecking value="true" />
|
||||||
|
<enable-reference-spellchecking value="false" />
|
||||||
|
</general>
|
||||||
|
<confirmations>
|
||||||
|
<save-changes value="false" />
|
||||||
|
<revert-changes value="true" />
|
||||||
|
</confirmations>
|
||||||
|
</code-editor-settings>
|
||||||
|
<code-completion-settings>
|
||||||
|
<filters>
|
||||||
|
<basic-filter>
|
||||||
|
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="function" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="schema" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="role" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="user" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="privilege" selected="true" />
|
||||||
|
<user-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||||
|
</user-schema>
|
||||||
|
<public-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="false" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="false" />
|
||||||
|
</public-schema>
|
||||||
|
<any-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||||
|
</any-schema>
|
||||||
|
</basic-filter>
|
||||||
|
<extended-filter>
|
||||||
|
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="function" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
|
||||||
|
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="schema" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="user" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="role" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="privilege" selected="true" />
|
||||||
|
<user-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||||
|
</user-schema>
|
||||||
|
<public-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||||
|
</public-schema>
|
||||||
|
<any-schema>
|
||||||
|
<filter-element type="OBJECT" id="table" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="index" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="function" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="package" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="type" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||||
|
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||||
|
</any-schema>
|
||||||
|
</extended-filter>
|
||||||
|
</filters>
|
||||||
|
<sorting enabled="true">
|
||||||
|
<sorting-element type="RESERVED_WORD" id="keyword" />
|
||||||
|
<sorting-element type="RESERVED_WORD" id="datatype" />
|
||||||
|
<sorting-element type="OBJECT" id="column" />
|
||||||
|
<sorting-element type="OBJECT" id="table" />
|
||||||
|
<sorting-element type="OBJECT" id="view" />
|
||||||
|
<sorting-element type="OBJECT" id="materialized view" />
|
||||||
|
<sorting-element type="OBJECT" id="index" />
|
||||||
|
<sorting-element type="OBJECT" id="constraint" />
|
||||||
|
<sorting-element type="OBJECT" id="trigger" />
|
||||||
|
<sorting-element type="OBJECT" id="synonym" />
|
||||||
|
<sorting-element type="OBJECT" id="sequence" />
|
||||||
|
<sorting-element type="OBJECT" id="procedure" />
|
||||||
|
<sorting-element type="OBJECT" id="function" />
|
||||||
|
<sorting-element type="OBJECT" id="package" />
|
||||||
|
<sorting-element type="OBJECT" id="type" />
|
||||||
|
<sorting-element type="OBJECT" id="dimension" />
|
||||||
|
<sorting-element type="OBJECT" id="cluster" />
|
||||||
|
<sorting-element type="OBJECT" id="dblink" />
|
||||||
|
<sorting-element type="OBJECT" id="schema" />
|
||||||
|
<sorting-element type="OBJECT" id="role" />
|
||||||
|
<sorting-element type="OBJECT" id="user" />
|
||||||
|
<sorting-element type="RESERVED_WORD" id="function" />
|
||||||
|
<sorting-element type="RESERVED_WORD" id="parameter" />
|
||||||
|
</sorting>
|
||||||
|
<format>
|
||||||
|
<enforce-code-style-case value="true" />
|
||||||
|
</format>
|
||||||
|
</code-completion-settings>
|
||||||
|
<execution-engine-settings>
|
||||||
|
<statement-execution>
|
||||||
|
<fetch-block-size value="100" />
|
||||||
|
<execution-timeout value="20" />
|
||||||
|
<debug-execution-timeout value="600" />
|
||||||
|
<focus-result value="false" />
|
||||||
|
<prompt-execution value="false" />
|
||||||
|
</statement-execution>
|
||||||
|
<script-execution>
|
||||||
|
<command-line-interfaces />
|
||||||
|
<execution-timeout value="300" />
|
||||||
|
</script-execution>
|
||||||
|
<method-execution>
|
||||||
|
<execution-timeout value="30" />
|
||||||
|
<debug-execution-timeout value="600" />
|
||||||
|
<parameter-history-size value="10" />
|
||||||
|
</method-execution>
|
||||||
|
</execution-engine-settings>
|
||||||
|
<operation-settings>
|
||||||
|
<transactions>
|
||||||
|
<uncommitted-changes>
|
||||||
|
<on-project-close value="ASK" />
|
||||||
|
<on-disconnect value="ASK" />
|
||||||
|
<on-autocommit-toggle value="ASK" />
|
||||||
|
</uncommitted-changes>
|
||||||
|
<multiple-uncommitted-changes>
|
||||||
|
<on-commit value="ASK" />
|
||||||
|
<on-rollback value="ASK" />
|
||||||
|
</multiple-uncommitted-changes>
|
||||||
|
</transactions>
|
||||||
|
<session-browser>
|
||||||
|
<disconnect-session value="ASK" />
|
||||||
|
<kill-session value="ASK" />
|
||||||
|
<reload-on-filter-change value="false" />
|
||||||
|
</session-browser>
|
||||||
|
<compiler>
|
||||||
|
<compile-type value="KEEP" />
|
||||||
|
<compile-dependencies value="ASK" />
|
||||||
|
<always-show-controls value="false" />
|
||||||
|
</compiler>
|
||||||
|
<debugger>
|
||||||
|
<debugger-type value="ASK" />
|
||||||
|
<use-generic-runners value="true" />
|
||||||
|
</debugger>
|
||||||
|
</operation-settings>
|
||||||
|
<ddl-file-settings>
|
||||||
|
<extensions>
|
||||||
|
<mapping file-type-id="VIEW" extensions="vw" />
|
||||||
|
<mapping file-type-id="TRIGGER" extensions="trg" />
|
||||||
|
<mapping file-type-id="PROCEDURE" extensions="prc" />
|
||||||
|
<mapping file-type-id="FUNCTION" extensions="fnc" />
|
||||||
|
<mapping file-type-id="PACKAGE" extensions="pkg" />
|
||||||
|
<mapping file-type-id="PACKAGE_SPEC" extensions="pks" />
|
||||||
|
<mapping file-type-id="PACKAGE_BODY" extensions="pkb" />
|
||||||
|
<mapping file-type-id="TYPE" extensions="tpe" />
|
||||||
|
<mapping file-type-id="TYPE_SPEC" extensions="tps" />
|
||||||
|
<mapping file-type-id="TYPE_BODY" extensions="tpb" />
|
||||||
|
</extensions>
|
||||||
|
<general>
|
||||||
|
<lookup-ddl-files value="true" />
|
||||||
|
<create-ddl-files value="false" />
|
||||||
|
<synchronize-ddl-files value="true" />
|
||||||
|
<use-qualified-names value="false" />
|
||||||
|
<make-scripts-rerunnable value="true" />
|
||||||
|
</general>
|
||||||
|
</ddl-file-settings>
|
||||||
|
<general-settings>
|
||||||
|
<regional-settings>
|
||||||
|
<date-format value="MEDIUM" />
|
||||||
|
<number-format value="UNGROUPED" />
|
||||||
|
<locale value="SYSTEM_DEFAULT" />
|
||||||
|
<use-custom-formats value="false" />
|
||||||
|
</regional-settings>
|
||||||
|
<environment>
|
||||||
|
<environment-types>
|
||||||
|
<environment-type id="development" name="Development" description="Development environment" color="-2430209/-12296320" readonly-code="false" readonly-data="false" />
|
||||||
|
<environment-type id="integration" name="Integration" description="Integration environment" color="-2621494/-12163514" readonly-code="true" readonly-data="false" />
|
||||||
|
<environment-type id="production" name="Production" description="Productive environment" color="-11574/-10271420" readonly-code="true" readonly-data="true" />
|
||||||
|
<environment-type id="other" name="Other" description="" color="-1576/-10724543" readonly-code="false" readonly-data="false" />
|
||||||
|
</environment-types>
|
||||||
|
<visibility-settings>
|
||||||
|
<connection-tabs value="true" />
|
||||||
|
<dialog-headers value="true" />
|
||||||
|
<object-editor-tabs value="true" />
|
||||||
|
<script-editor-tabs value="false" />
|
||||||
|
<execution-result-tabs value="true" />
|
||||||
|
</visibility-settings>
|
||||||
|
</environment>
|
||||||
|
</general-settings>
|
||||||
|
</component>
|
||||||
|
<component name="DBNavigator.Project.StatementExecutionManager">
|
||||||
|
<execution-variables />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+45
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="libs-release" />
|
||||||
|
<option name="url" value="http://artifactory.autocrm.net/artifactory/libs-release" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="ZK CE" />
|
||||||
|
<option name="name" value="ZK CE Repository" />
|
||||||
|
<option name="url" value="https://mavensync.zkoss.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="snapshots" />
|
||||||
|
<option name="name" value="libs-snapshot" />
|
||||||
|
<option name="url" value="http://artifactory.autocrm.net/artifactory/libs-snapshot" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="ZK EVAL" />
|
||||||
|
<option name="name" value="ZK Evaluation Repository" />
|
||||||
|
<option name="url" value="https://mavensync.zkoss.org/eval" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="mvnrepository" />
|
||||||
|
<option name="name" value="mvnrepository" />
|
||||||
|
<option name="url" value="http://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jcenter" />
|
||||||
|
<option name="name" value="jcenter" />
|
||||||
|
<option name="url" value="https://jcenter.bintray.com" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.10.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-core:2.10.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.10.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.google.protobuf:protobuf-java:3.6.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.omertron:themoviedbapi:4.4">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/omertron/themoviedbapi/4.4/themoviedbapi-4.4.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/omertron/themoviedbapi/4.4/themoviedbapi-4.4-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/omertron/themoviedbapi/4.4/themoviedbapi-4.4-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: commons-codec:commons-codec:1.14">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.14/commons-codec-1.14.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.14/commons-codec-1.14-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.14/commons-codec-1.14-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: commons-fileupload:commons-fileupload:1.4">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: commons-io:commons-io:2.6">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.6/commons-io-2.6.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.6/commons-io-2.6-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.6/commons-io-2.6-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: commons-logging:commons-logging:1.2">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.2/commons-logging-1.2.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.2/commons-logging-1.2-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.2/commons-logging-1.2-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: javax.servlet:javax.servlet-api:3.1.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: mysql:mysql-connector-java:8.0.17">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/8.0.17/mysql-connector-java-8.0.17.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/8.0.17/mysql-connector-java-8.0.17-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/8.0.17/mysql-connector-java-8.0.17-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.commons:commons-lang3:3.7">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache-extras.beanshell:bsh:2.0b6">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache-extras/beanshell/bsh/2.0b6/bsh-2.0b6.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache-extras/beanshell/bsh/2.0b6/bsh-2.0b6-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache-extras/beanshell/bsh/2.0b6/bsh-2.0b6-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.httpcomponents:httpclient:4.5.3">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.httpcomponents:httpcore:4.4.6">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.ini4j:ini4j:0.5.4">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/ini4j/ini4j/0.5.4/ini4j-0.5.4.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/ini4j/ini4j/0.5.4/ini4j-0.5.4-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/ini4j/ini4j/0.5.4/ini4j-0.5.4-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.javassist:javassist:3.18.2-GA">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.2-GA/javassist-3.18.2-GA.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.2-GA/javassist-3.18.2-GA-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.2-GA/javassist-3.18.2-GA-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.slf4j:slf4j-api:1.7.25">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.yamj:api-common:2.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yamj/api-common/2.1/api-common-2.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yamj/api-common/2.1/api-common-2.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yamj/api-common/2.1/api-common-2.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.common:zcommon:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zcommon/9.5.0.1/zcommon-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zcommon/9.5.0.1/zcommon-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zcommon/9.5.0.1/zcommon-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.common:zel:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zel/9.5.0.1/zel-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zel/9.5.0.1/zel-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zel/9.5.0.1/zel-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.common:zweb:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zweb/9.5.0.1/zweb-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zweb/9.5.0.1/zweb-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/common/zweb/9.5.0.1/zweb-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.theme:atlantic:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/atlantic/9.5.0.1/atlantic-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/atlantic/9.5.0.1/atlantic-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/atlantic/9.5.0.1/atlantic-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.theme:breeze:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/breeze/9.5.0.1/breeze-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/breeze/9.5.0.1/breeze-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/breeze/9.5.0.1/breeze-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.theme:sapphire:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/sapphire/9.5.0.1/sapphire-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/sapphire/9.5.0.1/sapphire-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/sapphire/9.5.0.1/sapphire-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.theme:silvertail:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/silvertail/9.5.0.1/silvertail-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/silvertail/9.5.0.1/silvertail-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/theme/silvertail/9.5.0.1/silvertail-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zhtml:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zhtml/9.5.0.1/zhtml-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zhtml/9.5.0.1/zhtml-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zhtml/9.5.0.1/zhtml-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zk:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zk/9.5.0.1/zk-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zk/9.5.0.1/zk-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zk/9.5.0.1/zk-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zkbind:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkbind/9.5.0.1/zkbind-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkbind/9.5.0.1/zkbind-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkbind/9.5.0.1/zkbind-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zkplus:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkplus/9.5.0.1/zkplus-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkplus/9.5.0.1/zkplus-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkplus/9.5.0.1/zkplus-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zkwebfragment:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkwebfragment/9.5.0.1/zkwebfragment-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkwebfragment/9.5.0.1/zkwebfragment-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zkwebfragment/9.5.0.1/zkwebfragment-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss.zk:zul:9.5.0.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zul/9.5.0.1/zul-9.5.0.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zul/9.5.0.1/zul-9.5.0.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zk/zul/9.5.0.1/zul-9.5.0.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.zkoss:zsoup:1.8.2.5">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zsoup/1.8.2.5/zsoup-1.8.2.5.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zsoup/1.8.2.5/zsoup-1.8.2.5-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/zkoss/zsoup/1.8.2.5/zsoup-1.8.2.5-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
Generated
+11
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK" />
|
||||||
|
</project>
|
||||||
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/multimedia.iml" filepath="$PROJECT_DIR$/multimedia.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -41,5 +41,6 @@
|
|||||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
|
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
|
||||||
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
|
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
|
||||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.7" level="project" />
|
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.7" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.ini4j:ini4j:0.5.4" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
@@ -144,6 +144,13 @@
|
|||||||
<artifactId>silvertail</artifactId>
|
<artifactId>silvertail</artifactId>
|
||||||
<version>${zk.version}</version>
|
<version>${zk.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!--
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.zkoss.themepack</groupId>
|
||||||
|
<artifactId>theme-pack</artifactId>
|
||||||
|
<version>${zk.version}</version>
|
||||||
|
</dependency>
|
||||||
|
-->
|
||||||
<!--
|
<!--
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>info.movito</groupId>
|
<groupId>info.movito</groupId>
|
||||||
@@ -157,6 +164,12 @@
|
|||||||
<artifactId>themoviedbapi</artifactId>
|
<artifactId>themoviedbapi</artifactId>
|
||||||
<version>4.4</version>
|
<version>4.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.ini4j/ini4j -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.ini4j</groupId>
|
||||||
|
<artifactId>ini4j</artifactId>
|
||||||
|
<version>0.5.4</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.artifactId}</finalName>
|
<finalName>${project.artifactId}</finalName>
|
||||||
|
|||||||
@@ -1,18 +1,21 @@
|
|||||||
package at.windesign.application.main;
|
package at.windesign.application.main;
|
||||||
|
|
||||||
|
import jdk.internal.event.Event;
|
||||||
import org.zkoss.lang.Library;
|
import org.zkoss.lang.Library;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.ForwardEvent;
|
||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
import org.ini4j.Ini;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
public class indexForwardComposer extends GenericForwardComposer<Component>
|
public class indexForwardComposer extends GenericForwardComposer<Component>
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Wire
|
@Wire
|
||||||
private Window mainWindow;
|
private Window mainWindow;
|
||||||
@@ -31,23 +34,34 @@ public class indexForwardComposer extends GenericForwardComposer<Component>
|
|||||||
{
|
{
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
String redir = "";
|
int tabIndex = 0;
|
||||||
|
|
||||||
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
|
if(iniFile.exists())
|
||||||
|
{
|
||||||
|
Ini ini = new Ini(iniFile);
|
||||||
|
tabIndex = Integer.parseInt(ini.get("main", "currentTab"));
|
||||||
|
}
|
||||||
|
|
||||||
|
tabbox.setSelectedIndex(tabIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onSelect$tabbox(ForwardEvent fe)
|
||||||
|
{
|
||||||
|
int index = tabbox.getSelectedIndex();
|
||||||
|
Ini ini = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
File file = new File(System.getProperty("java.io.tmpdir") + "/redir");
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
BufferedReader reader = new BufferedReader(new FileReader(file));
|
if(!iniFile.exists())
|
||||||
redir = reader.readLine();
|
iniFile.createNewFile();
|
||||||
reader.close();
|
ini = new Ini(iniFile);
|
||||||
file.delete();
|
ini.put("main", "currentTab", index);
|
||||||
|
ini.store();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch(IOException e)
|
||||||
{
|
{
|
||||||
}
|
e.printStackTrace();
|
||||||
|
|
||||||
if(redir.compareToIgnoreCase("movie") == 0)
|
|
||||||
{
|
|
||||||
tabbox.setSelectedIndex(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package at.windesign.application.movie;
|
package at.windesign.application.movie;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.DriverManager;
|
import java.sql.DriverManager;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
@@ -24,12 +26,12 @@ public enum movieDataSource
|
|||||||
catch(ClassNotFoundException e)
|
catch(ClassNotFoundException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private movieDataSource()
|
private movieDataSource()
|
||||||
{
|
{
|
||||||
// drop the table if it exists
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Statement stmt = this.getStatement();
|
Statement stmt = this.getStatement();
|
||||||
@@ -38,6 +40,7 @@ public enum movieDataSource
|
|||||||
catch(SQLException e)
|
catch(SQLException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -74,6 +77,7 @@ public enum movieDataSource
|
|||||||
catch(SQLException e)
|
catch(SQLException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ public class movieDetailsForwardComposer extends GenericForwardComposer<Componen
|
|||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private final movieDataSource ds = movieDataSource.INSTANCE;
|
private final movieDataSource ds = movieDataSource.INSTANCE;
|
||||||
private int opacity = 80;
|
private int opacity = 100;
|
||||||
|
|
||||||
@Wire
|
@Wire
|
||||||
private Window detailsMovie;
|
private Window detailsMovie;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import com.omertron.themoviedbapi.model.discover.WithBuilder;
|
|||||||
import com.omertron.themoviedbapi.model.movie.MovieBasic;
|
import com.omertron.themoviedbapi.model.movie.MovieBasic;
|
||||||
import com.omertron.themoviedbapi.results.ResultList;
|
import com.omertron.themoviedbapi.results.ResultList;
|
||||||
import org.apache.http.client.HttpClient;
|
import org.apache.http.client.HttpClient;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
@@ -16,10 +17,7 @@ import org.zkoss.zk.ui.select.annotation.Listen;
|
|||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.*;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.io.PrintStream;
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -83,7 +81,7 @@ public class movieDiscoverSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Listen("onClick = #saveButton")
|
@Listen("onClick = #saveButton")
|
||||||
public void save() throws FileNotFoundException
|
public void save()
|
||||||
{
|
{
|
||||||
ListModelList resultListModel = (ListModelList) resultList.getModel();
|
ListModelList resultListModel = (ListModelList) resultList.getModel();
|
||||||
List<movieData> dataList = resultListModel.getInnerList();
|
List<movieData> dataList = resultListModel.getInnerList();
|
||||||
@@ -119,11 +117,6 @@ public class movieDiscoverSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
|
||||||
printStream.print("movie");
|
|
||||||
printStream.close();
|
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
discoverMovie.onClose();
|
discoverMovie.onClose();
|
||||||
|
|||||||
@@ -2,18 +2,33 @@ package at.windesign.application.movie;
|
|||||||
|
|
||||||
import at.windesign.application.serie.serieDataSource;
|
import at.windesign.application.serie.serieDataSource;
|
||||||
import at.windesign.application.serie.serieUtils;
|
import at.windesign.application.serie.serieUtils;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
||||||
import org.zkoss.zul.Listbox;
|
import org.zkoss.zul.*;
|
||||||
import org.zkoss.zul.Tab;
|
|
||||||
import org.zkoss.zul.Tabbox;
|
import java.io.File;
|
||||||
import org.zkoss.zul.Window;
|
|
||||||
|
|
||||||
public class movieListForwardComposer extends GenericForwardComposer
|
public class movieListForwardComposer extends GenericForwardComposer
|
||||||
{
|
{
|
||||||
protected Listbox movieList; // autowired
|
protected Listbox movieList; // autowired
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox useFilterMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterInitializedMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterInProgressMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterDoneMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox applyFilterMovie;
|
||||||
|
|
||||||
@Wire
|
@Wire
|
||||||
private Tab tabMovies;
|
private Tab tabMovies;
|
||||||
|
|
||||||
@@ -22,8 +37,33 @@ public class movieListForwardComposer extends GenericForwardComposer
|
|||||||
{
|
{
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
boolean bUseFilter = false;
|
||||||
|
boolean bFilterInitialize = false;
|
||||||
|
boolean bFilterInProgress = false;
|
||||||
|
boolean bFilterDone = false;
|
||||||
|
|
||||||
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
|
if(iniFile.exists())
|
||||||
|
{
|
||||||
|
Ini ini = new Ini(iniFile);
|
||||||
|
|
||||||
|
bUseFilter = Boolean.parseBoolean(ini.get("filter", "useFilterMovie"));
|
||||||
|
bFilterInitialize = Boolean.parseBoolean(ini.get("filter", "filterInitializedMovie"));
|
||||||
|
bFilterInProgress = Boolean.parseBoolean(ini.get("filter", "filterInProgressMovie"));
|
||||||
|
bFilterDone = Boolean.parseBoolean(ini.get("filter", "filterDoneMovie"));
|
||||||
|
|
||||||
|
useFilterMovie.setChecked(bUseFilter);
|
||||||
|
filterInitializedMovie.setChecked(bFilterInitialize);
|
||||||
|
filterInProgressMovie.setChecked(bFilterInProgress);
|
||||||
|
filterDoneMovie.setChecked(bFilterDone);
|
||||||
|
|
||||||
|
filterInitializedMovie.setDisabled(!bUseFilter);
|
||||||
|
filterInProgressMovie.setDisabled(!bUseFilter);
|
||||||
|
filterDoneMovie.setDisabled(!bUseFilter);
|
||||||
|
}
|
||||||
|
|
||||||
movieDataSource ds = movieDataSource.INSTANCE;
|
movieDataSource ds = movieDataSource.INSTANCE;
|
||||||
movieUtils.loadMovies(ds, movieList);
|
movieUtils.loadMovies(ds, movieList, bUseFilter, bFilterInitialize, bFilterInProgress, bFilterDone);
|
||||||
|
|
||||||
ds = movieDataSource.INSTANCE;
|
ds = movieDataSource.INSTANCE;
|
||||||
movieUtils.movieMetrics(tabMovies, ds);
|
movieUtils.movieMetrics(tabMovies, ds);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package at.windesign.application.movie;
|
package at.windesign.application.movie;
|
||||||
|
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
import org.zkoss.zk.ui.Path;
|
import org.zkoss.zk.ui.Path;
|
||||||
@@ -12,6 +13,8 @@ import org.zkoss.zk.ui.util.Clients;
|
|||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
import org.zkoss.zul.impl.LabelElement;
|
import org.zkoss.zul.impl.LabelElement;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@@ -20,6 +23,18 @@ public class movieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
@Wire
|
@Wire
|
||||||
private Listbox movieList;
|
private Listbox movieList;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox useFilterMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterInitializedMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterInProgressMovie;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterDoneMovie;
|
||||||
|
|
||||||
@Listen("onDoubleClick = #movieList")
|
@Listen("onDoubleClick = #movieList")
|
||||||
public void onClickMovieList()
|
public void onClickMovieList()
|
||||||
{
|
{
|
||||||
@@ -176,4 +191,47 @@ public class movieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Listen("onClick = #useFilterMovie")
|
||||||
|
public void onUseFilter()
|
||||||
|
{
|
||||||
|
if(useFilterMovie.isChecked())
|
||||||
|
{
|
||||||
|
filterInitializedMovie.setDisabled(false);
|
||||||
|
filterInProgressMovie.setDisabled(false);
|
||||||
|
filterDoneMovie.setDisabled(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
filterInitializedMovie.setDisabled(true);
|
||||||
|
filterInProgressMovie.setDisabled(true);
|
||||||
|
filterDoneMovie.setDisabled(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Listen("onClick = #applyFilterMovie")
|
||||||
|
public void onApplyFilter()
|
||||||
|
{
|
||||||
|
Ini ini = null;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
|
if(!iniFile.exists())
|
||||||
|
iniFile.createNewFile();
|
||||||
|
ini = new Ini(iniFile);
|
||||||
|
ini.put("main", "currentTab", 1);
|
||||||
|
ini.put("filter", "useFilterMovie", useFilterMovie.isChecked());
|
||||||
|
ini.put("filter", "filterInitializedMovie", filterInitializedMovie.isChecked());
|
||||||
|
ini.put("filter", "filterInProgressMovie", filterInProgressMovie.isChecked());
|
||||||
|
ini.put("filter", "filterDoneMovie", filterDoneMovie.isChecked());
|
||||||
|
|
||||||
|
ini.store();
|
||||||
|
|
||||||
|
Executions.sendRedirect("");
|
||||||
|
}
|
||||||
|
catch(IOException e)
|
||||||
|
{
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import com.omertron.themoviedbapi.model.movie.MovieInfo;
|
|||||||
import com.omertron.themoviedbapi.results.ResultList;
|
import com.omertron.themoviedbapi.results.ResultList;
|
||||||
import com.omertron.themoviedbapi.tools.HttpTools;
|
import com.omertron.themoviedbapi.tools.HttpTools;
|
||||||
import org.apache.http.client.HttpClient;
|
import org.apache.http.client.HttpClient;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
@@ -18,10 +19,7 @@ import org.zkoss.zk.ui.select.annotation.Listen;
|
|||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.*;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.io.PrintStream;
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
@@ -72,7 +70,7 @@ public class movieSearchSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Listen("onClick = #saveButton")
|
@Listen("onClick = #saveButton")
|
||||||
public void save() throws FileNotFoundException
|
public void save()
|
||||||
{
|
{
|
||||||
ListModelList resultListModel = (ListModelList) resultList.getModel();
|
ListModelList resultListModel = (ListModelList) resultList.getModel();
|
||||||
List<movieData> dataList = resultListModel.getInnerList();
|
List<movieData> dataList = resultListModel.getInnerList();
|
||||||
@@ -108,10 +106,21 @@ public class movieSearchSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
Ini ini = null;
|
||||||
printStream.print("movie");
|
try
|
||||||
printStream.close();
|
{
|
||||||
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
|
if(!iniFile.exists())
|
||||||
|
iniFile.createNewFile();
|
||||||
|
ini = new Ini(iniFile);
|
||||||
|
ini.put("main", "currentTab", "1");
|
||||||
|
ini.store();
|
||||||
|
}
|
||||||
|
catch(IOException e)
|
||||||
|
{
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package at.windesign.application.movie;
|
package at.windesign.application.movie;
|
||||||
|
|
||||||
import com.omertron.themoviedbapi.MovieDbException;
|
import com.omertron.themoviedbapi.MovieDbException;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
@@ -195,12 +196,6 @@ public class movieUpdateSelectorComposer extends SelectorComposer<Component>
|
|||||||
{
|
{
|
||||||
movieProgressLabel.setValue("Finish!");
|
movieProgressLabel.setValue("Finish!");
|
||||||
updateMovie.detach();
|
updateMovie.detach();
|
||||||
|
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
|
||||||
printStream.print("movie");
|
|
||||||
printStream.close();
|
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.TreeMap;
|
|||||||
|
|
||||||
public class movieUtils
|
public class movieUtils
|
||||||
{
|
{
|
||||||
static public void loadMovies(movieDataSource ds, Listbox moviesList)
|
static public void loadMovies(movieDataSource ds, Listbox moviesList, boolean useFilter, boolean filterInitialize, boolean filterInProgress, boolean filterDone)
|
||||||
{
|
{
|
||||||
List<movieData> movieList = new ArrayList<>();
|
List<movieData> movieList = new ArrayList<>();
|
||||||
SortedMap<Integer, Listheader> listHeader = new TreeMap<>();
|
SortedMap<Integer, Listheader> listHeader = new TreeMap<>();
|
||||||
@@ -134,8 +134,34 @@ public class movieUtils
|
|||||||
|
|
||||||
for(movieData movie : movieList)
|
for(movieData movie : movieList)
|
||||||
{
|
{
|
||||||
movieListModel.add(movie);
|
boolean insert = false;
|
||||||
movie.setModel(movieListModel);
|
|
||||||
|
if(useFilter)
|
||||||
|
{
|
||||||
|
if(filterInitialize)
|
||||||
|
{
|
||||||
|
if(movie.getState() == 1)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
if(filterInProgress)
|
||||||
|
{
|
||||||
|
if(movie.getState() == 2)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
if(filterDone)
|
||||||
|
{
|
||||||
|
if(movie.getState() == 3)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
insert = true;
|
||||||
|
|
||||||
|
if(insert)
|
||||||
|
{
|
||||||
|
movieListModel.add(movie);
|
||||||
|
movie.setModel(movieListModel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package at.windesign.application.serie;
|
package at.windesign.application.serie;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.DriverManager;
|
import java.sql.DriverManager;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
@@ -24,12 +26,12 @@ public enum serieDataSource
|
|||||||
catch(ClassNotFoundException e)
|
catch(ClassNotFoundException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private serieDataSource()
|
private serieDataSource()
|
||||||
{
|
{
|
||||||
// drop the table if it exists
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Statement stmt = this.getStatement();
|
Statement stmt = this.getStatement();
|
||||||
@@ -38,6 +40,7 @@ public enum serieDataSource
|
|||||||
catch(SQLException e)
|
catch(SQLException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -74,6 +77,7 @@ public enum serieDataSource
|
|||||||
catch(SQLException e)
|
catch(SQLException e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Messagebox.show(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ public class serieDetailsForwardComposer extends GenericForwardComposer<Componen
|
|||||||
Groupbox groupbox = new Groupbox();
|
Groupbox groupbox = new Groupbox();
|
||||||
groupbox.setId("groupboxSeason" + season.getSeasonNumber());
|
groupbox.setId("groupboxSeason" + season.getSeasonNumber());
|
||||||
groupbox.setStyle("opacity: " + opacity + "%;");
|
groupbox.setStyle("opacity: " + opacity + "%;");
|
||||||
groupbox.setContentStyle(" overflow: auto;");
|
groupbox.setContentStyle(" overflow: auto; background: rgba(255, 255, 255, 0.7)");
|
||||||
|
|
||||||
Caption caption = new Caption();
|
Caption caption = new Caption();
|
||||||
caption.setLabel("Season " + season.getSeasonNumber());
|
caption.setLabel("Season " + season.getSeasonNumber());
|
||||||
@@ -353,7 +353,8 @@ public class serieDetailsForwardComposer extends GenericForwardComposer<Componen
|
|||||||
String styleString = "display: grid; " +
|
String styleString = "display: grid; " +
|
||||||
"grid-template-areas: \"a ";
|
"grid-template-areas: \"a ";
|
||||||
|
|
||||||
for(int i = 0; i < maxEpisode; i++)
|
// for(int i = 0; i < maxEpisode; i++)
|
||||||
|
for(int key : episodes.keySet())
|
||||||
styleString += "a ";
|
styleString += "a ";
|
||||||
styleString = styleString + "\"; grid-auto-columns: max-content; grid-gap: 10px; justify-items: center;";
|
styleString = styleString + "\"; grid-auto-columns: max-content; grid-gap: 10px; justify-items: center;";
|
||||||
div.setStyle(styleString);
|
div.setStyle(styleString);
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import com.omertron.themoviedbapi.model.discover.WithBuilder;
|
|||||||
import com.omertron.themoviedbapi.model.tv.TVBasic;
|
import com.omertron.themoviedbapi.model.tv.TVBasic;
|
||||||
import com.omertron.themoviedbapi.results.ResultList;
|
import com.omertron.themoviedbapi.results.ResultList;
|
||||||
import org.apache.http.client.HttpClient;
|
import org.apache.http.client.HttpClient;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
@@ -16,10 +17,7 @@ import org.zkoss.zk.ui.select.annotation.Listen;
|
|||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.*;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.io.PrintStream;
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -118,11 +116,6 @@ public class serieDiscoverSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
|
||||||
printStream.print("serie");
|
|
||||||
printStream.close();
|
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
discoverSerie.onClose();
|
discoverSerie.onClose();
|
||||||
|
|||||||
@@ -3,11 +3,14 @@ package at.windesign.application.serie;
|
|||||||
|
|
||||||
import at.windesign.application.movie.movieDataSource;
|
import at.windesign.application.movie.movieDataSource;
|
||||||
import at.windesign.application.movie.movieUtils;
|
import at.windesign.application.movie.movieUtils;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Path;
|
import org.zkoss.zk.ui.Path;
|
||||||
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
import org.zkoss.zk.ui.util.GenericForwardComposer;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.sql.Statement;
|
import java.sql.Statement;
|
||||||
@@ -15,19 +18,59 @@ import java.util.*;
|
|||||||
|
|
||||||
public class serieListForwardComposer extends GenericForwardComposer
|
public class serieListForwardComposer extends GenericForwardComposer
|
||||||
{
|
{
|
||||||
protected Listbox seriesList; // autowired
|
protected Listbox seriesList; // autowired
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox useFilter;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterInitialized;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterInProgress;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox filterDone;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
protected Checkbox applyFilter;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception
|
public void doAfterCompose(Component comp) throws Exception
|
||||||
{
|
{
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
serieDataSource ds = serieDataSource.INSTANCE;
|
boolean bUseFilter = false;
|
||||||
serieUtils.loadSeries(ds, seriesList);
|
boolean bFilterInitialize = false;
|
||||||
|
boolean bFilterInProgress = false;
|
||||||
|
boolean bFilterDone = false;
|
||||||
|
|
||||||
Window mainWindow = (Window) Path.getComponent("/mainWindow");
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
Tab tabSeries = (Tab)mainWindow.getFellow("tabSeries");
|
if(iniFile.exists())
|
||||||
ds = serieDataSource.INSTANCE;
|
{
|
||||||
|
Ini ini = new Ini(iniFile);
|
||||||
|
|
||||||
|
bUseFilter = Boolean.parseBoolean(ini.get("filter", "useFilter"));
|
||||||
|
bFilterInitialize = Boolean.parseBoolean(ini.get("filter", "filterInitialized"));
|
||||||
|
bFilterInProgress = Boolean.parseBoolean(ini.get("filter", "filterInProgress"));
|
||||||
|
bFilterDone = Boolean.parseBoolean(ini.get("filter", "filterDone"));
|
||||||
|
|
||||||
|
useFilter.setChecked(bUseFilter);
|
||||||
|
filterInitialized.setChecked(bFilterInitialize);
|
||||||
|
filterInProgress.setChecked(bFilterInProgress);
|
||||||
|
filterDone.setChecked(bFilterDone);
|
||||||
|
|
||||||
|
filterInitialized.setDisabled(!bUseFilter);
|
||||||
|
filterInProgress.setDisabled(!bUseFilter);
|
||||||
|
filterDone.setDisabled(!bUseFilter);
|
||||||
|
}
|
||||||
|
|
||||||
|
serieDataSource ds = serieDataSource.INSTANCE;
|
||||||
|
serieUtils.loadSeries(ds, seriesList, bUseFilter, bFilterInitialize, bFilterInProgress, bFilterDone);
|
||||||
|
|
||||||
|
Window mainWindow = (Window) Path.getComponent("/mainWindow");
|
||||||
|
Tab tabSeries = (Tab) mainWindow.getFellow("tabSeries");
|
||||||
|
ds = serieDataSource.INSTANCE;
|
||||||
serieUtils.serieMetrics(tabSeries, ds);
|
serieUtils.serieMetrics(tabSeries, ds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package at.windesign.application.serie;
|
package at.windesign.application.serie;
|
||||||
|
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
import org.zkoss.zk.ui.Path;
|
import org.zkoss.zk.ui.Path;
|
||||||
@@ -11,6 +12,8 @@ import org.zkoss.zk.ui.select.annotation.Wire;
|
|||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
import org.zkoss.zul.impl.LabelElement;
|
import org.zkoss.zul.impl.LabelElement;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.SortedMap;
|
import java.util.SortedMap;
|
||||||
@@ -20,6 +23,18 @@ public class serieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
@Wire
|
@Wire
|
||||||
private Listbox seriesList;
|
private Listbox seriesList;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox useFilter;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterInitialized;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterInProgress;
|
||||||
|
|
||||||
|
@Wire
|
||||||
|
private Checkbox filterDone;
|
||||||
|
|
||||||
@Listen("onDoubleClick = #seriesList")
|
@Listen("onDoubleClick = #seriesList")
|
||||||
public void onClickSeriesList()
|
public void onClickSeriesList()
|
||||||
{
|
{
|
||||||
@@ -103,6 +118,8 @@ public class serieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
updateSerie();
|
updateSerie();
|
||||||
else if(label.compareToIgnoreCase("delete") == 0)
|
else if(label.compareToIgnoreCase("delete") == 0)
|
||||||
deleteSerie();
|
deleteSerie();
|
||||||
|
else if(label.compareToIgnoreCase("open download link...") == 0)
|
||||||
|
openDownloadLinkSerie();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAllProgressToDone()
|
public void setAllProgressToDone()
|
||||||
@@ -135,6 +152,25 @@ public class serieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
model.add(index, s);
|
model.add(index, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void openDownloadLinkSerie()
|
||||||
|
{
|
||||||
|
Listitem item = seriesList.getSelectedItem();
|
||||||
|
|
||||||
|
if(item == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
serieData s = (serieData) item.getValue();
|
||||||
|
String downloadLink = s.getSeriesDownload();
|
||||||
|
|
||||||
|
if(downloadLink == null)
|
||||||
|
downloadLink = "";
|
||||||
|
|
||||||
|
// if(downloadLink.length() == 0)
|
||||||
|
// return;
|
||||||
|
|
||||||
|
Executions.getCurrent().sendRedirect(downloadLink,"_blank");
|
||||||
|
}
|
||||||
|
|
||||||
public void updateSerie()
|
public void updateSerie()
|
||||||
{
|
{
|
||||||
Listitem item = seriesList.getSelectedItem();
|
Listitem item = seriesList.getSelectedItem();
|
||||||
@@ -157,8 +193,7 @@ public class serieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
mNew.setModel(model);
|
mNew.setModel(model);
|
||||||
model.remove(index);
|
model.remove(index);
|
||||||
model.add(index, mNew);
|
model.add(index, mNew);
|
||||||
}
|
} catch(Exception e)
|
||||||
catch(Exception e)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -173,28 +208,68 @@ public class serieListSelectorComposer extends SelectorComposer<Component>
|
|||||||
serieData s = (serieData) item.getValue();
|
serieData s = (serieData) item.getValue();
|
||||||
|
|
||||||
Messagebox.show("Are you sure to delete \"" + s.getSeriesName() + "\"?",
|
Messagebox.show("Are you sure to delete \"" + s.getSeriesName() + "\"?",
|
||||||
"Question", Messagebox.OK | Messagebox.CANCEL,
|
"Question", Messagebox.OK | Messagebox.CANCEL,
|
||||||
Messagebox.QUESTION,
|
Messagebox.QUESTION,
|
||||||
new org.zkoss.zk.ui.event.EventListener()
|
new org.zkoss.zk.ui.event.EventListener()
|
||||||
|
{
|
||||||
|
public void onEvent(Event e)
|
||||||
|
{
|
||||||
|
if("onOK".equals(e.getName()))
|
||||||
{
|
{
|
||||||
public void onEvent(Event e)
|
s.delete();
|
||||||
{
|
seriesList.removeItemAt(item.getIndex());
|
||||||
if("onOK".equals(e.getName()))
|
|
||||||
{
|
|
||||||
s.delete();
|
|
||||||
seriesList.removeItemAt(item.getIndex());
|
|
||||||
|
|
||||||
Window mainWindow = (Window) Path.getComponent("/mainWindow");
|
Window mainWindow = (Window) Path.getComponent("/mainWindow");
|
||||||
Tab tabSeries = (Tab) mainWindow.getFellow("tabSeries");
|
Tab tabSeries = (Tab) mainWindow.getFellow("tabSeries");
|
||||||
serieDataSource ds = serieDataSource.INSTANCE;
|
serieDataSource ds = serieDataSource.INSTANCE;
|
||||||
serieUtils.serieMetrics(tabSeries, ds);
|
serieUtils.serieMetrics(tabSeries, ds);
|
||||||
}
|
} else if("onCancel".equals(e.getName()))
|
||||||
else if("onCancel".equals(e.getName()))
|
{
|
||||||
{
|
return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
);
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Listen("onClick = #useFilter")
|
||||||
|
public void onUseFilter()
|
||||||
|
{
|
||||||
|
if(useFilter.isChecked())
|
||||||
|
{
|
||||||
|
filterInitialized.setDisabled(false);
|
||||||
|
filterInProgress.setDisabled(false);
|
||||||
|
filterDone.setDisabled(false);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
filterInitialized.setDisabled(true);
|
||||||
|
filterInProgress.setDisabled(true);
|
||||||
|
filterDone.setDisabled(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Listen("onClick = #applyFilter")
|
||||||
|
public void onApplyFilter()
|
||||||
|
{
|
||||||
|
Ini ini = null;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
File iniFile = new File(System.getProperty("java.io.tmpdir") + "/multimedia.ini");
|
||||||
|
if(!iniFile.exists())
|
||||||
|
iniFile.createNewFile();
|
||||||
|
ini = new Ini(iniFile);
|
||||||
|
ini.put("main", "currentTab", 0);
|
||||||
|
ini.put("filter", "useFilter", useFilter.isChecked());
|
||||||
|
ini.put("filter", "filterInitialized", filterInitialized.isChecked());
|
||||||
|
ini.put("filter", "filterInProgress", filterInProgress.isChecked());
|
||||||
|
ini.put("filter", "filterDone", filterDone.isChecked());
|
||||||
|
|
||||||
|
ini.store();
|
||||||
|
|
||||||
|
Executions.sendRedirect("");
|
||||||
|
} catch(IOException e)
|
||||||
|
{
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import com.omertron.themoviedbapi.model.movie.MovieInfo;
|
|||||||
import com.omertron.themoviedbapi.model.tv.TVBasic;
|
import com.omertron.themoviedbapi.model.tv.TVBasic;
|
||||||
import com.omertron.themoviedbapi.results.ResultList;
|
import com.omertron.themoviedbapi.results.ResultList;
|
||||||
import org.apache.http.client.HttpClient;
|
import org.apache.http.client.HttpClient;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
import org.yamj.api.common.http.SimpleHttpClientBuilder;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
@@ -17,10 +18,7 @@ import org.zkoss.zk.ui.select.annotation.Listen;
|
|||||||
import org.zkoss.zk.ui.select.annotation.Wire;
|
import org.zkoss.zk.ui.select.annotation.Wire;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.*;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.io.PrintStream;
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -101,11 +99,6 @@ public class serieSearchSelectorComposer extends SelectorComposer<Component>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
|
||||||
printStream.print("serie");
|
|
||||||
printStream.close();
|
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
searchSerie.onClose();
|
searchSerie.onClose();
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package at.windesign.application.serie;
|
package at.windesign.application.serie;
|
||||||
|
|
||||||
import com.omertron.themoviedbapi.MovieDbException;
|
import com.omertron.themoviedbapi.MovieDbException;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Execution;
|
import org.zkoss.zk.ui.Execution;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
@@ -217,12 +218,6 @@ public class serieUpdateSelectorComposer extends SelectorComposer<Component>
|
|||||||
{
|
{
|
||||||
serieProgressLabel.setValue("Finish!");
|
serieProgressLabel.setValue("Finish!");
|
||||||
updateSerie.detach();
|
updateSerie.detach();
|
||||||
|
|
||||||
OutputStream tempFile = new FileOutputStream(System.getProperty("java.io.tmpdir") + "/redir");
|
|
||||||
PrintStream printStream = new PrintStream(tempFile);
|
|
||||||
printStream.print("serie");
|
|
||||||
printStream.close();
|
|
||||||
|
|
||||||
Executions.sendRedirect("");
|
Executions.sendRedirect("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package at.windesign.application.serie;
|
package at.windesign.application.serie;
|
||||||
|
|
||||||
import at.windesign.application.movie.movieDataSource;
|
import at.windesign.application.movie.movieDataSource;
|
||||||
|
import org.ini4j.Ini;
|
||||||
import org.zkoss.zul.*;
|
import org.zkoss.zul.*;
|
||||||
|
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
@@ -17,7 +18,7 @@ public class serieUtils
|
|||||||
static private Integer stateWidth = 4;
|
static private Integer stateWidth = 4;
|
||||||
static private Integer stateHeight = 20;
|
static private Integer stateHeight = 20;
|
||||||
|
|
||||||
static public void loadSeries(serieDataSource ds, Listbox seriesList)
|
static public void loadSeries(serieDataSource ds, Listbox seriesList, boolean useFilter, boolean filterInitialize, boolean filterInProgress, boolean filterDone)
|
||||||
{
|
{
|
||||||
List<serieData> serieList = new ArrayList<>();
|
List<serieData> serieList = new ArrayList<>();
|
||||||
int minSeason = 0;
|
int minSeason = 0;
|
||||||
@@ -30,9 +31,9 @@ public class serieUtils
|
|||||||
Statement stmt = ds.getStatement();
|
Statement stmt = ds.getStatement();
|
||||||
ResultSet rs = stmt.executeQuery(
|
ResultSet rs = stmt.executeQuery(
|
||||||
"SELECT MIN(seasonNumber) minSeason," +
|
"SELECT MIN(seasonNumber) minSeason," +
|
||||||
" MAX(seasonNumber) maxSeason" +
|
" MAX(seasonNumber) maxSeason" +
|
||||||
" FROM season;"
|
" FROM season;"
|
||||||
);
|
);
|
||||||
|
|
||||||
while(rs.next())
|
while(rs.next())
|
||||||
{
|
{
|
||||||
@@ -83,68 +84,121 @@ public class serieUtils
|
|||||||
|
|
||||||
ResultSet rs = stmt.executeQuery(
|
ResultSet rs = stmt.executeQuery(
|
||||||
"SELECT serie.seriesID seriesID," +
|
"SELECT serie.seriesID seriesID," +
|
||||||
" serie.seriesName seriesName," +
|
" serie.seriesName seriesName," +
|
||||||
" serie.originalName seriesOriginalName," +
|
//OPTIMIZE " serie.originalName seriesOriginalName," +
|
||||||
" serie.backdropPath seriesBackdrop," +
|
" serie.backdropPath seriesBackdrop," +
|
||||||
" serie.createdBy seriesCreatedBy," +
|
//OPTIMIZE " serie.createdBy seriesCreatedBy," +
|
||||||
" serie.homepage seriesHomepage," +
|
//OPTIMIZE " serie.homepage seriesHomepage," +
|
||||||
" serie.lastAired seriesLastAired," +
|
//OPTIMIZE " serie.lastAired seriesLastAired," +
|
||||||
" serie.languages seriesLanguages," +
|
//OPTIMIZE " serie.languages seriesLanguages," +
|
||||||
" serie.networks seriesNetworks," +
|
//OPTIMIZE " serie.networks seriesNetworks," +
|
||||||
" serie.nrEpisodes seriesNrEpisodes," +
|
" serie.nrEpisodes seriesNrEpisodes," +
|
||||||
" serie.nrSeasons seriesNrSeasons," +
|
" serie.nrSeasons seriesNrSeasons," +
|
||||||
" serie.originCountries seriesOriginCountries," +
|
" serie.originCountries seriesOriginCountries," +
|
||||||
" serie.originalLanguage seriesOriginalLanguage," +
|
//OPTIMIZE " serie.originalLanguage seriesOriginalLanguage," +
|
||||||
" serie.popularity seriesPopularity," +
|
//OPTIMIZE " serie.popularity seriesPopularity," +
|
||||||
" serie.posterPath seriesPoster," +
|
//OPTIMIZE " serie.posterPath seriesPoster," +
|
||||||
" serie.productionCompanies seriesProductionCompanies," +
|
" serie.productionCompanies seriesProductionCompanies," +
|
||||||
" serie.type seriesType," +
|
//OPTIMIZE " serie.type seriesType," +
|
||||||
" serie.voteAverage seriesVoteAverage," +
|
//OPTIMIZE " serie.voteAverage seriesVoteAverage," +
|
||||||
" serie.voteCount seriesVoteCount," +
|
//OPTIMIZE " serie.voteCount seriesVoteCount," +
|
||||||
" serie.overview seriesOverview," +
|
" serie.overview seriesOverview," +
|
||||||
" serie.firstAired seriesFirstAired," +
|
" serie.firstAired seriesFirstAired," +
|
||||||
" serie.cast seriesCast," +
|
" serie.cast seriesCast," +
|
||||||
" serie.crew seriesCrew," +
|
" serie.crew seriesCrew," +
|
||||||
" serie.genre seriesGenre," +
|
" serie.genre seriesGenre," +
|
||||||
" serie.imdbid seriesIMDBID," +
|
//OPTIMIZE " serie.imdbid seriesIMDBID," +
|
||||||
" serie.freebasemid seriesFreebaseMID," +
|
//OPTIMIZE " serie.freebasemid seriesFreebaseMID," +
|
||||||
" serie.freebaseid seriesFreebaseID," +
|
//OPTIMIZE " serie.freebaseid seriesFreebaseID," +
|
||||||
" serie.tvdbid seriesTVDBID," +
|
//OPTIMIZE " serie.tvdbid seriesTVDBID," +
|
||||||
" serie.tvrageid seriesTVRageID," +
|
//OPTIMIZE " serie.tvrageid seriesTVRageID," +
|
||||||
" serie.status seriesStatus," +
|
" serie.status seriesStatus," +
|
||||||
" serie.download seriesDownload," +
|
" serie.download seriesDownload," +
|
||||||
" serie.localPath seriesLocalPath," +
|
" serie.localPath seriesLocalPath," +
|
||||||
" serie.resolution seriesResolution," +
|
" serie.resolution seriesResolution," +
|
||||||
" serie.cliffhanger seriesCliffhanger," +
|
" serie.cliffhanger seriesCliffhanger," +
|
||||||
" season._id season_ID," +
|
//OPTIMIZE " season._id season_ID," +
|
||||||
" IF(IFNULL(season.airDate, '1900-01-01') = '','1900-01-01', IFNULL(season.airDate, '1900-01-01')) seasonAirDate," +
|
//OPTIMIZE " IF(IFNULL(season.airDate, '1900-01-01') = '','1900-01-01', IFNULL(season.airDate, '1900-01-01')) seasonAirDate," +
|
||||||
" season.name seasonName," +
|
//OPTIMIZE " season.name seasonName," +
|
||||||
" season.overview seasonOverview," +
|
//OPTIMIZE " season.overview seasonOverview," +
|
||||||
" season.id seasonID," +
|
" season.id seasonID," +
|
||||||
" season.posterPath seasonPosterPath," +
|
//OPTIMIZE " season.posterPath seasonPosterPath," +
|
||||||
" season.seasonNumber seasonNumber," +
|
" season.seasonNumber seasonNumber," +
|
||||||
" episode.id episodeID," +
|
" episode.id episodeID," +
|
||||||
" episode.name episodeName," +
|
//OPTIMIZE " episode.name episodeName," +
|
||||||
" episode.episodeNumber episodeNumber," +
|
" episode.episodeNumber episodeNumber," +
|
||||||
" IF(IFNULL(episode.airDate, '1900-01-01') = '','1900-01-01', IFNULL(episode.airDate, '1900-01-01')) episodeAirDate," +
|
//OPTIMIZE " IF(IFNULL(episode.airDate, '1900-01-01') = '','1900-01-01', IFNULL(episode.airDate, '1900-01-01')) episodeAirDate," +
|
||||||
" episode.guestStars episodeGuestStars," +
|
//OPTIMIZE " episode.guestStars episodeGuestStars," +
|
||||||
" episode.overview episodeOverview," +
|
//OPTIMIZE " episode.overview episodeOverview," +
|
||||||
" episode.productioncode episodeProductionCode," +
|
//OPTIMIZE " episode.productioncode episodeProductionCode," +
|
||||||
" episode.stillPath episodeStillPath," +
|
//OPTIMIZE " episode.stillPath episodeStillPath," +
|
||||||
" episode.voteAverage episodeVoteAverage," +
|
//OPTIMIZE " episode.voteAverage episodeVoteAverage," +
|
||||||
" episode.voteCount episodeVoteCount," +
|
//OPTIMIZE " episode.voteCount episodeVoteCount," +
|
||||||
" episode.crew episodeCrew," +
|
//OPTIMIZE " episode.crew episodeCrew," +
|
||||||
" episode.state episodeState" +
|
" episode.state episodeState" +
|
||||||
" FROM serie" +
|
" FROM serie" +
|
||||||
" LEFT JOIN season ON serie.seriesID = season.seriesID" +
|
" JOIN season ON (season.seasonNumber != 0 AND serie.seriesID = season.seriesID)" +
|
||||||
" LEFT JOIN episode ON serie.seriesID = episode.seriesID AND season.seasonNumber = episode.seasonNumber" +
|
" JOIN episode ON (episode.episodeNumber IS NOT NULL AND episode.state IS NOT NULL AND serie.seriesID = episode.seriesID AND season.seasonNumber = episode.seasonNumber)" +
|
||||||
" WHERE (season.seasonNumber != 0 AND episode.episodeNumber IS NOT NULL) OR" +
|
" WHERE serie.seriesID < 1000000" +
|
||||||
" serie.seriesID >= 1000000" +
|
" UNION" +
|
||||||
" ORDER BY serie.seriesName," +
|
" SELECT serie.seriesID seriesID," +
|
||||||
" serie.firstAired," +
|
" serie.seriesName seriesName," +
|
||||||
" season.seasonNumber," +
|
//OPTIMIZE " serie.originalName seriesOriginalName," +
|
||||||
" episode.episodeNumber;"
|
" serie.backdropPath seriesBackdrop," +
|
||||||
);
|
//OPTIMIZE " serie.createdBy seriesCreatedBy," +
|
||||||
|
//OPTIMIZE " serie.homepage seriesHomepage," +
|
||||||
|
//OPTIMIZE " serie.lastAired seriesLastAired," +
|
||||||
|
//OPTIMIZE " serie.languages seriesLanguages," +
|
||||||
|
//OPTIMIZE " serie.networks seriesNetworks," +
|
||||||
|
" serie.nrEpisodes seriesNrEpisodes," +
|
||||||
|
" serie.nrSeasons seriesNrSeasons," +
|
||||||
|
" serie.originCountries seriesOriginCountries," +
|
||||||
|
//OPTIMIZE " serie.originalLanguage seriesOriginalLanguage," +
|
||||||
|
//OPTIMIZE " serie.popularity seriesPopularity," +
|
||||||
|
//OPTIMIZE " serie.posterPath seriesPoster," +
|
||||||
|
" serie.productionCompanies seriesProductionCompanies," +
|
||||||
|
//OPTIMIZE " serie.type seriesType," +
|
||||||
|
//OPTIMIZE " serie.voteAverage seriesVoteAverage," +
|
||||||
|
//OPTIMIZE " serie.voteCount seriesVoteCount," +
|
||||||
|
" serie.overview seriesOverview," +
|
||||||
|
" serie.firstAired seriesFirstAired," +
|
||||||
|
" serie.cast seriesCast," +
|
||||||
|
" serie.crew seriesCrew," +
|
||||||
|
" serie.genre seriesGenre," +
|
||||||
|
//OPTIMIZE " serie.imdbid seriesIMDBID," +
|
||||||
|
//OPTIMIZE " serie.freebasemid seriesFreebaseMID," +
|
||||||
|
//OPTIMIZE " serie.freebaseid seriesFreebaseID," +
|
||||||
|
//OPTIMIZE " serie.tvdbid seriesTVDBID," +
|
||||||
|
//OPTIMIZE " serie.tvrageid seriesTVRageID," +
|
||||||
|
" serie.status seriesStatus," +
|
||||||
|
" serie.download seriesDownload," +
|
||||||
|
" serie.localPath seriesLocalPath," +
|
||||||
|
" serie.resolution seriesResolution," +
|
||||||
|
" serie.cliffhanger seriesCliffhanger," +
|
||||||
|
//OPTIMIZE " season._id season_ID," +
|
||||||
|
//OPTIMIZE " IF(IFNULL(season.airDate, '1900-01-01') = '','1900-01-01', IFNULL(season.airDate, '1900-01-01')) seasonAirDate," +
|
||||||
|
//OPTIMIZE " season.name seasonName," +
|
||||||
|
//OPTIMIZE " season.overview seasonOverview," +
|
||||||
|
" 0 seasonID," +
|
||||||
|
//OPTIMIZE " season.posterPath seasonPosterPath," +
|
||||||
|
" 0 seasonNumber," +
|
||||||
|
" 0 episodeID," +
|
||||||
|
//OPTIMIZE " episode.name episodeName," +
|
||||||
|
" 0 episodeNumber," +
|
||||||
|
//OPTIMIZE " IF(IFNULL(episode.airDate, '1900-01-01') = '','1900-01-01', IFNULL(episode.airDate, '1900-01-01')) episodeAirDate," +
|
||||||
|
//OPTIMIZE " episode.guestStars episodeGuestStars," +
|
||||||
|
//OPTIMIZE " episode.overview episodeOverview," +
|
||||||
|
//OPTIMIZE " episode.productioncode episodeProductionCode," +
|
||||||
|
//OPTIMIZE " episode.stillPath episodeStillPath," +
|
||||||
|
//OPTIMIZE " episode.voteAverage episodeVoteAverage," +
|
||||||
|
//OPTIMIZE " episode.voteCount episodeVoteCount," +
|
||||||
|
//OPTIMIZE " episode.crew episodeCrew," +
|
||||||
|
" 0 episodeState" +
|
||||||
|
" FROM serie" +
|
||||||
|
" WHERE serie.seriesID >= 1000000" +
|
||||||
|
" ORDER BY seriesName," +
|
||||||
|
" seriesFirstAired;"
|
||||||
|
);
|
||||||
|
|
||||||
// fetch all events from database
|
// fetch all events from database
|
||||||
serieData serie = new serieData();
|
serieData serie = new serieData();
|
||||||
@@ -165,14 +219,14 @@ public class serieUtils
|
|||||||
if(serieID != oldSerieID)
|
if(serieID != oldSerieID)
|
||||||
{
|
{
|
||||||
oldSerieID = serieID;
|
oldSerieID = serieID;
|
||||||
serie = newSerie(rs);
|
serie = newSerie(rs);
|
||||||
serieList.add(serie);
|
serieList.add(serie);
|
||||||
|
|
||||||
oldSeasonID = seasonID;
|
oldSeasonID = seasonID;
|
||||||
season = newSeason(rs);
|
season = newSeason(rs);
|
||||||
|
|
||||||
oldEpisodeID = episodeID;
|
oldEpisodeID = episodeID;
|
||||||
episode = newEpisode(rs);
|
episode = newEpisode(rs);
|
||||||
|
|
||||||
switch(rs.getInt("episodeState"))
|
switch(rs.getInt("episodeState"))
|
||||||
{
|
{
|
||||||
@@ -190,10 +244,10 @@ public class serieUtils
|
|||||||
else if(seasonID != oldSeasonID)
|
else if(seasonID != oldSeasonID)
|
||||||
{
|
{
|
||||||
oldSeasonID = seasonID;
|
oldSeasonID = seasonID;
|
||||||
season = newSeason(rs);
|
season = newSeason(rs);
|
||||||
|
|
||||||
oldEpisodeID = episodeID;
|
oldEpisodeID = episodeID;
|
||||||
episode = newEpisode(rs);
|
episode = newEpisode(rs);
|
||||||
|
|
||||||
switch(rs.getInt("episodeState"))
|
switch(rs.getInt("episodeState"))
|
||||||
{
|
{
|
||||||
@@ -211,7 +265,7 @@ public class serieUtils
|
|||||||
else if(episodeID != oldEpisodeID)
|
else if(episodeID != oldEpisodeID)
|
||||||
{
|
{
|
||||||
oldEpisodeID = episodeID;
|
oldEpisodeID = episodeID;
|
||||||
episode = newEpisode(rs);
|
episode = newEpisode(rs);
|
||||||
|
|
||||||
switch(rs.getInt("episodeState"))
|
switch(rs.getInt("episodeState"))
|
||||||
{
|
{
|
||||||
@@ -252,8 +306,34 @@ public class serieUtils
|
|||||||
|
|
||||||
for(serieData serie : serieList)
|
for(serieData serie : serieList)
|
||||||
{
|
{
|
||||||
seriesListModel.add(serie);
|
boolean insert = false;
|
||||||
serie.setModel(seriesListModel);
|
|
||||||
|
if(useFilter)
|
||||||
|
{
|
||||||
|
if(filterInitialize)
|
||||||
|
{
|
||||||
|
if(serie.getStateInit() > 0)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
if(filterInProgress)
|
||||||
|
{
|
||||||
|
if(serie.getStateProg() > 0)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
if(filterDone)
|
||||||
|
{
|
||||||
|
if(serie.getStateDone() > 0 && serie.getStateInit() == 0 && serie.getStateProg() == 0)
|
||||||
|
insert = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
insert = true;
|
||||||
|
|
||||||
|
if(insert)
|
||||||
|
{
|
||||||
|
seriesListModel.add(serie);
|
||||||
|
serie.setModel(seriesListModel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = minSeason; i <= maxSeason; i++)
|
for(int i = minSeason; i <= maxSeason; i++)
|
||||||
@@ -269,16 +349,16 @@ public class serieUtils
|
|||||||
episodeData episode = new episodeData();
|
episodeData episode = new episodeData();
|
||||||
|
|
||||||
episode.setEpisodeID(rs.getInt("episodeID"));
|
episode.setEpisodeID(rs.getInt("episodeID"));
|
||||||
episode.setEpisodeName(rs.getString("episodeName"));
|
//OPTIMIZE episode.setEpisodeName(rs.getString("episodeName"));
|
||||||
episode.setEpisodeNumber(rs.getInt("episodeNumber"));
|
episode.setEpisodeNumber(rs.getInt("episodeNumber"));
|
||||||
episode.setEpisodeAirDate(rs.getDate("episodeAirDate"));
|
//OPTIMIZE episode.setEpisodeAirDate(rs.getDate("episodeAirDate"));
|
||||||
episode.setEpisodeGuestStars(rs.getString("episodeGuestStars"));
|
//OPTIMIZE episode.setEpisodeGuestStars(rs.getString("episodeGuestStars"));
|
||||||
episode.setEpisodeOverview(rs.getString("episodeOverview"));
|
//OPTIMIZE episode.setEpisodeOverview(rs.getString("episodeOverview"));
|
||||||
episode.setEpisodeProductionCode(rs.getString("episodeProductionCode"));
|
//OPTIMIZE episode.setEpisodeProductionCode(rs.getString("episodeProductionCode"));
|
||||||
episode.setEpisodeStillPath(rs.getString("episodeStillPath"));
|
//OPTIMIZE episode.setEpisodeStillPath(rs.getString("episodeStillPath"));
|
||||||
episode.setEpisodeVoteAverage(rs.getDouble("episodeVoteAverage"));
|
//OPTIMIZE episode.setEpisodeVoteAverage(rs.getDouble("episodeVoteAverage"));
|
||||||
episode.setEpisodeVoteCount(rs.getInt("episodeVoteCount"));
|
//OPTIMIZE episode.setEpisodeVoteCount(rs.getInt("episodeVoteCount"));
|
||||||
episode.setEpisodeCrew(rs.getString("episodeCrew"));
|
//OPTIMIZE episode.setEpisodeCrew(rs.getString("episodeCrew"));
|
||||||
episode.setEpisodeState(rs.getInt("episodeState"));
|
episode.setEpisodeState(rs.getInt("episodeState"));
|
||||||
|
|
||||||
return episode;
|
return episode;
|
||||||
@@ -288,12 +368,12 @@ public class serieUtils
|
|||||||
{
|
{
|
||||||
seasonData season = new seasonData();
|
seasonData season = new seasonData();
|
||||||
|
|
||||||
season.setSeason_ID(rs.getString("season_ID"));
|
//OPTIMIZE season.setSeason_ID(rs.getString("season_ID"));
|
||||||
season.setSeasonAirDate(rs.getDate("seasonAirDate"));
|
//OPTIMIZE season.setSeasonAirDate(rs.getDate("seasonAirDate"));
|
||||||
season.setSeasonName(rs.getString("seasonName"));
|
//OPTIMIZE season.setSeasonName(rs.getString("seasonName"));
|
||||||
season.setSeasonOverview(rs.getString("seasonOverview"));
|
//OPTIMIZE season.setSeasonOverview(rs.getString("seasonOverview"));
|
||||||
season.setSeasonID(rs.getInt("seasonID"));
|
season.setSeasonID(rs.getInt("seasonID"));
|
||||||
season.setSeasonPosterPath(rs.getString("seasonPosterPath"));
|
//OPTIMIZE season.setSeasonPosterPath(rs.getString("seasonPosterPath"));
|
||||||
season.setSeasonNumber(rs.getInt("seasonNumber"));
|
season.setSeasonNumber(rs.getInt("seasonNumber"));
|
||||||
|
|
||||||
return season;
|
return season;
|
||||||
@@ -305,33 +385,33 @@ public class serieUtils
|
|||||||
|
|
||||||
serie.setSeriesID(rs.getInt("seriesID"));
|
serie.setSeriesID(rs.getInt("seriesID"));
|
||||||
serie.setSeriesName(rs.getString("seriesName"));
|
serie.setSeriesName(rs.getString("seriesName"));
|
||||||
serie.setSeriesOriginalName(rs.getString("seriesOriginalName"));
|
//OPTIMIZE serie.setSeriesOriginalName(rs.getString("seriesOriginalName"));
|
||||||
serie.setSeriesBackdrop(rs.getString("seriesBackdrop"));
|
serie.setSeriesBackdrop(rs.getString("seriesBackdrop"));
|
||||||
serie.setSeriesCreatedBy(rs.getString("seriesCreatedBy"));
|
//OPTIMIZE serie.setSeriesCreatedBy(rs.getString("seriesCreatedBy"));
|
||||||
serie.setSeriesHomepage(rs.getString("seriesHomepage"));
|
//OPTIMIZE serie.setSeriesHomepage(rs.getString("seriesHomepage"));
|
||||||
serie.setSeriesLastAired(rs.getDate("seriesLastAired"));
|
//OPTIMIZE serie.setSeriesLastAired(rs.getDate("seriesLastAired"));
|
||||||
serie.setSeriesLanguages(rs.getString("seriesLanguages"));
|
//OPTIMIZE serie.setSeriesLanguages(rs.getString("seriesLanguages"));
|
||||||
serie.setSeriesNetworks(rs.getString("seriesNetworks"));
|
//OPTIMIZE serie.setSeriesNetworks(rs.getString("seriesNetworks"));
|
||||||
serie.setSeriesNrEpisodes(rs.getInt("seriesNrEpisodes"));
|
serie.setSeriesNrEpisodes(rs.getInt("seriesNrEpisodes"));
|
||||||
serie.setSeriesNrSeasons(rs.getInt("seriesNrSeasons"));
|
serie.setSeriesNrSeasons(rs.getInt("seriesNrSeasons"));
|
||||||
serie.setSeriesOriginCountries(rs.getString("seriesOriginCountries"));
|
serie.setSeriesOriginCountries(rs.getString("seriesOriginCountries"));
|
||||||
serie.setSeriesOriginalLanguage(rs.getString("seriesOriginalLanguage"));
|
//OPTIMIZE serie.setSeriesOriginalLanguage(rs.getString("seriesOriginalLanguage"));
|
||||||
serie.setSeriesPopularity(rs.getDouble("seriesPopularity"));
|
//OPTIMIZE serie.setSeriesPopularity(rs.getDouble("seriesPopularity"));
|
||||||
serie.setSeriesPoster(rs.getString("seriesPoster"));
|
//OPTIMIZE serie.setSeriesPoster(rs.getString("seriesPoster"));
|
||||||
serie.setSeriesProductionCompanies(rs.getString("seriesProductionCompanies"));
|
serie.setSeriesProductionCompanies(rs.getString("seriesProductionCompanies"));
|
||||||
serie.setSeriesType(rs.getString("seriesType"));
|
//OPTIMIZE serie.setSeriesType(rs.getString("seriesType"));
|
||||||
serie.setSeriesVoteAverage(rs.getDouble("seriesVoteAverage"));
|
//OPTIMIZE serie.setSeriesVoteAverage(rs.getDouble("seriesVoteAverage"));
|
||||||
serie.setSeriesVoteCount(rs.getInt("seriesVoteCount"));
|
//OPTIMIZE serie.setSeriesVoteCount(rs.getInt("seriesVoteCount"));
|
||||||
serie.setSeriesOverview(rs.getString("seriesOverview"));
|
serie.setSeriesOverview(rs.getString("seriesOverview"));
|
||||||
serie.setSeriesFirstAired(rs.getDate("seriesFirstAired"));
|
serie.setSeriesFirstAired(rs.getDate("seriesFirstAired"));
|
||||||
serie.setSeriesCast(rs.getString("seriesCast"));
|
serie.setSeriesCast(rs.getString("seriesCast"));
|
||||||
serie.setSeriesCrew(rs.getString("seriesCrew"));
|
serie.setSeriesCrew(rs.getString("seriesCrew"));
|
||||||
serie.setSeriesGenre(rs.getString("seriesGenre"));
|
serie.setSeriesGenre(rs.getString("seriesGenre"));
|
||||||
serie.setSeriesIMDBID(rs.getString("seriesIMDBID"));
|
//OPTIMIZE serie.setSeriesIMDBID(rs.getString("seriesIMDBID"));
|
||||||
serie.setSeriesFreebaseMID(rs.getString("seriesFreebaseMID"));
|
//OPTIMIZE serie.setSeriesFreebaseMID(rs.getString("seriesFreebaseMID"));
|
||||||
serie.setSeriesFreebaseID(rs.getString("seriesFreebaseID"));
|
//OPTIMIZE serie.setSeriesFreebaseID(rs.getString("seriesFreebaseID"));
|
||||||
serie.setSeriesTVDBID(rs.getString("seriesTVDBID"));
|
//OPTIMIZE serie.setSeriesTVDBID(rs.getString("seriesTVDBID"));
|
||||||
serie.setSeriesTVRageID(rs.getString("seriesTVRageID"));
|
//OPTIMIZE serie.setSeriesTVRageID(rs.getString("seriesTVRageID"));
|
||||||
serie.setSeriesStatus(rs.getString("seriesStatus"));
|
serie.setSeriesStatus(rs.getString("seriesStatus"));
|
||||||
serie.setSeriesDownload(rs.getString("seriesDownload"));
|
serie.setSeriesDownload(rs.getString("seriesDownload"));
|
||||||
serie.setSeriesLocalPath(rs.getString("seriesLocalPath"));
|
serie.setSeriesLocalPath(rs.getString("seriesLocalPath"));
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
|
|
||||||
<library-property>
|
<library-property>
|
||||||
<name>org.zkoss.theme.preferred</name>
|
<name>org.zkoss.theme.preferred</name>
|
||||||
<value>breeze_c</value> <!-- no whitespace in theme names -->
|
<!--<value>breeze_c</value> -->
|
||||||
|
<!--<value>breeze</value> -->
|
||||||
|
<value>atlantic</value>
|
||||||
|
<!--<value>sapphire</value> -->
|
||||||
|
<!--<value>silvertail</value> -->
|
||||||
</library-property>
|
</library-property>
|
||||||
</zk>
|
</zk>
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
<tabs id="tabs"
|
<tabs id="tabs"
|
||||||
width="120px"
|
width="120px"
|
||||||
>
|
>
|
||||||
<tab id="tabSeries" label="TV Show"/>
|
<tab id="tabSeries" forward="onSelect=onSelect()" label="TV Show"/>
|
||||||
<tab id="tabMovies" label="Movies"/>
|
<tab id="tabMovies" forward="onSelect=onSelect()" label="Movies"/>
|
||||||
</tabs>
|
</tabs>
|
||||||
<tabpanels>
|
<tabpanels>
|
||||||
<tabpanel>
|
<tabpanel>
|
||||||
|
|||||||
@@ -2,23 +2,46 @@
|
|||||||
vflex="true"
|
vflex="true"
|
||||||
apply="at.windesign.application.movie.movieListForwardComposer, at.windesign.application.movie.movieListSelectorComposer"
|
apply="at.windesign.application.movie.movieListForwardComposer, at.windesign.application.movie.movieListSelectorComposer"
|
||||||
>
|
>
|
||||||
<hbox width="100%" pack="stretch">
|
<vlayout>
|
||||||
<button width="100%"
|
<hbox width="100%" pack="stretch">
|
||||||
id="updateAll"
|
<button width="100%"
|
||||||
label="update all"
|
id="updateAll"
|
||||||
>
|
label="update all"
|
||||||
</button>
|
>
|
||||||
<button width="100%"
|
</button>
|
||||||
id="searchMovie"
|
<button width="100%"
|
||||||
label="search Movie"
|
id="searchMovie"
|
||||||
>
|
label="search Movie"
|
||||||
</button>
|
>
|
||||||
<button width="100%"
|
</button>
|
||||||
id="discoverMovie"
|
<button width="100%"
|
||||||
label="discover Movie"
|
id="discoverMovie"
|
||||||
>
|
label="discover Movie"
|
||||||
</button>
|
>
|
||||||
</hbox>
|
</button>
|
||||||
|
</hbox>
|
||||||
|
</vlayout>
|
||||||
|
<vlayout>
|
||||||
|
<hbox width="100%" align="center">
|
||||||
|
<button id="applyFilterMovie"
|
||||||
|
label="apply filter"/>
|
||||||
|
<checkbox id="useFilterMovie"
|
||||||
|
tabindex="1"
|
||||||
|
label="use Filter"/>
|
||||||
|
<checkbox id="filterInitializedMovie"
|
||||||
|
tabindex="2"
|
||||||
|
disabled="true"
|
||||||
|
label="initialized"/>
|
||||||
|
<checkbox id="filterInProgressMovie"
|
||||||
|
tabindex="3"
|
||||||
|
disabled="true"
|
||||||
|
label="in progress"/>
|
||||||
|
<checkbox id="filterDoneMovie"
|
||||||
|
tabindex="4"
|
||||||
|
disabled="true"
|
||||||
|
label="done"/>
|
||||||
|
</hbox>
|
||||||
|
</vlayout>
|
||||||
|
|
||||||
<listbox id="movieList"
|
<listbox id="movieList"
|
||||||
multiple="true"
|
multiple="true"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<groupbox id="overview"
|
<groupbox id="overview" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Overview</caption>
|
<caption>Overview</caption>
|
||||||
<label id="overviewLabel"
|
<label id="overviewLabel"
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
<hbox>
|
<hbox>
|
||||||
<groupbox id="castBox"
|
<groupbox id="castBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Cast</caption>
|
<caption>Cast</caption>
|
||||||
<listbox id="castList"
|
<listbox id="castList"
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="crewBox"
|
<groupbox id="crewBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Crew</caption>
|
<caption>Crew</caption>
|
||||||
<listbox id="crewList"
|
<listbox id="crewList"
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="genreBox"
|
<groupbox id="genreBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Genre</caption>
|
<caption>Genre</caption>
|
||||||
<listbox id="genreList"
|
<listbox id="genreList"
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="productionCompaniesBox"
|
<groupbox id="productionCompaniesBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Production Companies</caption>
|
<caption>Production Companies</caption>
|
||||||
<listbox id="productionCompaniesList"
|
<listbox id="productionCompaniesList"
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="productionCountriesBox"
|
<groupbox id="productionCountriesBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Production Companies</caption>
|
<caption>Production Companies</caption>
|
||||||
<listbox id="productionCountriesList"
|
<listbox id="productionCountriesList"
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
</groupbox>
|
</groupbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<groupbox id="settings"
|
<groupbox id="settings" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Settings</caption>
|
<caption>Settings</caption>
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,27 @@
|
|||||||
</button>
|
</button>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vlayout>
|
</vlayout>
|
||||||
|
<vlayout>
|
||||||
|
<hbox width="100%" align="center">
|
||||||
|
<button id="applyFilter"
|
||||||
|
label="apply filter"/>
|
||||||
|
<checkbox id="useFilter"
|
||||||
|
tabindex="1"
|
||||||
|
label="use Filter"/>
|
||||||
|
<checkbox id="filterInitialized"
|
||||||
|
tabindex="2"
|
||||||
|
disabled="true"
|
||||||
|
label="initialized"/>
|
||||||
|
<checkbox id="filterInProgress"
|
||||||
|
tabindex="3"
|
||||||
|
disabled="true"
|
||||||
|
label="in progress"/>
|
||||||
|
<checkbox id="filterDone"
|
||||||
|
tabindex="4"
|
||||||
|
disabled="true"
|
||||||
|
label="done"/>
|
||||||
|
</hbox>
|
||||||
|
</vlayout>
|
||||||
<listbox id="seriesList"
|
<listbox id="seriesList"
|
||||||
multiple="true"
|
multiple="true"
|
||||||
autopaging="true"
|
autopaging="true"
|
||||||
@@ -47,5 +68,6 @@
|
|||||||
</menu>
|
</menu>
|
||||||
<menuitem label="update"/>
|
<menuitem label="update"/>
|
||||||
<menuitem label="delete"/>
|
<menuitem label="delete"/>
|
||||||
|
<menuitem label="open download link..."/>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,120 +1,120 @@
|
|||||||
<window id="detailsSerie"
|
<window id="detailsSerie"
|
||||||
title=""
|
title=""
|
||||||
contentStyle="overflow:auto"
|
contentStyle="overflow:auto"
|
||||||
border="normal"
|
border="normal"
|
||||||
apply="at.windesign.application.serie.serieDetailsForwardComposer, at.windesign.application.serie.serieDetailsSelectorComposer"
|
apply="at.windesign.application.serie.serieDetailsForwardComposer, at.windesign.application.serie.serieDetailsSelectorComposer"
|
||||||
width="500px"
|
width="500px"
|
||||||
height="500px"
|
height="500px"
|
||||||
>
|
>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 4fr 4fr 1fr 1fr;
|
grid-template-columns: 4fr 4fr 1fr 1fr;
|
||||||
grid-gap: 10px;
|
grid-gap: 10px;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<groupbox id="overview"
|
<groupbox id="overview" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Overview</caption>
|
<caption>Overview</caption>
|
||||||
<label id="overviewLabel"
|
<label id="overviewLabel"
|
||||||
value=""/>
|
value=""/>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
<hbox>
|
<hbox>
|
||||||
<groupbox id="castBox"
|
<groupbox id="castBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Cast</caption>
|
<caption>Cast</caption>
|
||||||
<listbox id="castList"
|
<listbox id="castList"
|
||||||
height="200px"
|
height="200px"
|
||||||
>
|
>
|
||||||
<listhead>
|
<listhead>
|
||||||
<listheader label="Name"/>
|
<listheader label="Name"/>
|
||||||
<listheader label="Role"/>
|
<listheader label="Role"/>
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="crewBox"
|
<groupbox id="crewBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Crew</caption>
|
<caption>Crew</caption>
|
||||||
<listbox id="crewList"
|
<listbox id="crewList"
|
||||||
height="200px"
|
height="200px"
|
||||||
>
|
>
|
||||||
<listhead>
|
<listhead>
|
||||||
<listheader label="Name"/>
|
<listheader label="Name"/>
|
||||||
<listheader label="Job"/>
|
<listheader label="Job"/>
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="genreBox"
|
<groupbox id="genreBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Genre</caption>
|
<caption>Genre</caption>
|
||||||
<listbox id="genreList"
|
<listbox id="genreList"
|
||||||
height="200px"
|
height="200px"
|
||||||
>
|
>
|
||||||
<listhead>
|
<listhead>
|
||||||
<listheader label="Genre"/>
|
<listheader label="Genre"/>
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="productionCompaniesBox"
|
<groupbox id="productionCompaniesBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Production Companies</caption>
|
<caption>Production Companies</caption>
|
||||||
<listbox id="productionCompaniesList"
|
<listbox id="productionCompaniesList"
|
||||||
height="200px"
|
height="200px"
|
||||||
>
|
>
|
||||||
<listhead>
|
<listhead>
|
||||||
<listheader label="Production Company"/>
|
<listheader label="Production Company"/>
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox id="productionCountriesBox"
|
<groupbox id="productionCountriesBox" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Production Companies</caption>
|
<caption>Production Countries</caption>
|
||||||
<listbox id="productionCountriesList"
|
<listbox id="productionCountriesList"
|
||||||
height="200px"
|
height="200px"
|
||||||
>
|
>
|
||||||
<listhead>
|
<listhead>
|
||||||
<listheader label="Production Country"/>
|
<listheader label="Production Country"/>
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<groupbox id="settings"
|
<groupbox id="settings" contentStyle="background: rgba(255, 255, 255, 0.7)"
|
||||||
>
|
>
|
||||||
<caption>Settings</caption>
|
<caption>Settings</caption>
|
||||||
|
|
||||||
<nodom>
|
<nodom>
|
||||||
<div sclass="grid"
|
<div sclass="grid"
|
||||||
width="100%">
|
width="100%">
|
||||||
<label value="Download Link"/>
|
<label value="Download Link"/>
|
||||||
<label value="Local Path"/>
|
<label value="Local Path"/>
|
||||||
<label value="Resolution"/>
|
<label value="Resolution"/>
|
||||||
<label value="Cliffhanger"/>
|
<label value="Cliffhanger"/>
|
||||||
<textbox id="downloadLink"
|
<textbox id="downloadLink"
|
||||||
width="100%"
|
width="100%"
|
||||||
tabindex="1"/>
|
tabindex="1"/>
|
||||||
<textbox id="localPath"
|
<textbox id="localPath"
|
||||||
width="100%"
|
width="100%"
|
||||||
tabindex="2"/>
|
tabindex="2"/>
|
||||||
<combobox id="resolution"
|
<combobox id="resolution"
|
||||||
width="100%"
|
width="100%"
|
||||||
tabindex="3"/>
|
tabindex="3"/>
|
||||||
<checkbox id="cliffhanger"
|
<checkbox id="cliffhanger"
|
||||||
tabindex="4"/>
|
tabindex="4"/>
|
||||||
</div>
|
</div>
|
||||||
</nodom>
|
</nodom>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
<hbox id="buttons"
|
<hbox id="buttons"
|
||||||
width="100%"
|
width="100%"
|
||||||
pack="center">
|
pack="center">
|
||||||
<button id="saveButton" label="Save"/>
|
<button id="saveButton" label="Save"/>
|
||||||
<button id="cancelButton" label="Cancel"/>
|
<button id="cancelButton" label="Cancel"/>
|
||||||
<button id="updateButton" label="Update from TMDB"/>
|
<button id="updateButton" label="Update from TMDB"/>
|
||||||
<button id="deleteButton" label="Delete"/>
|
<button id="deleteButton" label="Delete"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</window>
|
</window>
|
||||||
Reference in New Issue
Block a user