se.rupy.content
Class Article
java.lang.Object
se.rupy.memory.NodeBean
se.rupy.sprout.Node
se.rupy.content.Article
- All Implemented Interfaces:
- Type
public class Article
- extends Node
| 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_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 |
|
Method Summary |
java.util.LinkedList |
columnize()
|
void |
count()
|
static Article |
find(long id)
|
static Article |
get(java.lang.Object key)
|
static Sprout.Cache |
get(java.lang.String type,
int start,
int limit)
|
void |
invalidate()
|
static long |
max(short type)
|
static long |
max(java.lang.String query)
|
static java.util.LinkedList |
most(short type,
int start,
int limit)
|
static java.util.LinkedList |
most(short type,
int start,
int limit,
java.lang.String order)
|
int |
permit(java.lang.Object key)
|
static java.util.LinkedList |
query(java.lang.String query,
int start,
int limit)
|
static void |
reset()
|
| Methods inherited from class se.rupy.sprout.Node |
add, add, add, child, child, child, child, count, date, delete, encoded, fill, link, meta, meta, parent, parent, parent, path, poll, poll, query, query, query, remove, remove, remove, safe, time, toString, toXML, update |
| Methods inherited from class se.rupy.memory.NodeBean |
copy, equals, getDate, getId, getType, key, read, setDate, setId, setType, synapse, write |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PAGE
public static final int PAGE
- See Also:
- Constant Field Values
NO
public static final byte NO
- See Also:
- Constant Field Values
USER
public static final byte USER
- See Also:
- Constant Field Values
ADMIN
public static final byte ADMIN
- See Also:
- Constant Field Values
WILDCARD
public static final byte WILDCARD
- See Also:
- Constant Field Values
MAX_POST_SIZE
public static final int MAX_POST_SIZE
- See Also:
- Constant Field Values
MAX
public static long MAX
cache1
public static java.util.HashMap cache1
cache2
public static java.util.HashMap cache2
cache3
public static java.util.HashMap cache3
metric
public static java.awt.FontMetrics metric
columns
public java.util.LinkedList columns
comments
public int comments
pings
public int pings
COLUMN_WIDTH
public static int COLUMN_WIDTH
CHARACTER_WIDTH
public static int CHARACTER_WIDTH
Article
public Article()
permit
public int permit(java.lang.Object key)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
max
public static long max(short type)
throws java.lang.Exception
- Throws:
java.lang.Exception
most
public static java.util.LinkedList most(short type,
int start,
int limit)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
most
public static java.util.LinkedList most(short type,
int start,
int limit,
java.lang.String order)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
max
public static long max(java.lang.String query)
throws java.lang.Exception
- Throws:
java.lang.Exception
query
public static java.util.LinkedList query(java.lang.String query,
int start,
int limit)
throws java.lang.Exception
- Throws:
java.lang.Exception
reset
public static void reset()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
count
public void count()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
find
public static Article find(long id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
get
public static Sprout.Cache get(java.lang.String type,
int start,
int limit)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
get
public static Article get(java.lang.Object key)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
invalidate
public void invalidate()
columnize
public java.util.LinkedList columnize()