com.openindex.openestate.tool.calendar
Class CalendarSource

java.lang.Object
  extended by com.openindex.openestate.tool.calendar.CalendarSource

public class CalendarSource
extends Object

Kalenderquelle.
$Id: CalendarSource.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph

Field Summary
static int AUTH_DISABLED
           
static int AUTH_HTTP_BASIC
           
static int SOURCE_DB
           
static int SOURCE_FILE
           
static int SOURCE_URL
           
 
Constructor Summary
CalendarSource()
           
 
Method Summary
 int getAuthMethod()
           
 String getAuthPass()
           
 String getAuthUser()
           
 long getCalendarId()
           
 String getDescription()
           
 Object getLocation()
           
 String getLocationAsDbPath()
           
 File getLocationAsFile()
           
 URL getLocationAsUrl()
           
 String getName()
           
 int getType()
           
 boolean isDbSource()
           
 boolean isFileSource()
           
 boolean isUrlSource()
           
static CalendarSource load(long id)
           
static CalendarSource load(long id, org.xmldb.api.base.Collection pluginCollection)
           
 void load(Properties props)
           
static CalendarSource[] loadSources()
           
static CalendarSource[] loadSources(org.xmldb.api.base.Collection pluginCollection)
           
 void remove()
           
 void remove(org.xmldb.api.base.Collection pluginCollection)
           
 void save()
           
 void save(org.xmldb.api.base.Collection pluginCollection)
           
 void save(org.xmldb.api.base.Collection pluginCollection, ImmoToolDb db)
           
 void save(Properties props)
           
 void setAuthMethod(int authMethod)
           
 void setAuthPass(String authPass)
           
 void setAuthUser(String authUser)
           
 void setCalendarId(long calendarId)
           
 void setDescription(String description)
           
 void setLocation(File location)
           
 void setLocation(String location)
           
 void setLocation(URL location)
           
 void setName(String name)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE_DB

public static final int SOURCE_DB
See Also:
Constant Field Values

SOURCE_FILE

public static final int SOURCE_FILE
See Also:
Constant Field Values

SOURCE_URL

public static final int SOURCE_URL
See Also:
Constant Field Values

AUTH_DISABLED

public static final int AUTH_DISABLED
See Also:
Constant Field Values

AUTH_HTTP_BASIC

public static final int AUTH_HTTP_BASIC
See Also:
Constant Field Values
Constructor Detail

CalendarSource

public CalendarSource()
Method Detail

getAuthMethod

public int getAuthMethod()

getAuthPass

public String getAuthPass()

getAuthUser

public String getAuthUser()

getCalendarId

public long getCalendarId()

getDescription

public String getDescription()

getLocation

public Object getLocation()

getLocationAsDbPath

public String getLocationAsDbPath()

getLocationAsFile

public File getLocationAsFile()

getLocationAsUrl

public URL getLocationAsUrl()

getName

public String getName()

getType

public int getType()

isDbSource

public boolean isDbSource()

isFileSource

public boolean isFileSource()

isUrlSource

public boolean isUrlSource()

load

public static CalendarSource load(long id)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

load

public static CalendarSource load(long id,
                                  org.xmldb.api.base.Collection pluginCollection)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

load

public void load(Properties props)
          throws MalformedURLException
Throws:
MalformedURLException

loadSources

public static CalendarSource[] loadSources()
                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

loadSources

public static CalendarSource[] loadSources(org.xmldb.api.base.Collection pluginCollection)
                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

remove

public void remove()
            throws ImmoToolDbException
Throws:
ImmoToolDbException

remove

public void remove(org.xmldb.api.base.Collection pluginCollection)
            throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save()
          throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save(org.xmldb.api.base.Collection pluginCollection)
          throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save(org.xmldb.api.base.Collection pluginCollection,
                 ImmoToolDb db)
          throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save(Properties props)

setAuthMethod

public void setAuthMethod(int authMethod)

setAuthPass

public void setAuthPass(String authPass)

setAuthUser

public void setAuthUser(String authUser)

setCalendarId

public void setCalendarId(long calendarId)

setDescription

public void setDescription(String description)

setLocation

public void setLocation(String location)

setLocation

public void setLocation(File location)

setLocation

public void setLocation(URL location)

setName

public void setName(String name)

setType

public void setType(int type)


Copyright © 2012 OpenEstate. All Rights Reserved.