merge #7584- Alterar vigencia por empresa

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@57577 d1611594-4594-4d17-8e1d-87c2c4800839
master
edgar 2016-07-05 13:42:03 +00:00
parent 5f0177a483
commit 959af01d87
1519 changed files with 127156 additions and 35 deletions

113
modelWeb/.classpath 100644
View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/antlr-2.7.6.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/aopalliance-1.0.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/asm-attrs.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/asm.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/aspectjrt-1.5.4.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/brazilutils-0.1.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/bsh.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/c3p0-0.9.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/com.springsource.org.aopalliance-1.0.0.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-beanutils-1.8.2.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-collections-3.2.1.jar" sourcepath="C:/Users/gleimar/Downloads/commons-collections-3.2.1-src.zip">
<attributes>
<attribute name="javadoc_location" value="jar:file:/C:/Users/gleimar/Downloads/commons-collections-3.2.1-bin.zip!/commons-collections-3.2.1/apidocs"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-digester-1.7.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-fileupload.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-io.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-lang.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/ehcache-1.2.3.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/fckez.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/iText-2.1.7.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/javassist-3.9.0.GA.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jcommon.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jdbc2_0-stdext.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/js.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jstl-1.1.2.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jta-1.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jta.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jxl.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/log4j-1.2.16.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/mvel.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/ognl.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/ojdbc6_g.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/portlet-api.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/quartz-all-1.6.5.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/silvergray.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/slf4j-api-1.6.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/slf4j-log4j12-1.6.1.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/standard-1.1.2.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/trg-search-0.4.3.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.aop-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.asm-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.aspects-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.beans-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.context-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.context.support-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.core-3.0.6.RELEASE.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/C:/Users/gleimar/Downloads/spring-framework-3.0.6.RELEASE-with-docs.zip!/spring-framework-3.0.6.RELEASE/docs/javadoc-api"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.expression-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.instrument-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.instrument.tomcat-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.jdbc-3.0.6.RELEASE.jar" sourcepath="C:/Users/gleimar/Downloads/spring-framework-3.0.6.RELEASE-with-docs.zip">
<attributes>
<attribute name="javadoc_location" value="jar:file:/C:/Users/gleimar/Downloads/spring-framework-3.0.6.RELEASE-with-docs.zip!/spring-framework-3.0.6.RELEASE/docs/javadoc-api"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.jms-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.orm-3.0.6.RELEASE.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/C:/Users/gleimar/Downloads/spring-framework-3.0.6.RELEASE-with-docs.zip!/spring-framework-3.0.6.RELEASE/docs"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.oxm-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.test-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.transaction-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.web-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.web.portlet-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/org.springframework.web.servlet-3.0.6.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-acl-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-aspects-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-cas-client-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-config-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-core-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-ldap-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-taglibs-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/spring-security-web-3.0.7.RELEASE.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/ejb3-persistence.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zcommon.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zcommons-el.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zhtml.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zk.jar" sourcepath="C:/Users/rjgw/.m2/repository/org/zkoss/zk/zk/5.0.9/zk-5.0.9-sources.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zkplus.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zul.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/zweb.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jfreechart-1.0.12.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/poi-3.8-20120326.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/LibreriasAdmVenta/jasperreports-5.1.0.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/hibernate-commons-annotations.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/hibernate-entitymanager.jar"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 6.x Runtime"/>
<classpathentry combineaccessrules="false" kind="src" path="/WSTotvs"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/xmlbeans-2.3.0.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-dbutils-1.6-javadoc.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-dbutils-1.6-sources.jar"/>
<classpathentry kind="lib" path="/LibreriasAdmVenta/commons-dbutils-1.6.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

48
modelWeb/.project 100644
View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>modelWeb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipselabs.tapiji.tools.core.I18NBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.zeroturnaround.eclipse.rebelXmlBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.babel.editor.rbeBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipselabs.tapiji.tools.core.nature</nature>
<nature>org.zeroturnaround.eclipse.jrebelNature</nature>
<nature>com.jaspersoft.studio.babel.editor.rbeNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,287 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
org.eclipse.jdt.core.formatter.blank_lines_before_field=0
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
org.eclipse.jdt.core.formatter.comment.format_block_comments=true
org.eclipse.jdt.core.formatter.comment.format_header=false
org.eclipse.jdt.core.formatter.comment.format_html=true
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
org.eclipse.jdt.core.formatter.comment.format_source_code=true
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.line_length=480
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
org.eclipse.jdt.core.formatter.compact_else_if=true
org.eclipse.jdt.core.formatter.continuation_indentation=2
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_empty_lines=false
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
org.eclipse.jdt.core.formatter.indentation.size=4
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
org.eclipse.jdt.core.formatter.join_wrapped_lines=false
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
org.eclipse.jdt.core.formatter.lineSplit=9999
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=tab
org.eclipse.jdt.core.formatter.tabulation.size=4
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true

View File

@ -0,0 +1,3 @@
eclipse.preferences.version=1
formatter_profile=_rjconsultores
formatter_settings_version=12

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="modelWeb">
<wb-resource deploy-path="/" source-path="/src"/>
</wb-module>
</project-modules>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="JBoss 6.x Runtime"/>
<fixed facet="jst.utility"/>
<fixed facet="java"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.utility" version="1.0"/>
</faceted-project>

View File

@ -0,0 +1,4 @@
#Fri Nov 04 10:48:34 BRST 2011
default.configuration=
eclipse.preferences.version=1
hibernate3.enabled=false

View File

@ -0,0 +1,3 @@
#Tue Oct 18 15:19:18 BRST 2011
eclipse.preferences.version=1
org.jboss.ide.eclipse.as.core.singledeployable.deployableList=

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.7.0-b147 (Oracle Corporation)

View File

