text
stringlengths
3
1.18M
package br.com.fiap.mercadinho.common; /** * Representa os tipos possiveis de usuarios no sistema. * * @author Jeferson Lamas * @since 22/05/2013 */ public enum UserType { // Operator User OPERATOR("O"), // Manager User MANAGER("M"); private String value; UserType(String userType) { ...
package br.com.fiap.mercadinho.common; public enum RequestKey { INFO_MESSAGE_KEY("info_message"); private String value; RequestKey(final String key) { this.value = key; } public String getValue() { return this.value; } }
package br.com.fiap.mercadinho.common; public enum SessionKey { USER_SESSION_KEY("j_user_session"), USER_SESSION_TYPE("j_user_session_type"); private String value; SessionKey(String key ){ this.value = key; } public String getValue(){ return this.value; } }
package edu.wpi.first.wpilibj.templates; import Team102Lib.*; import edu.wpi.first.wpilibj.DriverStationLCD; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significan...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ public class RemoveCannonSlack extends CommandBase { public RemoveCa...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Administrator */ public class RemoveSlackwDiffAndArm extends CommandGroup { public RemoveSlac...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class LightsOn extends CommandBase { public LightsOn() { // Use requires() here to declare subsystem dependencie...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class ConveyorStop extends Comma...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; /** * * @author Administrator */ public class DriveWithXbox extends CommandBase { public DriveWithXbox() { requires...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ public class Shoot extends CommandBase { public Shoot() { re...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class ShiftLow extends CommandBase { public ShiftLow() { // Use requires() here to declare subsystem dependencie...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.BallGate; /** * * @author Administrator */ public class GateDown extends CommandBase { public GateDown() { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MovingAverage; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ // NOTE: this uses a moving average of ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class DriveStraight extends CommandBase { double angle = 0.0; public DriveStraight(double angle, double driveTime) {...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.BallGate; /** * * @author Administrator */ public class GateUp extends CommandBase { public GateUp() { ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class ConveyorUp extends Command...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; /** * * @author Administrator */ public class DriveConveyor extends CommandBase { static final double NULL_CONVEYOR_SPEED =...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class ConveyorDown extends Comma...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class ArmWithTrigger extends CommandBase { public ArmWithTrigger() { requires(cannon); } // Called just...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ public class EngageClutch extends CommandBase { boolean engage; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.WaitCommand; /** * * @author Admin...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.WaitCommand; /** * * @author Administrator */ public class LightAndFindTarget...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class TilterArmDrive extends CommandBase { double armPower; public TilterArmDrive(double power) { requires(t...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Administrator */ public class RemoveSlackwSensorAndArm extends CommandGroup { public RemoveSl...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class Shift extends CommandBase { public Shift() { // Use requires() here to declare subsystem dependencies ...
package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.wpilibj.templates.OI; import edu.wpi.first.wpilibj.templates.subsystems.BallGate; import edu.wpi.first.wpilibj.templates.subsystems.Driv...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class RunConveyorTimed extends CommandBase { public RunConveyorTimed(double timeToRun) { requires(conveyor); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class CompressorOn extends CommandBase { public CompressorOn() { // Use requires() here to declare subsystem dep...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class LightsOff extends CommandBase { public LightsOff() { // Use requires() here to declare subsystem dependenc...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.WaitCommand; /** * * @author Administrator */ public class GateDownThenUp ext...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.TilterArm; /** * * @author Administrator */ public class TilterArmDown extends CommandBase { public TilterArm...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.TilterArm; /** * * @author Administrator */ public class TilterArmUp extends CommandBase { public TilterArmUp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class SetSetPointWithTrigger extends CommandBase { public SetSetPointWithTrigger() { requires(cannon); } ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.WaitCommand; import edu.wpi.first.wpi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class SetCannonSetPoint extends CommandBase { int setPoint = 0; public SetCannonSetPoint(int setPoint) { req...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class TurnToAngle extends CommandBase { double angle = 0.0; public TurnToAngle() { requires(driveTrain); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; /** * * @author Administrator */ public class MaintainPressure extends CommandBase { public MaintainPressure() { requi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ public class RemoveCannonSlackwithSensor extends CommandBase { publi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class ZeroWinchEncoder extends CommandBase { public ZeroWinchEncoder() { requires(cannon); } // Called ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; /** * * @author Administrator */ public class DriveWithJoysticks extends CommandBase { public DriveWithJoysticks() { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Administrator */ public class RemoveSlackAndArm extends CommandGroup { public RemoveSlackAndA...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class FindTarget extends CommandBase { public FindTarget() { // Use requires() here to declare subsystem depende...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class CompressorOff extends CommandBase { public CompressorOff() { // Use requires() here to declare subsystem d...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Shifters; /** * * @a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Administrator */ public class ShiftHigh extends CommandBase { public ShiftHigh() { // Use requires() here to declare subsystem dependenc...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.subsystems.Cannon; /** * * @author Administrator */ public class ArmCannon extends CommandBase { double encoderTarget = ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Administrator */ public class ArmAndShoot extends CommandGroup { public ArmAndShoot() { ...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.buttons.JoystickButton; import edu.wpi.first.wpilibj.templates.commands.ConveyorDown; import edu.wpi.first.wpilibj.templates.commands.ConveyorStop; import edu.wpi.first.wpilibj.templates.commands.ConveyorUp; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.camera.AxisCamera; import edu.wpi.first.wpilibj.image...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.smartdashboard.Sma...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.Joystick; import edu.wpi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.Victor; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.w...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.Victor; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.smartdashboard...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.ADXL345_I2C; import edu.wpi.first.wpilibj.ADXL345_I2C.DataFormat_Range; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Subsystem; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /** * * @author Administrator */ public class TextMeter { char majorTick = '|'; char minorTick = '\''; int majorTickIncrement = 10; int width; double lowerBound; double up...
/* * Class to extend particle to let us do calculations on the backboards of FRC 2012 */ package Team102Lib; import edu.wpi.first.wpilibj.image.ParticleAnalysisReport; public class BackboardParticle { // public static final double CAMERA_FIELD_OF_VIEW = 43.5; // degrees // NOTE: These need to be tuned. ...
package Team102Lib; /* * Javolution - Java(TM) Solution for Real-Time and Embedded Systems * Copyright (C) 2006 - Javolution (http://javolution.org/) * All rights reserved. * * Permission to use, copy, modify, and distribute this software is * freely granted, provided that this notice is preserved. */ import j...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; import edu.wpi.first.wpilibj.DriverStationLCD; import edu.wpi.first.wpilibj.Timer; /** * * @author Administrator */ public class MessageLogger { public static boolean disableLog = false; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /** * * @author Administrator */ // Class to implement a deadband. // Assumes a centered deadband around 0.0 // rangeRadius - the radius of the area of expected inputs. Values outside this range ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /* * This Class came from Team 2587 DiscoBots. * MaxbotixSonar class for reading values from the Maxbotix Sonars. * Will have functions for running them in daisy chain mode which will require * ...
/* * Class to implement a moving average calculator. */ package Team102Lib; /** * * @author us1468 */ public class MovingAverage { int numElements; double lastMovingAverage; public MovingAverage(double initMovingAverage) { init(); lastMovingAverage = initMovingAverage; } ...
package com.cavytech.wear; import android.app.ActivityManager; import android.app.KeyguardManager; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.Blueto...
package com.cavytech.wear; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.ListPreferenc...
package com.cavytech.wear; import android.app.Activity; import android.app.AlertDialog; import android.app.KeyguardManager; import android.app.ProgressDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothClass; import android.bluetooth.BluetoothDevice; import android.content.Br...
package com.cavytech.wear; import android.app.ExpandableListActivity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Handler; import android.preference.PreferenceManager; import android.util.Log; import java.io.DataOutputStream; impo...
package com.cavytech.wear; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.TextView; import java.util.ArrayList; import java.util.HashMap; p...
package com.cavytech.wear; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Messenger; import android.support.v7.internal.widget.AdapterViewCompat; import android.util.Log; import android.view.Menu; import android.view.MenuItem; i...
package com.cavytech.wear; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.ResolveInfo; import android.os.Handler; import android.os.IBinder; import android.os...
package com.cavytech.wear; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.View; import android.widget.Button; import android.widget.TextView; public class StateActivity extends Activity { ...
package com.cavytech.wear; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; public class ServiceStarter extends BroadcastReceiver { public final static String INVOKE_WEAR_SERVICE = "com.cavytech...
package com.cavytech.wear; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class OpcionesMidDTO implements Serializable{ private int IdCodigo_OP; private int IdCodigo_OM; private String NoDescrip_OM; private String NoURL_OM; private int NuOrden_OM; private String NoImage...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class RolDTO implements Serializable { private int IdCodigo_Rol; private int IdCodigo_Grupo; private String NoDescrip_Rol; private String FlEstado_Rol; private String CoCodigo_Sede; private GrupoDTO...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class SeccionDTO implements Serializable{ private int IdCodigo_Sec; private String NoDescrip_Sec; public int getIdCodigo_Sec() { return IdCodigo_Sec; } public void setIdCodigo_Sec(int idCodigoSec)...
package com.sigelcal.seguridad.beans; import java.io.Serializable; import com.sigelcal.configuracion.beans.TipoDocumentoDTO; @SuppressWarnings("serial") public class RolDocumentoDTO implements Serializable{ private int IdCodigo_RolDoc; private int IdCodigo_Rol; private String CoCodigo_TipoDoc; priva...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class OpcionesPrincDTO implements Serializable { private int IdCodigo_OP; private int IdCodigo_OM; private String NoDescrip_OP; private String NoURL_OP; private int NuOrden_OP; private String NoImage...
package com.sigelcal.seguridad.beans; public class ContenidoMixDTO { private int IdCodigo_Cont; private int IdCodigo_DetCont; private String NoTemplate_Cont; private String NoNombre_DetCont; private int NoSeccion_DetCont; private String NoInclude_DetCont; private int NuOrden_DetCont; public int ...
/** * @author Christian Arias Ortiz - alderfg * @version 1.0 * 09/03/2010 */ package com.sigelcal.seguridad.beans; import java.io.Serializable; import java.util.ArrayList; @SuppressWarnings("serial") public class UsuarioDTO implements Serializable{ private String CoCodigo_Sede; private String ...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class ContenidoVisibleParaDTO implements Serializable { private int IdCodigo_Visi; private int IdCodigo_DetCont; private int IdCodigo_Rol; private String FlEstado_Visi; private DetalleContenidoDTO...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class OpcionesRolDTO implements Serializable { private int IdCodigo_OPR; private int IdCodigo_OP; private int IdCodigo_OM; private int IdCodigo_OI; private int IdCodigo_Rol; private String FlEstad...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class OpcionesInfDTO implements Serializable{ private int IdCodigo_OI ; private int IdCodigo_OM; private int IdCodigo_OP; private String NoDescrip_OI; private String NoURL_OI; private int NuOrd...
package com.sigelcal.seguridad.beans; import java.io.Serializable; import com.sigelcal.configuracion.beans.CentroCostoDTO; @SuppressWarnings("serial") public class GrupoDTO implements Serializable { private int IdCodigo_Grupo; private String CoCodigo_Sede; private String NoDescrip_Grupo; private St...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class ContenidoDTO implements Serializable{ private int IdCodigo_Cont; private String NoNombre_Cont; private String NoAgrupacion_Cont; private String NoDescrip_Agru; public int getIdCodigo_Cont() ...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class DetalleContenidoDTO implements Serializable { private int IdCodigo_DetCont; private int IdCodigo_Cont; private String NoNombre_DetCont; private String NoSeccion_DetCont; private String NoInclude_...
package com.sigelcal.seguridad.beans; import java.io.Serializable; @SuppressWarnings("serial") public class OpcionesMantoDTO implements Serializable{ private int IdCodigo_OM; private String NoDescrip_OM; private String NoURL_OM; private int NuOrden_OM; private String NoImagen_OM; public int getI...
package com.sigelcal.seguridad.dao; import java.util.ArrayList; import com.sigelcal.seguridad.beans.ContenidoDTO; import com.sigelcal.seguridad.beans.ContenidoMixDTO; import com.sigelcal.seguridad.beans.ContenidoVisibleParaDTO; import com.sigelcal.seguridad.beans.DetalleContenidoDTO; import com.sigelcal.segur...
package com.sigelcal.util.upload; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; public class UtilFunciones { public static ArrayList<String> obtenerFilasArchivo(String r...
package com.sigelcal.configuracion.beans; import java.io.Serializable; @SuppressWarnings("serial") public class ColoresDTO implements Serializable{ private int IdCodigo_Col; private String NoDescrip_Col; private String NoMostrar_Col; private int NoR_Col; private int NoG_Col; private int NoB_Col; ...
package com.sigelcal.configuracion.beans; import java.io.Serializable; @SuppressWarnings("serial") public class CorreoDTO implements Serializable { private int IdCodigo_Correo; private String CoCodigo_Sede; private String NoCabeceraIni_Correo; private String NoCSS_Correo; private String NoCabeceraFin...
/** * @author Christian Arias Ortiz - alderfg * @version 1.0 * 09/03/2010 */ package com.sigelcal.configuracion.beans; import java.io.Serializable; @SuppressWarnings("serial") public class CentroCostoDTO implements Serializable{ private String CoCodigo_CC; private String CoCodigo_Lab; private i...
package com.sigelcal.configuracion.beans; import java.io.Serializable; @SuppressWarnings("serial") public class EstadoDocumentoDTO implements Serializable{ private String CoCodigo_TipDoc; private String CoCodigo_EstDoc; private String NoDescrip_EstDoc; private String NoDescrip_TipDoc; private int I...
package com.sigelcal.configuracion.beans; import java.io.Serializable; import java.util.ArrayList; @SuppressWarnings("serial") public class TipoDocumentoDTO implements Serializable{ private String CoCodigo_TipoDoc; private String NoDescrip_TipoDoc; private String NoAbrev_TipoDoc; private int NuDiasVig...
package dao; import vo.person; public class PersonDao { public void insert(person vo){ } }
package mystruct; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import vo.person; import com.opensymphony.xwork2.ActionSupport; import dao.PersonDao; public class personaction extends ActionSupport{ public String addform() throws Exception{ this.LOG.inf...
package mystruct; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.nio.channels.FileChannel; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionSupport; public class uploadaction extends ActionSupport{ File pic1; St...
package vo; public class person { String name; String tel; String adress; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTel() { return tel; } public void setTel(String tel) { this.tel = tel; } public...
/* * $Id: Login.java 1525512 2013-09-23 06:45:12Z lukaszlenart $ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to ...