Skip to content

Commit 4487c88

Browse files
committed
initial project checkin
1 parent ee6a0d4 commit 4487c88

22 files changed

+1027
-0
lines changed

pom.xml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ JBoss, a division of Red Hat
4+
~ Copyright 2011, Red Hat Middleware, LLC, and individual
5+
~ contributors as indicated by the @authors tag. See the
6+
~ copyright.txt in the distribution for a full listing of
7+
~ individual contributors.
8+
~
9+
~ This is free software; you can redistribute it and/or modify it
10+
~ under the terms of the GNU Lesser General Public License as
11+
~ published by the Free Software Foundation; either version 2.1 of
12+
~ the License, or (at your option) any later version.
13+
~
14+
~ This software is distributed in the hope that it will be useful,
15+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+
~ Lesser General Public License for more details.
18+
~
19+
~ You should have received a copy of the GNU Lesser General Public
20+
~ License along with this software; if not, write to the Free
21+
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22+
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23+
-->
24+
25+
<project xmlns="http://maven.apache.org/POM/4.0.0"
26+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28+
<modelVersion>4.0.0</modelVersion>
29+
30+
<groupId>gatein-api</groupId>
31+
<artifactId>gatein-api</artifactId>
32+
<version>0.1-SNAPSHOT</version>
33+
34+
<parent>
35+
<groupId>org.gatein</groupId>
36+
<artifactId>gatein-parent</artifactId>
37+
<version>1.1.0-Beta01</version>
38+
</parent>
39+
40+
<!-- <dependencies>
41+
<dependency>
42+
<groupId>org.testng</groupId>
43+
<artifactId>testng</artifactId>
44+
<version>5.14.10</version>
45+
<scope>test</scope>
46+
</dependency>
47+
</dependencies>
48+
-->
49+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api;
24+
25+
/**
26+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
27+
* @version $Revision$
28+
*/
29+
public class AccessPermissions
30+
{
31+
32+
}
33+
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api;
24+
25+
/**
26+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
27+
* @version $Revision$
28+
*/
29+
public interface GateIn
30+
{
31+
public Portal getPortal();
32+
}
33+
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api;
24+
25+
/**
26+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
27+
* @version $Revision$
28+
*/
29+
public class Iterator
30+
{
31+
32+
}
33+
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api;
24+
25+
import org.gatein.api.application.ApplicationRegistry;
26+
27+
/**
28+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
29+
* @version $Revision$
30+
*/
31+
public interface Portal
32+
{
33+
public ApplicationRegistry getApplicationRegistry();
34+
}
35+
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api;
24+
25+
/**
26+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
27+
* @version $Revision$
28+
*/
29+
public interface Query
30+
{
31+
public static final Query ALL = new Query(){};
32+
public static final Query PAGED = new Query(){};
33+
34+
}
35+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api.application;
24+
25+
/**
26+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
27+
* @version $Revision$
28+
*/
29+
public interface Application
30+
{
31+
32+
public abstract class ID
33+
{
34+
35+
}
36+
37+
}
38+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api.application;
24+
25+
import org.gatein.api.Iterator;
26+
import org.gatein.api.Query;
27+
import org.gatein.api.exceptions.AlreadyExistsException;
28+
29+
/**
30+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
31+
* @version $Revision$
32+
*/
33+
public interface ApplicationRegistry
34+
{
35+
public Category getCategory(String categoryName);
36+
public Category createCategory(String categoryName) throws AlreadyExistsException;
37+
public void deleteCategory(String categoryName);
38+
public Iterator getCategories(Query query);
39+
40+
public ApplicationRepository getApplicationRepository();
41+
}
42+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/******************************************************************************
2+
* JBoss, a division of Red Hat *
3+
* Copyright 2011, Red Hat Middleware, LLC, and individual *
4+
* contributors as indicated by the @authors tag. See the *
5+
* copyright.txt in the distribution for a full listing of *
6+
* individual contributors. *
7+
* *
8+
* This is free software; you can redistribute it and/or modify it *
9+
* under the terms of the GNU Lesser General Public License as *
10+
* published by the Free Software Foundation; either version 2.1 of *
11+
* the License, or (at your option) any later version. *
12+
* *
13+
* This software is distributed in the hope that it will be useful, *
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16+
* Lesser General Public License for more details. *
17+
* *
18+
* You should have received a copy of the GNU Lesser General Public *
19+
* License along with this software; if not, write to the Free *
20+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22+
******************************************************************************/
23+
package org.gatein.api.application;
24+
25+
import org.gatein.api.application.repository.GadgetRepository;
26+
import org.gatein.api.application.repository.PortletRepository;
27+
28+
/**
29+
* @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
30+
* @version $Revision$
31+
*/
32+
public interface ApplicationRepository
33+
{
34+
public GadgetRepository getGadgetRepository();
35+
public PortletRepository getPortletRepository();
36+
}
37+

0 commit comments

Comments
 (0)