se.rupy.content
Class Upload

java.lang.Object
  extended by Service
      extended by se.rupy.sprout.Sprout
          extended by se.rupy.content.Upload
All Implemented Interfaces:
Type

public class Upload
extends Sprout


Nested Class Summary
static class Upload.Boundary
           
static class Upload.Item
           
 
Nested classes/interfaces inherited from class se.rupy.sprout.Sprout
Sprout.Cache, Sprout.SQL
 
Field Summary
 
Fields inherited from class se.rupy.sprout.Sprout
ROOT, SQL
 
Fields inherited from interface se.rupy.sprout.Type
ALL, ARTICLE, ARTICLE_BODY, ARTICLE_RATING, ARTICLE_READ, ARTICLE_TITLE, ARTICLE_TYPE, COMMENT, COMMENT_BODY, COMMENT_IP, COMMENT_STATE, FILE, FILE_NAME, FILE_TYPE, GROUP, GROUP_NAME, LABEL, LABEL_NAME, PING, PING_STATE, PING_TITLE, PING_URL, USER, USER_BIRTHDAY, USER_COUNTRY, USER_FIRST_NAME, USER_GENDER, USER_IP, USER_KEY, USER_LAST_NAME, USER_MAIL, USER_NAME, USER_PASS, USER_SHOW, USER_STATE
 
Constructor Summary
Upload()
           
 
Method Summary
 void filter(Event event)
           
 int index()
           
 java.lang.String path()
           
static Upload.Item save(Event event, Upload.Item item)
           
 
Methods inherited from class se.rupy.sprout.Sprout
clean, connection, destroy, find, find, from, generate, i18n, language, redirect, redirect, redirect, translate, update, update, value, where
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Upload

public Upload()
Method Detail

index

public int index()

path

public java.lang.String path()

filter

public void filter(Event event)
            throws Event,
                   java.lang.Exception
Throws:
Event
java.lang.Exception

save

public static Upload.Item save(Event event,
                               Upload.Item item)
                        throws Event,
                               java.io.IOException
Throws:
Event
java.io.IOException