text stringlengths 3 1.18M |
|---|
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
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 ... |
/*
* 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... |
/*
* 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 ... |
/*
* 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... |
/*
* 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... |
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
*
*... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
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;
... |
package org.mobicents.smsc.slee.services.mo;
import javax.slee.SbbLocalObject;
public interface MoSbbLocalObject extends SbbLocalObject {
}
|
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... |
package org.mobicents.smsc.slee.services.mo;
import javax.slee.ActivityContextInterface;
public interface MoActivityContextInterface extends ActivityContextInterface {
public int getPendingEventsOnNullActivity();
public void setPendingEventsOnNullActivity(int events);
}
|
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
*... |
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... |
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);
}
|
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... |
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... |
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);... |
package org.mobicents.smsc.slee.resources.smpp.server;
public interface SmppServerTransaction {
public SmppServerSession getSmppSession();
}
|
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.... |
package org.mobicents.smsc.slee.resources.smpp.server;
public interface SmppServerTransactionACIFactory {
javax.slee.ActivityContextInterface getActivityContextInterface(SmppServerTransaction txn);
}
|
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... |
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.... |
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... |
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... |
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... |
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... |
package org.mobicents.smsc.slee.resources.smpp.server;
public enum SmppTransactionType {
INCOMING, OUTGOING;
}
|
/*
* 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... |
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... |
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... |
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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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;... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
package cz.anime.ppro.enums;
public enum UserRolesEnum {
ROLE_ADMIN,
ROLE_MOD,
ROLE_USER;
}
|
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.... |
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... |
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... |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Notification;
public interface NotificationComponent {
public List<Notification> getNotifications();
}
|
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... |
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... |
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... |
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... |
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(... |
package cz.anime.ppro.logic;
import java.util.List;
import cz.anime.ppro.model.Rss;
public interface RssComponent {
public List<Rss> getRsses();
}
|
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... |
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);
... |
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... |
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(... |
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... |
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);
}
|
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... |
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);
}
|
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... |
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);
... |
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... |
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... |
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);
}
|
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<?> ... |
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> {
}
|
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> {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.