code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
package org.mobicents.smsc.smpp;
import com.cloudhopper.smpp.SmppServerSession;
import com.cloudhopper.smpp.SmppSessionHandler;
import com.cloudhopper.smpp.pdu.BaseBindResp;
import com.cloudhopper.smpp.type.SmppProcessingException;
public interface SmppSessionHandlerInterface {
public SmppSessionHandler sessionCrea... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
package org.mobicents.smsc.smpp;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import org.apache.log4j.Logger;
import org.jboss.system.ServiceMBeanSupport;
public class SMPPServerService extends ServiceMBeanSupport implements SMPPServerServiceMBean {
private ... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright XXXX, Red Hat Middleware LLC, and individual contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to ... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms o... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
package org.mobicents.ss7.management.console.impl;
import org.mobicents.ss7.management.console.CommandContext;
import org.mobicents.ss7.management.console.CommandHandlerWithHelp;
import org.mobicents.ss7.management.console.Tree;
import org.mobicents.ss7.management.console.Tree.Node;
/**
* @author amit bhayani
*
*... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser... | Java |
package org.mobicents.smsc.slee.services.mo;
import java.sql.Timestamp;
import javax.slee.ActivityContextInterface;
import javax.slee.InitialEventSelector;
import javax.slee.facilities.ActivityContextNamingFacility;
import javax.slee.facilities.NameAlreadyBoundException;
import javax.slee.nullactivity.NullActivity;
... | Java |
package org.mobicents.smsc.slee.services.mo;
import javax.slee.SbbLocalObject;
public interface MoSbbLocalObject extends SbbLocalObject {
}
| Java |
package org.mobicents.smsc.slee.services.mo;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.slee.ActivityContextInterface;
import javax.slee.CreateException;
import javax.slee.RolledBackContext;
import javax.slee.Sbb;
import javax.slee.SbbContext;
import javax.slee.facilities.Tracer;
im... | Java |
package org.mobicents.smsc.slee.services.mo;
import javax.slee.ActivityContextInterface;
public interface MoActivityContextInterface extends ActivityContextInterface {
public int getPendingEventsOnNullActivity();
public void setPendingEventsOnNullActivity(int events);
}
| Java |
package org.mobicents.smsc.slee.services.smpp.server.events;
import java.io.Serializable;
import java.sql.Timestamp;
public class SmsEvent implements Serializable {
/**
* Mobicents SMSC variables
*/
private String messageId;
/**
* System ID is the ESME System ID. Used only when SMS is coming from ESME
*... | Java |
package org.mobicents.smsc.slee.services.smpp.server.tx;
import java.sql.Timestamp;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.slee.ActivityContextInterface;
import javax.slee.CreateException;
import javax.slee.EventContext;
import javax.slee.RolledBackContext;
import javax.slee.Sbb... | Java |
package org.mobicents.smsc.slee.services.smpp.server.tx;
import javax.slee.ActivityContextInterface;
public interface TxSmppServerSbbActivityContextInterface extends ActivityContextInterface {
public int getPendingEventsOnNullActivity();
public void setPendingEventsOnNullActivity(int events);
}
| Java |
package org.mobicents.smsc.slee.services.smpp.server.rx;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.slee.ActivityContextInterface;
import javax.slee.CreateException;
import javax.slee.EventContext;
import javax.slee.RolledBackContext;
import javax.slee.Sbb;
import javax.slee.SbbConte... | Java |
package org.mobicents.smsc.slee.services.alert;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.slee.ActivityContextInterface;
import javax.slee.CreateException;
import javax.slee.InitialEventSelector;
import javax.slee.RolledBackContext;
import javax.slee.Sbb;
import javax.slee.SbbContex... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
public interface SmppServerSessions {
//TODO : May be rename this method as we want SmppServerSession to send SMS to ESME
public SmppServerSession getSmppSession(byte ton, byte npi, String address);
public SmppServerSession getSmppSession(String systemId);... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
public interface SmppServerTransaction {
public SmppServerSession getSmppSession();
}
| Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import javax.slee.SLEEException;
import javax.slee.resource.ActivityAlreadyExistsException;
import javax.slee.resource.StartActivityException;
import com.cloudhopper.smpp.SmppBindType;
import com.cloudhopper.smpp.SmppSession.Type;
import com.cloudhopper.smpp.pdu.... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
public interface SmppServerTransactionACIFactory {
javax.slee.ActivityContextInterface getActivityContextInterface(SmppServerTransaction txn);
}
| Java |
package org.mobicents.smsc.slee.resources.smpp.server.events;
public interface EventsType {
public static final String REQUEST_TIMEOUT = "org.mobicents.resources.smpp.server.REQUEST_TIMEOUT";
public static final String SUBMIT_SM = "org.mobicents.resources.smpp.server.SUBMIT_SM";
public static final String DATA_S... | Java |
package org.mobicents.smsc.slee.resources.smpp.server.events;
import com.cloudhopper.smpp.pdu.PduRequest;
public class PduRequestTimeout {
private final PduRequest pduRequest;
private final String systemId;
public PduRequestTimeout(PduRequest pduRequest, String systemId) {
this.pduRequest = pduRequest;
this.... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import com.cloudhopper.smpp.pdu.PduRequest;
public class SmppServerTransactionImpl implements SmppServerTransaction {
private final SmppServerSessionImpl smppSession;
private final SmppServerResourceAdaptor ra;
private SmppServerTransactionHandle activityHan... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import java.util.concurrent.atomic.AtomicLong;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.slee.facilities.Tracer;
import javolution.util.FastMap;
import org.mobicents.smsc.slee.resources.smpp.server.events.EventsType;
import or... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import javax.slee.resource.ActivityHandle;
public class SmppServerTransactionHandle implements ActivityHandle {
private final String smppSessionConfigurationName;
private final SmppTransactionType smppTransactionType;
private final int seqNumnber;
private tr... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import javax.naming.InitialContext;
import javax.slee.Address;
import javax.slee.AddressPlan;
import javax.slee.SLEEException;
import javax.slee.facilities.EventLookupFacility;
import javax.slee.facilities.Tracer;
import javax.slee.resource.ActivityAlreadyExistsEx... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
public enum SmppTransactionType {
INCOMING, OUTGOING;
}
| Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
package org.mobicents.smsc.slee.resources.smpp.server;
import java.util.regex.Pattern;
import javax.slee.SLEEException;
import javax.slee.resource.ActivityAlreadyExistsException;
import javax.slee.resource.StartActivityException;
import org.apache.log4j.Logger;
import com.cloudhopper.commons.util.windowing.WindowFu... | Java |
package org.mobicents.smsc.ihub;
import org.mobicents.protocols.ss7.map.MAPStackImpl;
import org.mobicents.protocols.ss7.map.api.MAPProvider;
import org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl;
public class MAPSimulator {
// MAP
private MAPStackImpl mapStack;
private MAPProvider mapProvider;
// SCCP
p... | Java |
package org.mobicents.smsc.ihub;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.log4j.Logger;
import org.mobicents.protocols.ss7.map.api.MAPDialog;
import org.mobicents.protocols.ss7.map.api.MAPDialogListener;
import org.mobicents.protocols.ss7.map.api.MAPException;
import org.mobicents.protocols.ss... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | Java |
package cz.anime.ppro.model;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persis... | Java |
package cz.anime.ppro.model;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persisten... | Java |
package cz.anime.ppro.model;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistenc... | Java |
package cz.anime.ppro.model;
import java.io.Serializable;
import javax.persistence.*;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.GrantedAuthorityImpl;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.spring... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.Calendar;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import org.sp... | Java |
package cz.anime.ppro.beans;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import cz.anime.ppro.logic.UserCompone... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.S... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.Calendar;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.fac... | Java |
package cz.anime.ppro.beans;
import java.util.Calendar;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework... | Java |
package cz.anime.ppro.beans;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereoty... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import org.spring... | Java |
package cz.anime.ppro.beans;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.S... | Java |
package cz.anime.ppro.beans;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereoty... | Java |
package cz.anime.ppro.beans;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;... | Java |
package cz.anime.ppro.beans;
import java.io.Serializable;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.Securit... | Java |
package cz.anime.ppro.beans;
import java.util.Calendar;
import java.util.List;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
i... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... | Java |
package cz.anime.ppro.beans;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;
import cz.anime... | Java |
package cz.anime.ppro.beans;
import java.util.Calendar;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicat... | Java |
package cz.anime.ppro.beans;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.spr... | Java |
package cz.anime.ppro.beans;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.spr... | Java |
package cz.anime.ppro.beans;
import javax.faces.bean.ManagedBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;
import cz.anime... | Java |
package cz.anime.ppro.beans;
import java.io.IOException;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.S... | Java |
package cz.anime.ppro.enums;
public enum UserRolesEnum {
ROLE_ADMIN,
ROLE_MOD,
ROLE_USER;
}
| Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Fragment;
import cz.anime.ppro.model.Webuser;
import cz.anime.ppro.repositories.FragmentRepository;
import cz.anime.... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Attendant;
public interface AttendantComponent {
public Attendant getAttendantById(int attendantId);
public List<Attendant> getAttendants();
public List<Attendant> getAttendantsByEventId(int eventID);
public void... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Message;
import cz.anime.ppro.repositories.MessageRepository;
@Component
public class MessageComponentImpl impleme... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Notification;
public interface NotificationComponent {
public List<Notification> getNotifications();
}
| Java |
package cz.anime.ppro.logic.postinicialize;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
/**
* User: AlphaCSP
*
* @sinc... | Java |
package cz.anime.ppro.logic.postinicialize;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.BeanCreation... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Attendant;
import cz.anime.ppro.repositories.AttendantRepository;
@Component
public class AttendantComponentImpl i... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Event;
import cz.anime.ppro.repositories.EventRepository;
@Component
public class EventComponentImpl implements Ev... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Webuser;
public interface UserComponent {
public List<Webuser> getUsers();
public Webuser getUser(int id);
public Webuser getUserByNick(String nick);
public void createUser(Webuser user);
public void save(... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Rss;
public interface RssComponent {
public List<Rss> getRsses();
}
| Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Fragment;
import cz.anime.ppro.repositories.FragmentRepository;
@Component
public class FragmentComponentImpl impl... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Content;
public interface ContentComponent {
public List<Content> getContent();
public Content getContent(int id);
public List<Content> getContentByFragment(int fragmentId);
public void save(Content content);
... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Comment;
import cz.anime.ppro.repositories.CommentRepository;
@Component
public class CommentComponentImpl impleme... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Comment;
public interface CommentComponent {
public List<Comment> getComments();
public List<Comment> getCommentsByContentId(int contentId);
public Comment getCommentById(int commentId);
public void deleteComment(... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Content;
import cz.anime.ppro.repositories.ContentRepository;
@Component
public class ContentComponentImpl impleme... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Fragment;
import cz.anime.ppro.model.Webuser;
public interface MainPageComponent {
public List<Fragment> getFragments();
public Webuser getUser(int userId);
}
| Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Component;
import cz.anime... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Event;
public interface EventComponent {
public Event getEvent(int event);
public List<Event> getEvents();
public void saveEvent(Event event);
public void deleteEvent(Event event);
}
| Java |
package cz.anime.ppro.logic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
im... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Message;
public interface MessageComponent {
public List<Message> getMessages();
public List<Message> getInMessages(int id);
public List<Message> getOutMessages(int id);
public void saveMessage(Message message);
... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Rss;
import cz.anime.ppro.repositories.RssRepository;
@Component
public class RssComponentImpl implements RssCompo... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import cz.anime.ppro.model.Notification;
import cz.anime.ppro.repositories.NotificationRepository;
@Component
public class NotificationCompon... | Java |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Fragment;
public interface FragmentComponent {
public List<Fragment> getFragements();
public Fragment getFragment(int id);
public void save(Fragment fragment);
public void delete(Fragment fragment);
}
| Java |
package cz.anime.ppro.custom;
import java.util.Map;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.config.Scope;
public class CustomViewScope implements Scope {
public Object get(String name, ObjectFactory<?> ... | Java |
package cz.anime.ppro.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import cz.anime.ppro.model.Rss;
public interface RssRepository extends JpaRepository<Rss, Integer> {
}
| Java |
package cz.anime.ppro.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import cz.anime.ppro.model.Event;
public interface EventRepository extends JpaRepository<Event, Integer> {
}
| Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.