You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by sb...@apache.org on 2012/01/26 15:45:43 UTC
svn commit: r1236201 [1/5] - in /james/mangesieve: ./ api/ api/src/
api/src/main/ api/src/main/java/ api/src/main/java/org/
api/src/main/java/org/apache/ api/src/main/java/org/apache/james/
api/src/main/java/org/apache/james/managesieve/ api/src/main/j...
Author: sbrewin
Date: Thu Jan 26 14:45:39 2012
New Revision: 1236201
URL: http://svn.apache.org/viewvc?rev=1236201&view=rev
Log:
Initial commit of managesieve
Added:
james/mangesieve/api/ (with props)
james/mangesieve/api/pom.xml (with props)
james/mangesieve/api/src/
james/mangesieve/api/src/main/
james/mangesieve/api/src/main/java/
james/mangesieve/api/src/main/java/org/
james/mangesieve/api/src/main/java/org/apache/
james/mangesieve/api/src/main/java/org/apache/james/
james/mangesieve/api/src/main/java/org/apache/james/managesieve/
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/LineCommands.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/ListScripts.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Logout.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Noop.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/PutScript.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/RenameScript.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/SetActive.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/StartTLS.java (with props)
james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Unauthenticate.java (with props)
james/mangesieve/api/src/test/
james/mangesieve/api/src/test/java/
james/mangesieve/core/ (with props)
james/mangesieve/core/pom.xml (with props)
james/mangesieve/core/src/
james/mangesieve/core/src/main/
james/mangesieve/core/src/main/java/
james/mangesieve/core/src/main/java/org/
james/mangesieve/core/src/main/java/org/apache/
james/mangesieve/core/src/main/java/org/apache/james/
james/mangesieve/core/src/main/java/org/apache/james/managesieve/
james/mangesieve/core/src/main/java/org/apache/james/managesieve/core/
james/mangesieve/core/src/main/java/org/apache/james/managesieve/core/CoreProcessor.java (with props)
james/mangesieve/core/src/main/java/org/apache/james/managesieve/transcode/
james/mangesieve/core/src/main/java/org/apache/james/managesieve/transcode/LineToCore.java (with props)
james/mangesieve/core/src/main/java/org/apache/james/managesieve/transcode/LineToCoreToLine.java (with props)
james/mangesieve/core/src/main/java/org/apache/james/managesieve/util/
james/mangesieve/core/src/main/java/org/apache/james/managesieve/util/ParserUtils.java (with props)
james/mangesieve/core/src/main/java/org/apache/james/managesieve/util/SettableSession.java (with props)
james/mangesieve/core/src/test/
james/mangesieve/core/src/test/java/
james/mangesieve/core/src/test/java/org/
james/mangesieve/core/src/test/java/org/apache/
james/mangesieve/core/src/test/java/org/apache/james/
james/mangesieve/core/src/test/java/org/apache/james/managesieve/
james/mangesieve/core/src/test/java/org/apache/james/managesieve/core/
james/mangesieve/core/src/test/java/org/apache/james/managesieve/core/CoreProcessorTestCase.java (with props)
james/mangesieve/jsieve/ (with props)
james/mangesieve/jsieve/pom.xml (with props)
james/mangesieve/jsieve/src/
james/mangesieve/jsieve/src/main/
james/mangesieve/jsieve/src/main/java/
james/mangesieve/jsieve/src/main/java/org/
james/mangesieve/jsieve/src/main/java/org/apache/
james/mangesieve/jsieve/src/main/java/org/apache/james/
james/mangesieve/jsieve/src/main/java/org/apache/james/managesieve/
james/mangesieve/jsieve/src/main/java/org/apache/james/managesieve/jsieve/
james/mangesieve/jsieve/src/main/java/org/apache/james/managesieve/jsieve/Parser.java (with props)
james/mangesieve/jsieve/src/test/
james/mangesieve/jsieve/src/test/java/
james/mangesieve/mailet/ (with props)
james/mangesieve/mailet/pom.xml (with props)
james/mangesieve/mailet/src/
james/mangesieve/mailet/src/main/
james/mangesieve/mailet/src/main/java/
james/mangesieve/mailet/src/main/java/org/
james/mangesieve/mailet/src/main/java/org/apache/
james/mangesieve/mailet/src/main/java/org/apache/james/
james/mangesieve/mailet/src/main/java/org/apache/james/managesieve/
james/mangesieve/mailet/src/main/java/org/apache/james/managesieve/mailet/
james/mangesieve/mailet/src/main/java/org/apache/james/managesieve/mailet/ManageSieveMailet.java (with props)
james/mangesieve/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/
james/mangesieve/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java (with props)
james/mangesieve/mailet/src/main/resources/
james/mangesieve/mailet/src/main/resources/managesieve.help.txt (with props)
james/mangesieve/mailet/src/test/
james/mangesieve/mailet/src/test/java/
james/mangesieve/mailet/src/test/java/org/
james/mangesieve/mailet/src/test/java/org/apache/
james/mangesieve/mailet/src/test/java/org/apache/james/
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/mailet/
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java (with props)
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/mailet/MockMail.java (with props)
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/mailet/MockMailetConfig.java (with props)
james/mangesieve/mailet/src/test/java/org/apache/james/managesieve/mailet/MockMailetContext.java (with props)
james/mangesieve/mailet/src/test/resources/
james/mangesieve/mailet/src/test/resources/help.txt (with props)
james/mangesieve/mock/ (with props)
james/mangesieve/mock/pom.xml (with props)
james/mangesieve/mock/src/
james/mangesieve/mock/src/main/
james/mangesieve/mock/src/main/java/
james/mangesieve/mock/src/main/java/org/
james/mangesieve/mock/src/main/java/org/apache/
james/mangesieve/mock/src/main/java/org/apache/james/
james/mangesieve/mock/src/main/java/org/apache/james/managesieve/
james/mangesieve/mock/src/main/java/org/apache/james/managesieve/mock/
james/mangesieve/mock/src/main/java/org/apache/james/managesieve/mock/MockSession.java (with props)
james/mangesieve/mock/src/main/java/org/apache/james/managesieve/mock/MockSieveParser.java (with props)
james/mangesieve/mock/src/main/java/org/apache/james/managesieve/mock/MockSieveRepository.java (with props)
james/mangesieve/mock/src/test/
james/mangesieve/mock/src/test/java/
james/mangesieve/pom.xml (with props)
james/mangesieve/server/ (with props)
james/mangesieve/server/pom.xml (with props)
james/mangesieve/server/src/
james/mangesieve/server/src/main/
james/mangesieve/server/src/main/java/
james/mangesieve/server/src/main/java/org/
james/mangesieve/server/src/main/java/org/apache/
james/mangesieve/server/src/main/java/org/apache/james/
james/mangesieve/server/src/main/java/org/apache/james/managesieve/
james/mangesieve/server/src/main/java/org/apache/james/managesieve/file/
james/mangesieve/server/src/main/java/org/apache/james/managesieve/file/SieveFileRepository.java (with props)
james/mangesieve/server/src/test/
james/mangesieve/server/src/test/java/
james/mangesieve/server/src/test/java/org/
james/mangesieve/server/src/test/java/org/apache/
james/mangesieve/server/src/test/java/org/apache/james/
james/mangesieve/server/src/test/java/org/apache/james/managesieve/
james/mangesieve/server/src/test/java/org/apache/james/managesieve/file/
james/mangesieve/server/src/test/java/org/apache/james/managesieve/file/SieveFileRepositoryTestCase.java (with props)
Modified:
james/mangesieve/ (props changed)
Propchange: james/mangesieve/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jan 26 14:45:39 2012
@@ -0,0 +1,3 @@
+*.settings
+
+.project
Propchange: james/mangesieve/api/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jan 26 14:45:39 2012
@@ -0,0 +1,7 @@
+target*
+
+.settings
+
+*.classpath
+
+.project
Added: james/mangesieve/api/pom.xml
URL: http://svn.apache.org/viewvc/james/mangesieve/api/pom.xml?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/pom.xml (added)
+++ james/mangesieve/api/pom.xml Thu Jan 26 14:45:39 2012
@@ -0,0 +1,31 @@
+ <!--
+ 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 you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james</groupId>
+ <artifactId>managesieve</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>managesieve-api</artifactId>
+ <packaging>jar</packaging>
+
+</project>
Propchange: james/mangesieve/api/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,65 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>ArgumentException</code>
+ */
+public class ArgumentException extends ManageSieveException {
+
+ private static final long serialVersionUID = -7407426714052613820L;
+
+ /**
+ * Creates a new instance of ArgumentException.
+ *
+ */
+ public ArgumentException() {
+ }
+
+ /**
+ * Creates a new instance of ArgumentException.
+ *
+ * @param message
+ * @param cause
+ */
+ public ArgumentException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of ArgumentException.
+ *
+ * @param message
+ */
+ public ArgumentException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ArgumentException.
+ *
+ * @param cause
+ */
+ public ArgumentException(Throwable cause) {
+ super(cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ArgumentException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,26 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class AuthenticationException extends ManageSieveException
+{
+ private static final long serialVersionUID = -7564649071256099047L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,26 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class AuthenticationRequiredException extends ManageSieveException
+{
+ private static final long serialVersionUID = 4992598322874189613L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/AuthenticationRequiredException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,68 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>ConfigurationError</code>
+ */
+public class ConfigurationError extends ManageSieveError {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 5350261185844873258L;
+
+ /**
+ * Creates a new instance of ConfigurationError.
+ *
+ */
+ public ConfigurationError() {
+ }
+
+ /**
+ * Creates a new instance of ConfigurationError.
+ *
+ * @param message
+ */
+ public ConfigurationError(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ConfigurationError.
+ *
+ * @param cause
+ */
+ public ConfigurationError(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Creates a new instance of ConfigurationError.
+ *
+ * @param message
+ * @param cause
+ */
+ public ConfigurationError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ConfigurationError.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class DuplicateException extends ManageSieveException
+{
+ /**
+ * Creates a new instance of DuplicateException.
+ *
+ */
+ public DuplicateException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of DuplicateException.
+ *
+ * @param message
+ * @param cause
+ */
+ public DuplicateException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of DuplicateException.
+ *
+ * @param message
+ */
+ public DuplicateException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of DuplicateException.
+ *
+ * @param cause
+ */
+ public DuplicateException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = 7384835765215418347L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,65 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>DuplicateUserException</code>
+ */
+public class DuplicateUserException extends ManageSieveException {
+
+ private static final long serialVersionUID = 2393178076895724704L;
+
+ /**
+ * Creates a new instance of DuplicateUserException.
+ *
+ */
+ public DuplicateUserException() {
+ }
+
+ /**
+ * Creates a new instance of DuplicateUserException.
+ *
+ * @param message
+ * @param cause
+ */
+ public DuplicateUserException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of DuplicateUserException.
+ *
+ * @param message
+ */
+ public DuplicateUserException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of DuplicateUserException.
+ *
+ * @param cause
+ */
+ public DuplicateUserException(Throwable cause) {
+ super(cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/DuplicateUserException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class IsActiveException extends ManageSieveException
+{
+ /**
+ * Creates a new instance of IsActiveException.
+ *
+ */
+ public IsActiveException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of IsActiveException.
+ *
+ * @param message
+ * @param cause
+ */
+ public IsActiveException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of IsActiveException.
+ *
+ * @param message
+ */
+ public IsActiveException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of IsActiveException.
+ *
+ * @param cause
+ */
+ public IsActiveException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = 7472385325048232256L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/IsActiveException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,65 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>ManageSieveError</code>
+ */
+public class ManageSieveError extends Error {
+
+ private static final long serialVersionUID = 1488887751782386767L;
+
+ /**
+ * Creates a new instance of ManageSieveError.
+ *
+ */
+ public ManageSieveError() {
+ }
+
+ /**
+ * Creates a new instance of ManageSieveError.
+ *
+ * @param message
+ */
+ public ManageSieveError(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveError.
+ *
+ * @param cause
+ */
+ public ManageSieveError(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveError.
+ *
+ * @param message
+ * @param cause
+ */
+ public ManageSieveError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveError.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class ManageSieveException extends Exception
+{
+ /**
+ * Creates a new instance of ManageSieveException.
+ *
+ */
+ public ManageSieveException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of ManageSieveException.
+ *
+ * @param message
+ * @param cause
+ */
+ public ManageSieveException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveException.
+ *
+ * @param message
+ */
+ public ManageSieveException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveException.
+ *
+ * @param cause
+ */
+ public ManageSieveException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = -1446993382609775076L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,65 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>ManageSieveRuntimeException</code>
+ */
+public class ManageSieveRuntimeException extends RuntimeException {
+
+ private static final long serialVersionUID = 6344283243541187693L;
+
+ /**
+ * Creates a new instance of ManageSieveRuntimeException.
+ *
+ */
+ public ManageSieveRuntimeException() {
+ }
+
+ /**
+ * Creates a new instance of ManageSieveRuntimeException.
+ *
+ * @param message
+ */
+ public ManageSieveRuntimeException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveRuntimeException.
+ *
+ * @param cause
+ */
+ public ManageSieveRuntimeException(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Creates a new instance of ManageSieveRuntimeException.
+ *
+ * @param message
+ * @param cause
+ */
+ public ManageSieveRuntimeException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ManageSieveRuntimeException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class QuotaExceededException extends ManageSieveException
+{
+ /**
+ * Creates a new instance of QuotaExceededException.
+ *
+ */
+ public QuotaExceededException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of QuotaExceededException.
+ *
+ * @param message
+ * @param cause
+ */
+ public QuotaExceededException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of QuotaExceededException.
+ *
+ * @param message
+ */
+ public QuotaExceededException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of QuotaExceededException.
+ *
+ * @param cause
+ */
+ public QuotaExceededException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = -3966867419152420878L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaExceededException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,64 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>QuotaNotFoundException</code>
+ */
+public class QuotaNotFoundException extends ManageSieveException {
+ private static final long serialVersionUID = 6523546952593451503L;
+
+ /**
+ * Creates a new instance of QuotaNotFoundException.
+ *
+ */
+ public QuotaNotFoundException() {
+ }
+
+ /**
+ * Creates a new instance of QuotaNotFoundException.
+ *
+ * @param message
+ * @param cause
+ */
+ public QuotaNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of QuotaNotFoundException.
+ *
+ * @param message
+ */
+ public QuotaNotFoundException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of QuotaNotFoundException.
+ *
+ * @param cause
+ */
+ public QuotaNotFoundException(Throwable cause) {
+ super(cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/QuotaNotFoundException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class ScriptNotFoundException extends ManageSieveException
+{
+ /**
+ * Creates a new instance of ScriptNotFoundException.
+ *
+ */
+ public ScriptNotFoundException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of ScriptNotFoundException.
+ *
+ * @param message
+ * @param cause
+ */
+ public ScriptNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of ScriptNotFoundException.
+ *
+ * @param message
+ */
+ public ScriptNotFoundException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of ScriptNotFoundException.
+ *
+ * @param cause
+ */
+ public ScriptNotFoundException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = 4200071956828484819L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptNotFoundException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,26 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public interface ScriptSummary {
+ abstract public String getName();
+ abstract public boolean isActive();
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,50 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>Session</code>
+ */
+public interface Session {
+
+ public interface UserListener
+ {
+ abstract public void notifyChange(String user);
+ }
+
+ abstract public String getUser();
+
+ abstract public void addUserListener(UserListener listener);
+
+ abstract public void removeUserListener(UserListener listener);
+
+ public interface AuthenticationListener
+ {
+ abstract public void notifyChange(boolean isAuthenticated);
+ }
+
+ abstract public boolean isAuthenticated();
+
+ abstract public void addAuthenticationListener(AuthenticationListener listener);
+
+ abstract public void removeAuthenticationListener(AuthenticationListener listener);
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/Session.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,35 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+import java.util.List;
+
+
+/**
+ * <code>SieveParser</code>
+ */
+public interface SieveParser {
+
+ abstract List<String> parse(String content) throws SyntaxException;
+
+ abstract List<String> getExtensions();
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveParser.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,82 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+import java.util.List;
+
+
+
+/**
+ * <code>SieveRepository</code>
+ */
+public interface SieveRepository {
+
+ abstract public void haveSpace(String user, String name, long size) throws UserNotFoundException, QuotaExceededException;
+
+ /**
+ * PutScript.
+ *
+ * <p><strong>Note:</strong> It is the responsibility of the caller to validate the script to be put.
+ *
+ * @param user
+ * @param name
+ * @param content
+ * @throws UserNotFoundException
+ * @throws StorageException
+ * @throws QuotaExceededException
+ */
+ abstract public void putScript(String user, String name, String content) throws UserNotFoundException, StorageException, QuotaExceededException;
+
+ abstract public List<ScriptSummary> listScripts(String user) throws UserNotFoundException;
+
+ abstract public String getActive(String user) throws UserNotFoundException, ScriptNotFoundException;
+
+ abstract public void setActive(String user, String name) throws UserNotFoundException, ScriptNotFoundException, StorageException;
+
+ abstract public String getScript(String user, String name) throws UserNotFoundException, ScriptNotFoundException;
+
+ abstract public void deleteScript(String user, String name) throws UserNotFoundException, ScriptNotFoundException, IsActiveException, StorageException;
+
+ abstract public void renameScript(String user, String oldName, String newName) throws UserNotFoundException, ScriptNotFoundException, DuplicateException, StorageException;
+
+ abstract public boolean hasUser(String user);
+
+ abstract public void addUser(String user) throws DuplicateUserException, StorageException;
+
+ abstract public void removeUser(String user) throws UserNotFoundException, StorageException;
+
+ abstract public boolean hasQuota();
+
+ abstract public long getQuota() throws QuotaNotFoundException;
+
+ abstract public void setQuota(long quota) throws StorageException;
+
+ abstract public void removeQuota() throws QuotaNotFoundException, StorageException;
+
+ abstract public boolean hasQuota(String user) throws UserNotFoundException;
+
+ abstract public long getQuota(String user) throws UserNotFoundException, QuotaNotFoundException;
+
+ abstract public void setQuota(String user, long quota) throws UserNotFoundException, StorageException;
+
+ abstract public void removeQuota(String user) throws UserNotFoundException, QuotaNotFoundException, StorageException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SieveRepository.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,66 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+/**
+ * <code>StorageException</code>
+ */
+public class StorageException extends ManageSieveException {
+
+ private static final long serialVersionUID = 7374111339714642386L;
+
+ /**
+ * Creates a new instance of StorageException.
+ *
+ */
+ public StorageException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of StorageException.
+ *
+ * @param message
+ * @param cause
+ */
+ public StorageException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of StorageException.
+ *
+ * @param message
+ */
+ public StorageException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of StorageException.
+ *
+ * @param cause
+ */
+ public StorageException(Throwable cause) {
+ super(cause);
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/StorageException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,63 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class SyntaxException extends ManageSieveException
+{
+ private static final long serialVersionUID = 2336683565743503262L;
+
+ /**
+ * Creates a new instance of SyntaxException.
+ *
+ */
+ public SyntaxException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of SyntaxException.
+ *
+ * @param message
+ * @param cause
+ */
+ public SyntaxException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of SyntaxException.
+ *
+ * @param message
+ */
+ public SyntaxException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of SyntaxException.
+ *
+ * @param cause
+ */
+ public SyntaxException(Throwable cause) {
+ super(cause);
+ }
+
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/SyntaxException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,62 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api;
+
+public class UserNotFoundException extends ManageSieveException
+{
+ /**
+ * Creates a new instance of UserNotFoundException.
+ *
+ */
+ public UserNotFoundException() {
+ super();
+ }
+
+ /**
+ * Creates a new instance of UserNotFoundException.
+ *
+ * @param message
+ * @param cause
+ */
+ public UserNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Creates a new instance of UserNotFoundException.
+ *
+ * @param message
+ */
+ public UserNotFoundException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new instance of UserNotFoundException.
+ *
+ * @param cause
+ */
+ public UserNotFoundException(Throwable cause) {
+ super(cause);
+ }
+
+ private static final long serialVersionUID = -5075227645788455698L;
+}
\ No newline at end of file
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/UserNotFoundException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,38 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import org.apache.james.managesieve.api.AuthenticationException;
+
+
+/**
+ * <code>Authenticate</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.1>RFC 5804 AUTHENTICATE Command</a>
+ *
+ */
+public interface Authenticate {
+
+ abstract public void authenticate(String mechanism) throws AuthenticationException;
+
+ abstract public void authenticate(String mechanism, String initialData) throws AuthenticationException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Authenticate.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,51 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import java.util.Map;
+
+/**
+ * <code>Capability</code>
+ */
+public interface Capability {
+
+ abstract public Map<Capabilities, String> capability();
+
+ /**
+ * <code>Capabilities</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.4>RFC 5804 CAPABILITY Command</a>
+ */
+ public enum Capabilities {
+ IMPLEMENTATION,
+ SASL,
+ SIEVE,
+ STARTTLS,
+ MAXREDIRECTS,
+ NOTIFY,
+ LANGUAGE,
+ OWNER,
+ VERSION,
+ UNAUTHENTICATE,
+ GETACTIVE
+ }
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/Capability.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,37 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import java.util.List;
+
+import org.apache.james.managesieve.api.AuthenticationRequiredException;
+import org.apache.james.managesieve.api.SyntaxException;
+
+/**
+ * <code>CheckScript</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.12>RFC 5804 CHECKSCRIPT Command</a>
+ */
+public interface CheckScript {
+
+ abstract public List<String> checkScript(String content) throws AuthenticationRequiredException, SyntaxException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CheckScript.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,33 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+/**
+ * <code>CoreCommands</code>
+ *
+ * <p>Core RFC 5804 Commands common to all transports
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2>RFC 5804 Commands</a>
+ */
+public interface CoreCommands extends Capability, CheckScript, DeleteScript, GetScript, HaveSpace,
+ ListScripts, PutScript, RenameScript, SetActive, GetActive {
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/CoreCommands.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,36 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import org.apache.james.managesieve.api.AuthenticationRequiredException;
+import org.apache.james.managesieve.api.IsActiveException;
+import org.apache.james.managesieve.api.ScriptNotFoundException;
+
+/**
+ * <code>DeleteScript</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.10>RFC 5804 DELETESCRIPT Command</a>
+ */
+public interface DeleteScript {
+
+ abstract public void deleteScript(String name) throws AuthenticationRequiredException, ScriptNotFoundException, IsActiveException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/DeleteScript.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,36 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import org.apache.james.managesieve.api.AuthenticationRequiredException;
+import org.apache.james.managesieve.api.ScriptNotFoundException;
+
+/**
+ * <code>GetScript</code> is an extension to the commands defined by RFC 5804. It provides a means
+ * of retrieving a user's currently active script in a single call. The alternative using RFC 5804
+ * mandated commands is to call ListScripts, parse the result to identify the active script and
+ * call GetScript to retrieve it.
+ */
+public interface GetActive {
+
+ abstract public String getActive() throws AuthenticationRequiredException, ScriptNotFoundException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetActive.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,35 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import org.apache.james.managesieve.api.AuthenticationRequiredException;
+import org.apache.james.managesieve.api.ScriptNotFoundException;
+
+/**
+ * <code>GetScript</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.9>RFC 5804 GETSCRIPT Command</a>
+ */
+public interface GetScript {
+
+ abstract public String getScript(String name) throws AuthenticationRequiredException, ScriptNotFoundException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/GetScript.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java
URL: http://svn.apache.org/viewvc/james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java?rev=1236201&view=auto
==============================================================================
--- james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java (added)
+++ james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java Thu Jan 26 14:45:39 2012
@@ -0,0 +1,35 @@
+/*
+ * 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 you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.james.managesieve.api.commands;
+
+import org.apache.james.managesieve.api.AuthenticationRequiredException;
+import org.apache.james.managesieve.api.QuotaExceededException;
+
+/**
+ * <code>HaveSpace</code>
+ *
+ * @see <a href=http://tools.ietf.org/html/rfc5804#section-2.5>RFC 5804 HAVESPACE Command</a>
+ */
+public interface HaveSpace {
+
+ abstract public void haveSpace(String name, long size) throws AuthenticationRequiredException, QuotaExceededException;
+
+}
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/mangesieve/api/src/main/java/org/apache/james/managesieve/api/commands/HaveSpace.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org