@ -0,0 +1,62 @@
package com.rjconsultores.ventaboletos.constantes;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Constantes {
public static final Long FORMA_PAGO_DINHEIRO = new Long(1);
public static final Long FORMA_PAGO_RESERVA = new Long(94);
public static final Long FORMA_PAGO_NOTA_CREDITO = new Long(93);
public static final Long FORMA_PAGO_CREDITO = new Long(2);
public static final Long FORMA_PAGO_DEBITO = new Long(3);
public static final Long MVO_CANCEL_CANCELACION = new Long(31);
public static final Long MVO_CANCEL_DEVOLUCAO = new Long(32);
public static final Long MVO_CANCEL_DEVOLUCAO_CONTIGENCIA_50 = new Long(36);
public static final Long MVO_CANCEL_DEVOLUCAO_CONTIGENCIA_100 = new Long(37);
public static final Long MVO_CANCEL_TROCA = new Long(10);
public static final Long MVO_CANCEL_CHECKIN = new Long(27);
public static final Long MVO_CANCEL_TRANSFERENCIA = new Long(23);
public static final Long MVO_CANCEL_BOLETO_ENTREGADO = new Long(16);
public static final Long MVO_CANCEL_BOLETO_AGRUPAMENTO = new Long(17);
public static final Long MVO_CANCEL_VENDA_PACOTE = new Long(33);
public static Long TPV_DIRECTO_NORMAL = new Long(1);
public static Long TPV_MANUAL = new Long(3);
public static Long TPV_CALL_CENTER = new Long(5);
public static Long TPV_BOLETO_REMOTO = new Long(18);
public static Long TPV_TRANSFERENCIAS = new Long(8); // é a troca de passagens
public static Long TPV_CAMBIO_VIAJE = new Long(81); // é a transferência de passagens
public static Long TPV_CHECKIN_VIAGEM = new Long(41); // chekin boletos
public static Long TPV_BOLETO_ABIERTO = new Long(9);
public static Long TPV_CONFIRMA_ABIERTO = new Long(82);
public static Long TPV_RESERVACION_POR_INTERNET = new Long(16);
public static Long TPV_POR_INTERNET = new Long(12);
public static Long TPV_AGENCIA_WEB = new Long(19);
public static final Integer TIPO_OPERACION_CC_LQ = new Integer(1);
public static final Integer TIPO_OPERACION_CC_PAGO = new Integer(2);
public static Short TURNO_AUTOMATICO = new Short("99");
public static List<Integer> ORGAOS_CONCEDENTES_CALCULO_ARTESP = new ArrayList<Integer>(Arrays.asList(new Integer[]{21})) ;
public static List<Integer> ORGAOS_CONCEDENTES_CALCULO_ANTT = new ArrayList<Integer>(Arrays.asList(new Integer[]{3,9,15}));
public static String CLAVE_EDITAR_COMISSAO = "COM.RJCONSULTORES.ADMINISTRACION.PUNTOVENTA.EDITARCOMISSAO";
public static String CLAVE_REABRIR_MOVIMENTODIARIO = "COM.RJCONSULTORES.ADMINISTRACION.GUI.COMISSAO.MENU.CONFERENCIACOMISSAO.REABRIRMOVIMENTODIARIO";
public static String CLAVE_ENCERRAR_MOVIMENTODIARIO = "COM.RJCONSULTORES.ADMINISTRACION.GUI.COMISSAO.MENU.CONFERENCIACOMISSAO.ENCERRARMOVIMENTODIARIO";
public static final String UTF_8 = "UTF-8";
public static final int INTERVALO_FECHAMENTO_DIARIO = 1;
public static final int INTERVALO_FECHAMENTO_SEMANAL = 7;
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
public static final int INTERVALO_FECHAMENTO_QUINZENAL = 15;
public static final int INTERVALO_FECHAMENTO_MENSAL = 30;
}

View File

@ -0,0 +1,7 @@
package com.rjconsultores.ventaboletos.constantes;
public interface ConstantesTipoDesconto {
int DESCONTO_POR_NUMERO_DOCUMENTO = 1,
DESCONTO_POR_QUANTIDADE = 2,
TIPO_DESCONTO_NAO_INFORMADO = 0;
}

View File

@ -0,0 +1,8 @@
package com.rjconsultores.ventaboletos.constantes;
public interface ConstantesTipoValidaVenta {
String COD_AGENCIA = "A";
String COD_MOTORISTA = "M";
String AGENCIA = "AGENCIA";
String MOTORISTA = "MOTORISTA";
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.constantes;
public class ConstantesVendaEmbarcada {
public static final int VENDA_GERADA = 0;
public static final int VENDA_BOLETO_ERROR = 1;
public static final int VENDA_BOLETO_FORMAPAGO_ERROR = 2;
public static final int VENDA_CAJA_ERROR = 3;
public static final int VENDA_CAJA_FORMAPAGO_ERROR = 4;
}

View File

@ -0,0 +1,24 @@
package com.rjconsultores.ventaboletos.constantes;
public class DescricaoTipoVenta {
public static String getDescricaoTipoVenta(Integer tipoVentaId) {
if(Constantes.TPV_DIRECTO_NORMAL.intValue() == tipoVentaId) {
return "NORMAL";
} else if(Constantes.TPV_MANUAL.intValue() == tipoVentaId) {
return "MANUAL";
} else if(Constantes.TPV_BOLETO_REMOTO.intValue() == tipoVentaId) {
return "GAP";
} else if(Constantes.TPV_TRANSFERENCIAS.intValue() == tipoVentaId) {
return "TRANSFERENCIA";
} else if(Constantes.TPV_CAMBIO_VIAJE.intValue() == tipoVentaId) {
return "TROCA PASSAGEM";
} else if(Constantes.TPV_CHECKIN_VIAGEM.intValue() == tipoVentaId) {
return "CHECKIN VIAGEM";
} else if(Constantes.TPV_BOLETO_ABIERTO.intValue() == tipoVentaId) {
return "BOLETO ABERTO";
}
return "";
}
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.AbastoBoleto;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
public interface AbastoBoletoDAO extends GenericDAO<AbastoBoleto, Integer> {
public List<AbastoBoleto> buscaAbastoBoletoPorPuntoVenta(PuntoVenta puntoVenta);
}

View File

@ -0,0 +1,34 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.AbastoCentral;
import com.rjconsultores.ventaboletos.entidad.Aidf;
import com.rjconsultores.ventaboletos.entidad.Estacion;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
public interface AbastoCentralDAO extends GenericDAO<AbastoCentral, Long> {
public List<AbastoCentral> obtenerBilhetes(Aidf aidf, PuntoVenta origem);
public List<AbastoCentral> obtenerBilhetes(Aidf aidf, String formInicial, String formFinal, PuntoVenta origem);
public List<AbastoCentral> obtenerBilhetesPorPuntoVenta(PuntoVenta puntoVentaBilhetes);
public List<AbastoCentral> obtenerBilhetesPorPuntoVenta(PuntoVenta puntoVentaBilhetes, Estacion origem);
public List<AbastoCentral> obtenerBilhetesPorPuntoVenta(String formInicial, String formFinal, PuntoVenta puntoVentaBilhetes);
public List<AbastoCentral> obtenerBilhetesPorPuntoVenta(String numSerie, String formInicial, String formFinal, PuntoVenta puntoVentaBilhetes, Estacion origem);
public void actualizaBilhetes(List<AbastoCentral> bilhetes, PuntoVenta destino);
public void actualizaBilhetes(List<AbastoCentral> bilhetes, Estacion destino);
public void suscribirBilhetes(List<AbastoCentral> bilhetes);
public List<AbastoCentral> buscaBilhetesPorAidf(Aidf aidf);
public void gravaControleEstoqueMigracao(PuntoVenta puntoVenta, Date fecmodif, Integer usuarioId);
public List<String> buscarSeriesBilhetesPorEstacion(Estacion estacion);
public void borrarLosQueTienenAIDF(Aidf aidf);
}

View File

@ -0,0 +1,16 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.AbastoCentral;
import com.rjconsultores.ventaboletos.entidad.AbastoHisto;
import com.rjconsultores.ventaboletos.entidad.Aidf;
import com.rjconsultores.ventaboletos.entidad.TipoMovimentacion;
public interface AbastoHistoDAO extends GenericDAO<AbastoHisto, Long> {
public void grabaHistoricoBilhetes(List<AbastoCentral> bilhetes, TipoMovimentacion tipoMovimentacion);
public void borrarLosQueTienenAIDF(Aidf aidf);
}

View File

@ -0,0 +1,19 @@
package com.rjconsultores.ventaboletos.dao;
import java.sql.Connection;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Aidf;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.vo.aidf.AidfVo;
public interface AidfDAO extends GenericDAO<Aidf, Long> {
public List<Aidf> buscaAidfsPorEmpresas(List<Empresa> empresas);
public List<AidfVo> obtenerAidfFromSerieDocfiscal(String serie,String docfiscal, Connection conn);
public Boolean existeAidfComCodFiscalEEstado(Long idAidf, String docFiscal, Estado estado);
}

View File

@ -0,0 +1,7 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.AidfEspecie;
public interface AidfEspecieDAO extends GenericDAO<AidfEspecie, Integer> {
}

View File

@ -0,0 +1,7 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.AidfTipo;
public interface AidfTipoDAO extends GenericDAO<AidfTipo, Integer> {
}

View File

@ -0,0 +1,7 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.AjusteEventoExtra;
public interface AjusteEventoExtraDAO extends GenericDAO<AjusteEventoExtra,Integer>{
}

View File

@ -0,0 +1,24 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.AlertaCtrl;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.Corrida;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.Ruta;
import java.math.BigDecimal;
import java.util.List;
/**
*
* @author Administrador
*/
public interface AlertaCtrlDAO extends GenericDAO<AlertaCtrl, Integer> {
public List<AlertaCtrl> buscar(Parada origem, Parada destino, Ruta ruta, ClaseServicio claseServicio, Integer tiempoAlta, Integer tiempoBaja, BigDecimal percAlta, BigDecimal percBaja);
public List<AlertaCtrl> buscarCorrida(Corrida corrida);
}

View File

@ -0,0 +1,58 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.ArrayList;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.AliasServico;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.Ruta;
public interface AliasServicoDAO extends GenericDAO<AliasServico, Integer>{
/**
* Realiza a buscar com os filtros informados e restringindo o corridaId para is null
*
* @param origenId
* @param destinoId
* @param rutaId
* @return
*/
public List<AliasServico> buscarAliasSemCorrida(Integer origenId,Integer destinoId,Integer rutaId);
/**
* Realiza a busca com os filtro informados.
* @param origenId
* @param destinoId
* @param rutaId
* @param corridaId
* @return
*/
public List<AliasServico> buscar(Integer origenId,Integer destinoId,Integer rutaId,Integer corridaId);
/**
* Realiza a busca com os filtro informados.
* @param linas
* @param empresas
* @param tiposClasses
* @param orgaos
* @param prefixo
* @return
*/
public List<AliasServico> buscarPorLinhaEmpresa(List<Ruta> linhas, List<Empresa> empresas, List<ClaseServicio> tiposClasses, List<OrgaoConcedente> orgaos, String prefixo);
/**
* Realiza a busca com os filtro informados.
* @param origem
* @param destino
* @param linha
* @param idCorrida
* @return
*/
public AliasServico existe(Parada origem, Parada destino, Ruta linha, Integer idCorrida);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Articulo;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ArticuloDAO extends GenericDAO<Articulo, Integer> {
public List<Articulo> buscar(String descarticulo);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.AsientoExclusivo;
/**
*
* @author rodrigo
*/
public interface AsientoExclusivoDAO extends GenericDAO<AsientoExclusivo, Integer> {
}

View File

@ -0,0 +1,18 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Autobus;
import com.rjconsultores.ventaboletos.entidad.DiagramaAutobus;
import java.util.List;
/**
*
* @author Administrador
*/
public interface AutobusDAO extends GenericDAO<Autobus, Integer> {
public List<Autobus> buscar(String numautobus, DiagramaAutobus diagramaAutobus);
}

View File

@ -0,0 +1,10 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Autobus;
import com.rjconsultores.ventaboletos.entidad.AutobusDoc;
public interface AutobusDocDAO extends GenericDAO<AutobusDoc, Integer> {
public List<AutobusDoc> obtenerPorAutobus(Autobus autobus);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Autorizacion;
import java.util.List;
/**
*
* @author Administrador
*/
public interface AutorizacionDAO extends GenericDAO<Autorizacion, Integer> {
public List<Autorizacion> buscar(String nombautorizacion, String descautorizacion);
}

View File

@ -0,0 +1,19 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Autorizacion;
import com.rjconsultores.ventaboletos.entidad.AutorizacionPerfil;
import com.rjconsultores.ventaboletos.entidad.Perfil;
import java.util.List;
/**
*
* @author Administrador
*/
public interface AutorizacionPerfilDAO extends GenericDAO<AutorizacionPerfil, Integer> {
public List<AutorizacionPerfil> buscar(Autorizacion autorizacion, Perfil perfil);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Banco;
import java.util.List;
/**
*
* @author Rafius
*/
public interface BancoDAO extends GenericDAO<Banco, Integer> {
public List<Banco> buscar(Banco nombbanco);
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.vo.busquedapacotes.PacoteVO;
public interface BusquedaDatosTicketDAO {
public List<PacoteVO> buscaDatosTickets(Date fecInicial, Date fecFinal, Date fecVentaInicial, Date fecVentaFinal);
}

View File

@ -0,0 +1,19 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.exception.VendaEmbarcadaBoletoException;
import com.rjconsultores.ventaboletos.exception.VendaEmbarcadaBoletoFormapagoException;
import com.rjconsultores.ventaboletos.exception.VendaEmbarcadaCajaException;
import com.rjconsultores.ventaboletos.exception.VendaEmbarcadaCajaFormapagoException;
import com.rjconsultores.ventaboletos.vo.caja.CajaVO;
import com.rjconsultores.ventaboletos.vo.caja.UsuarioVO;
import com.rjconsultores.ventaboletos.vo.caja.VendaEmbarcadaVO;
public interface CajaDAO {
public List<CajaVO> buscarCajaFecha(boolean yaCerrado, Date fechaDesde, Date fechaHasta);
public List<UsuarioVO> buscarCajaCerrado(Date fecha, String cveusuario, String turnoid);
List<UsuarioVO> buscarUsuarioCerrado(Date fecha);
public void gerarVendaEmbarcada(VendaEmbarcadaVO vendaEmbarcada) throws VendaEmbarcadaBoletoException, VendaEmbarcadaBoletoFormapagoException, VendaEmbarcadaCajaException, VendaEmbarcadaCajaFormapagoException;
}

View File

@ -0,0 +1,14 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
import com.rjconsultores.ventaboletos.entidad.Ruta;
public interface CalcularPeajeDAO {
public List<Object> buscarCasetasPeajeWithinTramo(Ruta ruta);
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao);
public List<Ruta> buscarRutaWithCasetaPeajeFromOrgao(OrgaoConcedente oc);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CancelacionCargo;
/**
*
* @author Rafius
*/
public interface CancelacionCargoDAO extends GenericDAO<CancelacionCargo, Integer>{
}

View File

@ -0,0 +1,21 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CancelacionCtrl;
import com.rjconsultores.ventaboletos.entidad.Marca;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import java.util.Date;
import java.util.List;
/**
*
* @author Rafius
*/
public interface CancelacionCtrlDAO extends GenericDAO<CancelacionCtrl, Integer> {
public List<CancelacionCtrl> buscar(Date tiempoprevsalida, PuntoVenta puntoVenta, Parada paradaOrigem, Parada paradaDestino, Marca marca);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.CasetaPeaje;
public interface CasetaPeajeDAO extends GenericDAO<CasetaPeaje, Integer> {
List<CasetaPeaje> buscar(String casetaPeajeDesc);
List<CasetaPeaje> buscarTodosOrdenadoPorDescricao();
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaClase;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
/**
*
* @author Administrador
*/
public interface CategoriaClaseDAO extends GenericDAO<CategoriaClase, Integer> {
public CategoriaClase busquedaPoCategoriaCtrl(CategoriaCtrl categoriaCtrl);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaCorrida;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
/**
*
* @author Administrador
*/
public interface CategoriaCorridaDAO extends GenericDAO<CategoriaCorrida, Integer> {
public CategoriaCorrida busquedaPoCategoriaCtrl(CategoriaCtrl categoriaCtrl);
}

View File

@ -0,0 +1,15 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
/**
*
* @author Administrador
*/
public interface CategoriaCtrlDAO extends GenericDAO<CategoriaCtrl, Integer> {
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Categoria;
import java.util.List;
/**
*
* @author Administrador
*/
public interface CategoriaDAO extends GenericDAO<Categoria, Integer> {
public List<Categoria> buscar(String desccategoria);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaDescuento;
/**
*
* @author Administrador
*/
public interface CategoriaDescuentoDAO extends GenericDAO<CategoriaDescuento, Integer> {
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
import com.rjconsultores.ventaboletos.entidad.CategoriaMarca;
/**
*
* @author Administrador
*/
public interface CategoriaMarcaDAO extends GenericDAO<CategoriaMarca, Integer> {
public CategoriaMarca busquedaPoCategoriaCtrl(CategoriaCtrl categoriaCtrl);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
import com.rjconsultores.ventaboletos.entidad.CategoriaMercado;
/**
*
* @author Administrador
*/
public interface CategoriaMercadoDAO extends GenericDAO<CategoriaMercado, Integer> {
public CategoriaMercado busquedaPoCategoriaCtrl(CategoriaCtrl categoriaCtrl);
}

View File

@ -0,0 +1,10 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaCtrl;
import com.rjconsultores.ventaboletos.entidad.CategoriaOrgao;
public interface CategoriaOrgaoDAO extends GenericDAO<CategoriaOrgao, Integer> {
public CategoriaOrgao busquedaPorCategoriaCtrl(CategoriaCtrl categoriaCtrl);
}

View File

@ -0,0 +1,20 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaDescuento;
import com.rjconsultores.ventaboletos.entidad.CategoriaPeriodo;
import java.util.List;
/**
*
* @author Administrador
*/
public interface CategoriaPeriodoDAO extends GenericDAO<CategoriaPeriodo, Integer> {
public List<CategoriaPeriodo> buscarPeriodoIntervalo(CategoriaPeriodo cPeriodo);
public List<CategoriaPeriodo> obtenerPorCategoriaDescuento(CategoriaDescuento categoriaDescuento);
}

View File

@ -0,0 +1,22 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CategoriaTipoPtoVta;
import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta;
import java.util.List;
/**
*
* @author Desenvolvimento
*/
public interface CategoriaTipoPtoVtaDAO extends GenericDAO<CategoriaTipoPtoVta, Integer> {
public List<CategoriaTipoPtoVta> buscarPorPuntoVenta(TipoPuntoVenta tipoPuntoVenta);
public void borrarFisico(CategoriaTipoPtoVta cd);
}

View File

@ -0,0 +1,25 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Ciudad;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.Plaza;
import java.util.List;
/**
*
* @author MCosso
*/
public interface CiudadDAO extends GenericDAO<Ciudad, Integer> {
public List<Ciudad> buscar(String nombciudad, Estado estado, Plaza plaza);
public List<Ciudad> buscaLike(String strCiudad);
public List<Ciudad> buscaCodMun(Integer codMun, Estado estado);
public List<Ciudad> buscarPorEstado(Estado estado);
}

View File

@ -0,0 +1,22 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.ClaseservicioEquivalencia;
import com.rjconsultores.ventaboletos.entidad.ComisionistaExterno;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ClaseservicioEquivalenciaDAO
extends GenericDAO<ClaseservicioEquivalencia, Integer> {
public List<ClaseservicioEquivalencia> buscar(ClaseServicio ClaseServicio, ComisionistaExterno comisionistaExterno);
public List<ClaseservicioEquivalencia> buscarEquivalencia(ClaseservicioEquivalencia claseServicioEquivalencia);
}

View File

@ -0,0 +1,21 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ClasseServicoDAO extends GenericDAO<ClaseServicio, Integer> {
public List<ClaseServicio> buscarPorNome(String nomeClaseServicio);
public List<ClaseServicio> buscarTodosExceto(Integer ... idClase);
public List<ClaseServicio> buscarPorEmpresasDoUsuario (String idEmpresasUsuario);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Cliente;
import com.rjconsultores.ventaboletos.entidad.ClienteCurso;
import com.rjconsultores.ventaboletos.entidad.Curso;
public interface ClienteCursoDAO extends GenericDAO<ClienteCurso, Integer> {
public ClienteCurso buscarClienteCurso(Cliente cliente, Curso curso);
}

View File

@ -0,0 +1,15 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Cliente;
import com.rjconsultores.ventaboletos.entidad.Empresa;
public interface ClienteDAO extends GenericDAO<Cliente, Integer> {
public List<Cliente> buscar(String nombCliente);
public Cliente buscarPorNumeroFidelidade(Integer numeroFidelidade, Empresa empresa);
public List<Cliente> buscarPorDocumento(String documento);
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Cliente;
import com.rjconsultores.ventaboletos.entidad.ClienteDescuento;
public interface ClienteDescuentoDAO extends GenericDAO<ClienteDescuento, Integer>{
public List<ClienteDescuento> buscar(Cliente cliente);
}

View File

@ -0,0 +1,19 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Cliente;
import com.rjconsultores.ventaboletos.entidad.ClienteDireccion;
public interface ClienteDireccionDAO extends GenericDAO<ClienteDireccion, Integer> {
public List<ClienteDireccion> buscar(Integer clienteId);
public List<ClienteDireccion> buscar(Cliente cliente);
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ClientePacote;
import com.rjconsultores.ventaboletos.vo.busquedapacotes.ClientePacoteVO;
public interface ClientePacoteDAO extends GenericDAO<ClientePacote, Long> {
public List<ClientePacoteVO> busquedaDatosClientePacote(String cpfCnpj);
}

View File

@ -0,0 +1,10 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.CoeficienteTarifa;
public interface CoeficienteTarifaDAO extends GenericDAO<CoeficienteTarifa, Integer> {
public List<CoeficienteTarifa> buscar(String nomb);
}

View File

@ -0,0 +1,22 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Ciudad;
import com.rjconsultores.ventaboletos.entidad.Colonia;
import java.util.List;
/**
*
* @author Rafius
*/
public interface ColoniaDAO extends GenericDAO<Colonia, Integer> {
public List<Colonia> buscar(String desccolonia);
public List<Colonia> buscarPorCiudad(Ciudad ciudad);
public List<Colonia> buscaLike(String desccolonia);
public List<Colonia> buscarPorCodMun(Ciudad ciudad, String desccolonia);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ComisionistaExterno;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ComisionistaExternoDAO extends GenericDAO<ComisionistaExterno, Integer> {
public List<ComisionistaExterno> buscar(String desccomisionista);
}

View File

@ -0,0 +1,21 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Comissao;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.vo.comissao.BoletoComissao;
import com.rjconsultores.ventaboletos.vo.comissao.HistoricoComissao;
public interface ComissaoDAO extends GenericDAO<Comissao, Integer> {
public List<BoletoComissao> buscarReceitasComissoes(Integer puntoVentaId, Integer empresaId, Date periodo);
public Comissao buscaComissaoVigencia(Integer puntoVentaId, Integer empresaId, String competencia);
public List<HistoricoComissao> buscaHistoricoComissao(Integer puntoVentaId, Integer empresaId, Date periodoInicio, Date periodoFim);
public List<PuntoVenta> buscaPuntoVentasEmpresaComComissaoParametrizada(Integer empresaId);
}

View File

@ -0,0 +1,19 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CompaniaBancaria;
import java.util.List;
/**
*
* @author Rafius
*/
public interface CompaniaBancariaDAO extends GenericDAO<CompaniaBancaria, Integer> {
public List<CompaniaBancaria> buscar(CompaniaBancaria companiaBancaria);
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Conductor;
/**
*
* @author Administrador
*/
public interface ConductorDAO extends GenericDAO<Conductor, Integer> {
public Conductor buscar(String claveConductor, String contraSenha);
public Conductor buscarPorEmpleado(int empleadoId);
}

View File

@ -0,0 +1,14 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ConexionConf;
import com.rjconsultores.ventaboletos.entidad.ConexionCtrl;
public interface ConexionConfDAO extends GenericDAO<ConexionConf, Long> {
public ConexionConf buscar(Long conexionCtrlId, Integer numgrupo);
public List<ConexionConf> buscarPorConexionCtrl(ConexionCtrl conexionCtrl);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ConexionCtrl;
public interface ConexionCtrlDAO extends GenericDAO<ConexionCtrl, Long> {
public List<ConexionCtrl> buscarConexionesCtrl(Integer origenId, Integer destinoId);
}

View File

@ -0,0 +1,22 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Conexion;
import com.rjconsultores.ventaboletos.vo.conexion.ConexionVO;
public interface ConexionDAO extends GenericDAO<Conexion, Integer> {
/**
* Apaga os dados temporários das tabelas de conexion_temp e conexion_ctrl_temp
*
* @param usuarioId
*/
public void generarConexiones(Integer usuarioId);
public List<ConexionVO> buscarConexiones(Integer origenId, Integer destinoId);
public List<Conexion> buscarPorConexionCtrl(Long conexcionCtrlId);
public List<ConexionVO> buscarConexionesValidas();
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ConexionExcepcion;
public interface ConexionExcepcionDAO extends GenericDAO<ConexionExcepcion, Long> {
public List<ConexionExcepcion> obtenerConexionExcepcionsActivo(Long conexionctrlId);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ConexionExcepcionRuta;
public interface ConexionExcepcionRutaDAO extends GenericDAO<ConexionExcepcionRuta, Long> {
public List<ConexionExcepcionRuta> obtenerConexionExcepcionsActivo(Long conexionctrlId);
}

View File

@ -0,0 +1,16 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ConfRestricaoCanalVenta;
public interface ConfRestricaoCanalVentaDAO{
public ConfRestricaoCanalVenta obtenerID(Integer id);
public ConfRestricaoCanalVenta suscribir(ConfRestricaoCanalVenta entidad);
public ConfRestricaoCanalVenta actualizacion(ConfRestricaoCanalVenta entidad);
public void borrar(ConfRestricaoCanalVenta entidad);
public Long count(String campo, Object o);
}

View File

@ -0,0 +1,7 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ConfRestricaoExcecao;
public interface ConfRestricaoExcecaoDAO extends GenericDAO<ConfRestricaoExcecao, Integer> {
}

View File

@ -0,0 +1,6 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ConfRestricaoPtovta;
public interface ConfRestricaoPtovtaDAO extends GenericDAO<ConfRestricaoPtovta, Integer> {
}

View File

@ -0,0 +1,55 @@
package com.rjconsultores.ventaboletos.dao;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Conferencia;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.LogConferencia;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.exception.BusinessException;
import com.rjconsultores.ventaboletos.vo.comissao.BoletoComissao;
import com.rjconsultores.ventaboletos.vo.comissao.ConferenciaComissaoVO;
import com.rjconsultores.ventaboletos.vo.comissao.DiaConferenciaComissaoVO;
import com.rjconsultores.ventaboletos.vo.comissao.EventosFinanceirosVO;
import com.rjconsultores.ventaboletos.vo.comissao.LogConferenciaVO;
import com.rjconsultores.ventaboletos.vo.comissao.OcdVO;
public interface ConferenciaComissaoDAO extends GenericDAO<Conferencia, Long> {
public Conferencia suscribirOrActualizacion(Conferencia entidad);
public List<ConferenciaComissaoVO> carregarConferenciaComissao(String competencia, Empresa empresa, PuntoVenta puntoVenta) throws BusinessException;
public Conferencia confirmarChegadaMalote(Conferencia conferencia) throws BusinessException;
public Conferencia encerrarMovimentoDiario(Conferencia conferencia) throws BusinessException;
public List<EventosFinanceirosVO> carregarEventosFinanceiros(Conferencia conferencia) throws BusinessException;
public List<LogConferenciaVO> carregarLogConferencia(Conferencia conferencia) throws BusinessException;
public LogConferencia suscribirLogConferencia(LogConferencia logConferencia) throws BusinessException;
public void borrarLogConferencia(LogConferencia logConferencia) throws BusinessException;
public LogConferencia obtenerLogConferenciaID(Long logconferenciaId);
public List<BoletoComissao> carregarBilhetesComissao(Conferencia conferencia) throws BusinessException;
public List<OcdVO> carregarOcds(Conferencia conferencia) throws BusinessException;
public Conferencia reabrirMovimentoDiario(Conferencia conferencia) throws BusinessException;
public Conferencia obtenerConferenciaDataMovimento(Date datamovimento, Integer puntoventaId, Integer empresaId) throws BusinessException;
public List<LogConferencia> carregarLogConferencia(Long conferenciaId) throws BusinessException;
public boolean isConferenciaCompetenciaEncerrada(String competencia, Empresa empresa, PuntoVenta puntoVenta) throws BusinessException;
public BigDecimal carregarValorDepositoContaCorrente(Integer empresaId, Integer puntoventaId, Date datamovimento);
public DiaConferenciaComissaoVO carregarConferenciaRegistrada(Date datamovimento, Empresa empresa, PuntoVenta puntoVenta) throws BusinessException;
}

View File

@ -0,0 +1,24 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ConfigRestriccionPago;
import com.rjconsultores.ventaboletos.entidad.FormaPago;
import com.rjconsultores.ventaboletos.entidad.RestriccionPago;
import java.util.List;
import java.util.Map;
/**
*
* @author Administrador
*/
public interface ConfigRestriccionPagoDAO extends GenericDAO<ConfigRestriccionPago, Integer> {
public List<ConfigRestriccionPago> buscar(FormaPago formaPago,
RestriccionPago restriccionPago);
public Map<Integer,ConfigRestriccionPago> buscar(FormaPago formaPago);
}

View File

@ -0,0 +1,19 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Constante;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ConstanteDAO extends GenericDAO<Constante, Integer> {
public Constante buscarPorNomeConstante(String nomeConstante);
public List<Constante> buscar(String nombconstante);
}

View File

@ -0,0 +1,17 @@
package com.rjconsultores.ventaboletos.dao;
import java.math.BigDecimal;
import java.util.Date;
import com.rjconsultores.ventaboletos.entidad.ContaCorrentePtoVta;
import com.rjconsultores.ventaboletos.exception.BusinessException;
public interface ContaCorrenteAgenciaDAO extends GenericDAO<ContaCorrentePtoVta, Long> {
public ContaCorrentePtoVta gravarContaCorrente(Integer itemPuntoVentaId, String descOperacion, Date fecCorte, Integer usuarioId, Integer tipoOperacionCCId,
Integer empresaId, short turnoId, BigDecimal importeTotalTarifa, BigDecimal importeTotalPedagio, BigDecimal importeTotalTasaAbordaje,
BigDecimal importeTotalSeguro, BigDecimal importeTotalIngreso, BigDecimal importeTotalEgreso, BigDecimal importeTotalDevolucion,
BigDecimal importeTotalTransferencia, BigDecimal importeFinal, boolean corteAutomatico,
BigDecimal totalVentaSegOpcional, BigDecimal totalCancSegOpcional, BigDecimal importeTotalEfectivo ) throws BusinessException;
}

View File

@ -0,0 +1,17 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Convenio;
import java.util.List;
/**
*
* @author Administrador
*/
public interface ConvenioDAO extends GenericDAO<Convenio, Integer> {
public List<Convenio> buscar(String descconvenio, String cveconvenio);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ConvenioDet;
/**
*
* @author Administrador
*/
public interface ConvenioDetDAO extends GenericDAO<ConvenioDet, Integer> {
}

View File

@ -0,0 +1,23 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.CorridaCtrl;
import com.rjconsultores.ventaboletos.entidad.Marca;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.Ruta;
import java.util.Date;
/**
*
* @author Administrador
*/
public interface CorridaCtrlDAO extends GenericDAO<CorridaCtrl, Integer> {
public CorridaCtrl buscar(Ruta ruta, ClaseServicio claseServicio, Marca marca, Date horario, boolean pisoExtra);
public CorridaCtrl buscar(Integer corridaId, Parada origem, Parada destino, ClaseServicio claseServicio, Marca marca);
}

View File

@ -0,0 +1,90 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.Corrida;
import com.rjconsultores.ventaboletos.entidad.Corrida.Id;
import com.rjconsultores.ventaboletos.entidad.DiagramaAutobus;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.Marca;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.Ruta;
/**
*
* @author rodrigo
*/
public interface CorridaDAO extends GenericDAO<Corrida, Corrida.Id> {
/**
* Indica si existe una corrida de acuerdo el id
*
* No lleva en consideración el campo activo
*
* @param id
* @param dataGeracao
* @return
*/
public Boolean existe(Id id);
public List<Corrida> buscarPorAutobusCorridasFuturas(DiagramaAutobus diagramaAutobus);
public List<Corrida> buscarPorRolOperativoCorridasFuturas(DiagramaAutobus diagramaAutobus);
public List<Corrida> buscarPorFecCorrida(Date value);
public Long count(Ruta ruta);
public List<Corrida> verificarCorridaId(Integer corridaId);
public List<Corrida> buscarPorId(Integer idCorrida);
public List<Corrida> buscarFiltro(Parada ori, Parada des, Date hora, ClaseServicio cs);
/**
* Hace la b�squeda de corridas con distinct para: origen, destino, claseServicio,hora
*
* @param ori
* @param des
* @param horaSalidaInicio
* @param horaSalidaFin
* @param cs
* @param corridaId
* @return
*/
public List<Corrida> buscarDistinct(Parada ori, Parada des, Date horaSalidaInicio,
Date horaSalidaFin, ClaseServicio cs, Integer corridaId);
public boolean existe(Ruta ruta, Date dataGeracao, Date horario, ClaseServicio claseServicio,
Marca marca, boolean pisoExtra);
public boolean count(Parada origem, Parada destino, Date feccorrida, ClaseServicio claseServicio,
boolean pisoExtra);
/**
* Regresa la cantidad de corridas que fue generada hoy.
*
* @return
*/
public Long cantCorridaGeneradasHoy();
public List<Corrida> buscarGroupCorrridaId(Integer corridaId, Date dateInicio, Date dateFin);
public List<Corrida> buscarGroupCorrridaId(Integer corridaId, Integer origem, Integer destino,
Integer ruta, Integer numRuta, Date dateInicio, Date dateFin);
public void actualizaFecHusoFecVerano(Corrida corrida);
public void actualizaFecHusoFecVerano(List<Corrida> corridas);
public List<Corrida> buscarPorEstado(Estado estado, Date dataInicial);
List<Corrida> buscarPorEstado(Estado estado, Date dataInicial, Integer corridaId);
}

View File

@ -0,0 +1,16 @@
package com.rjconsultores.ventaboletos.dao;
import java.math.BigDecimal;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.CorridaTramo;
public interface CorridaTramoDAO extends GenericDAO<CorridaTramo, Integer> {
public List<CorridaTramo> obtenerTramoTarjetaEmitida();
public List<CorridaTramo> buscarTarjetaMesmaCorrida(CorridaTramo ct);
public BigDecimal buscarSumTarjetaMesmaCorrida(CorridaTramo ct);
}

View File

@ -0,0 +1,16 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CortesiaBeneficiario;
/**
*
* @author Shiro
*/
public interface CortesiaBeneficiarioDAO extends GenericDAO<CortesiaBeneficiario, Integer> {
}

View File

@ -0,0 +1,23 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Cortesia;
import com.rjconsultores.ventaboletos.entidad.Empleado;
import java.util.List;
/**
*
* @author Shiro
*/
public interface CortesiaDAO extends GenericDAO<Cortesia, Integer> {
public List<Cortesia> pesquisar(Empleado empleado);
public Cortesia buscar(Cortesia cortesia);
public List<Cortesia> buscarDplicidad(Cortesia cortesia);
}

View File

@ -0,0 +1,24 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.CortesiaDireccion;
import com.rjconsultores.ventaboletos.entidad.Marca;
import java.util.Date;
import java.util.List;
/**
*
* @author Shiro
*/
public interface CortesiaDireccionDAO extends GenericDAO<CortesiaDireccion, Integer> {
public List<CortesiaDireccion> pesquisar(Marca marca, ClaseServicio claseServicio, Date fecInicio, Date fecFinal);
public List<CortesiaDireccion> buscar(CortesiaDireccion cortesiaDireccion);
public List<CortesiaDireccion> buscarFolio(CortesiaDireccion cortesiaDireccion);
}

View File

@ -0,0 +1,20 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CuponConvenio;
import com.rjconsultores.ventaboletos.entidad.TipoConvenio;
import java.util.List;
/**
*
* @author Shiro
*/
public interface CuponConvenioDAO extends GenericDAO<CuponConvenio, Integer>{
public List<CuponConvenio> pesquisar(TipoConvenio tipoConvenio);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.CuponSecretaria;
/**
*
* @author Administrador
*/
public interface CuponSecretariaDAO extends GenericDAO<CuponSecretaria, Integer> {
}

View File

@ -0,0 +1,9 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Curso;
public interface CursoDAO extends GenericDAO<Curso, Integer> {
public List<Curso> buscar(String nomcurso);
}

View File

@ -0,0 +1,14 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.DepositoBancario;
/**
*
* @author Rafius
*/
public interface DepositoBancarioDAO extends GenericDAO<DepositoBancario, Integer> {
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.DescontoComissao;
public interface DescontoComissaoDAO extends GenericDAO<DescontoComissao, Long> {
public List<DescontoComissao> buscaDescontoComissao(Integer puntoVentaId, Integer empresaId, Date inicioPeriodo, Date fimPeriodo);
}

View File

@ -0,0 +1,23 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.AbastoBoleto;
import com.rjconsultores.ventaboletos.entidad.DetAbastoBoleto;
import com.rjconsultores.ventaboletos.entidad.Estacion;
public interface DetAbastoBoletoDAO extends GenericDAO<DetAbastoBoleto, Integer> {
public Long getSecuencia();
public List<DetAbastoBoleto> buscaDetAbastoBoletos(AbastoBoleto abastoBoleto);
public List<DetAbastoBoleto> buscaDetAbastoBoletos(Estacion origem, String numfolioinicial, String numfoliofinal, String numseriepreimpresa);
public void desativaDetAbastos(List<DetAbastoBoleto> detAbastoBoletos);
public List<DetAbastoBoleto> buscabDetAbastoBoletoAutomatico(Estacion estacion, String numseriepreimpresa);
public List<Object> buscabDetAbastoBoletoToVerifyIfAidfCanBeEditable(com.rjconsultores.ventaboletos.entidad.Aidf aidf);
}

View File

@ -0,0 +1,30 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.DetDiagramaAutobus;
/**
*
* @author Administrador
*/
public interface DetDiagramaAutobusDAO {
public List<DetDiagramaAutobus> obtenerTodos();
public DetDiagramaAutobus obtenerID(Short id);
public DetDiagramaAutobus suscribir(DetDiagramaAutobus entidad);
public DetDiagramaAutobus actualizacion(DetDiagramaAutobus entidad);
public void borrar(DetDiagramaAutobus entidad);
public Long count(String campo, Object o);
public DetDiagramaAutobus obtenerPorDiagramaAutobusAsiento(Integer diagramaAutobusId, String numAsiento);
}

View File

@ -0,0 +1,20 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.DiagramaAutobus;
import java.util.List;
/**
*
* @author Administrador
*/
public interface DiagramaAutobusDAO extends GenericDAO<DiagramaAutobus, Short> {
public List<DiagramaAutobus> buscar(String descDiagrama, Short maxparados,
Short cantasientos);
public List<DiagramaAutobus> buscar(String descDiagrama);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Division;
public interface DivisionDAO extends GenericDAO<Division, Integer> {
public List<Division> obtenerTodos();
}

View File

@ -0,0 +1,21 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.Empleado;
import java.util.List;
/**
*
* @author Shiro
*/
public interface EmpleadoDAO extends GenericDAO<Empleado, Integer>{
public List<Empleado> pesquisaClave(String empleadoClave);
public List<Empleado> pesquisaEmpresa(Integer empresaId);
}

View File

@ -0,0 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.EmpresaContaBancaria;
public interface EmpresaContaBancariaDAO {
public EmpresaContaBancaria suscribir(EmpresaContaBancaria entidad);
public EmpresaContaBancaria actualizacion(EmpresaContaBancaria entidad);
}

View File

@ -0,0 +1,67 @@
/*
// * To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.ComEmpCategoria;
import com.rjconsultores.ventaboletos.entidad.ComEmpConferencia;
import com.rjconsultores.ventaboletos.entidad.ComEmpFormapago;
import com.rjconsultores.ventaboletos.entidad.ComEmpTipoEventoExtra;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
/**
*
* @author Administrador
*/
public interface EmpresaDAO {
public List<Empresa> obtenerTodos();
public Empresa obtenerID(Integer id);
public Empresa suscribir(Empresa entidad);
public Empresa actualizacion(Empresa entidad);
public Long count(String campo,Object o);
public List<Empresa> buscarTodosExceto(List<Empresa> empresa,Integer... idEmpresa);
public List<Empresa> obtenerIndExternoFalse();
public List<Empresa> buscar(String nombempresa, Boolean indExterna, Short indTipo);
public List<Empresa> obtenerIndTipo2();
public List<Empresa> buscarNotInPuntoVtaComissao(PuntoVenta puntoVenta);
public List<InscricaoEstadual> buscaInscricoesEstaduais(Empresa empresa);
public void actualizaInscEstadual(InscricaoEstadual inscricaoEstadual);
public List<Empresa> buscaLike(String nombempresa);
public List<Empresa> obtenerTodosIncluindoEmpresaTodas();
public ComEmpCategoria adicionarComissaoCategoria(ComEmpCategoria comEmpCategoria);
public void removerComissaoCategoria(ComEmpCategoria comEmpCategoria);
public ComEmpFormapago adicionarComissaoFormapago(ComEmpFormapago comEmpFormapago);
public void removerComissaoFormapago(ComEmpFormapago comEmpFormapago);
public ComEmpTipoEventoExtra adicionarComissaoTipoEventoExtra(ComEmpTipoEventoExtra comEmpTipoEventoExtra);
public void removerComissaoTipoEventoExtra(ComEmpTipoEventoExtra comEmpTipoEventoExtra);
public ComEmpConferencia suscribir(ComEmpConferencia comEmpConferencia);
public ComEmpConferencia actualizacion(ComEmpConferencia comEmpConferencia);
}

View File

@ -0,0 +1,21 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ComisionistaExterno;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.EmpresaEquivalencia;
import java.util.List;
/**
*
* @author Administrador
*/
public interface EmpresaEquivalenciaDAO extends GenericDAO<EmpresaEquivalencia, Integer> {
public List<EmpresaEquivalencia> buscar(Empresa empresa, ComisionistaExterno comisionistaExterno);
public List<EmpresaEquivalencia> buscar(EmpresaEquivalencia empresaEquivalencia);
}

View File

@ -0,0 +1,22 @@
/*
// * To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
/**
*
* @author Bruno H. G. Gouvêa <bruno@rjconsultores.com.br>
*
*/
public interface EmpresaImpostoDAO extends GenericDAO<EmpresaImposto, Integer> {
public List<EmpresaImposto> buscarByEmpresa(Empresa empresa);
public List<EmpresaImposto> buscarEmpresaImposto(Integer empresaId);
}

View File

@ -0,0 +1,12 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.Date;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.EnderecoApanhe;
public interface EnderecoApanheDAO extends GenericDAO<EnderecoApanhe, Long>{
public List<EnderecoApanhe> buscar(Date datapacote, String numoperacion);
}

View File

@ -0,0 +1,10 @@
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.Ciudad;
import com.rjconsultores.ventaboletos.entidad.Escola;
public interface EscolaDAO extends GenericDAO<Escola, Integer> {
public List<Escola> buscar(String nombescola, Ciudad ciudad);
}

View File

@ -0,0 +1,24 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import java.util.List;
import com.rjconsultores.ventaboletos.entidad.EsquemaAgrupacion;
import com.rjconsultores.ventaboletos.entidad.EsquemaCorrida;
/**
*
* @author RJ Consultores
*/
public interface EsquemaAgrupacionDAO extends GenericDAO<EsquemaAgrupacion, Integer> {
public List<EsquemaAgrupacion> buscar(EsquemaAgrupacion esquemaAgrupacion);
public EsquemaAgrupacion obtenerByEsquemaAgrupacion(Integer numAgrupacion);
public boolean buscarNumAgrupacion(Integer numAgrupacion);
}

View File

@ -0,0 +1,21 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.EsquemaAsiento;
import com.rjconsultores.ventaboletos.entidad.EsquemaCorrida;
import java.util.List;
/**
*
* @author Rafius
*/
public interface EsquemaAsientoDAO extends GenericDAO<EsquemaAsiento, Integer> {
public List<EsquemaAsiento> obtenerPorCorrida(EsquemaCorrida esquemaCorrida);
public EsquemaAsiento obtenerPorCorridaeAsiento(EsquemaCorrida esquemaCorrida, String asiento);
}

View File

@ -0,0 +1,65 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.EsquemaCorrida;
import com.rjconsultores.ventaboletos.entidad.EsquemaOperacional;
import com.rjconsultores.ventaboletos.entidad.Marca;
import com.rjconsultores.ventaboletos.entidad.RolOperativo;
import com.rjconsultores.ventaboletos.entidad.Ruta;
import com.rjconsultores.ventaboletos.entidad.Tramo;
import java.util.Date;
import java.util.List;
/**
*
* @author Rafius
*/
public interface EsquemaCorridaDAO extends GenericDAO<EsquemaCorrida, Integer> {
public List<EsquemaCorrida> buscarPorEsquemaOperacional(EsquemaOperacional eo);
public List<EsquemaCorrida> buscarPorEmpresaCorrida(Empresa empresa);
public List<EsquemaCorrida> buscar(Marca marca, RolOperativo rolOperativo, Ruta ruta, ClaseServicio claseServicio);
public boolean buscarNumCorrida(Integer numCorrida, Integer numCorridaPisoExtra);
/**
* Indica se el esquema corrida es hijo de un esquemCorrida.
*
* @param esquemaCorrida
* @return
*/
public boolean esHijoRebote(EsquemaCorrida esquemaCorrida);
/**
* Busca los esquema corrida que tiene esquema operacional en la fecha indicada
*
* @param dataGeracao
* @return
*/
public List<EsquemaCorrida> buscaDentroVigencia(Date dataGeracao);
public boolean buscarEsquemaCorridaExisteTramo(Tramo tramo);
/**
* Indica cuál son los Id's de EsquemaCorrida que tienen la paradaId en su secuencia
*
* @param ruta
* @param paradaId
* @return - El Id de EsquemaCorrida
*/
public List<Integer> existe(Ruta ruta, Integer paradaId);
public EsquemaCorrida obtenerByEsquemaCorrida(Integer numCorrida);
public List<EsquemaCorrida> buscaDentroVigenciaQtdeDiasNull(Date dataGeracao);
public List<EsquemaCorrida> buscaDentroVigenciaQtdeDiasNotNull(Date dataDe);
}

View File

@ -0,0 +1,20 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.entidad.EsquemaOperacional;
import java.util.Date;
import java.util.List;
/**
*
* @author Rafius
*/
public interface EsquemaOperacionalDAO extends GenericDAO<EsquemaOperacional, Integer> {
public List<EsquemaOperacional> dentroVigenciaEsquemaOperacional(Date dataGeracao);
public List<EsquemaOperacional> dentroVigenciaEsquemaOperacional(Date dataDe, Date dataAte);
}

Some files were not shown because too many files have changed in this diff Show More