|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ACSException in com.arsdigita.acs |
Subclasses of ACSException in com.arsdigita.acs | |
class |
ForbiddenException
|
class |
ReadOnlyException
|
class |
WarningException
|
Methods in com.arsdigita.acs that throw ACSException | |
String |
Scope.getAuthorizationStatus(String public_permissions,
String group_permissions,
String user_permissions,
Integer id)
Returns either "authorized", "reg_required", or "not_authorized" depending on whether the currently-logged-in user has sufficient credentials to view the object displayed in the current page, given the required public/user/group permissions for the object. |
Integer |
Scope.scopeAuthorize(String public_permissions,
String group_permissions,
String user_permissions)
Checks to see if the currently-logged-in user may view the current page, given the required public/group/user permissions and the scope of the object. |
boolean |
Scope.isScopeAdmin(Integer userId)
return true if the given user is an administrator for this scope |
boolean |
Permissions.userHasPermission(Integer userId,
String permissionType,
String onWhatId,
String onWhichTable)
|
boolean |
Permissions.allUsersHavePermission(String permissionType,
String onWhatId,
String onWhichTable)
|
int |
Filter.filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
The request filter interface. |
static boolean |
GeneralPermissions.userHasPermission(Integer userId,
String permission_type,
String onWhatId,
String onWhichTable)
|
static int |
GeneralPermissions.permissionCount(Database db,
Integer onWhatId,
String onWhichTable,
String permissionType)
Returns the number of permissions records there are on a certain object, of a certain permission type. |
static void |
GeneralPermissions.grantPermission(Database db,
String scope,
Integer userId,
Integer groupId,
String role,
String permissionType,
Integer onWhatId,
String onWhichTable)
Grants a permission for a database object to the specified user or group/role, depending on what "scope" is. |
static Integer |
GeneralPermissions.getPermissionId(Database db,
String scope,
Integer userId,
Integer groupId,
String role,
String permissionType,
Integer onWhatId,
String onWhichTable)
Returns the id in the general_permissions table for a database object, given the specified scope, user, group, etc. |
static String |
HtmlWidgets.htmlOptions(String[][] objects,
String selected)
Returns a list of HTML option tags from an array of arrays of String pairs. |
int |
Clickthrough.filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
Handles a URL of the form /ct/local/URL?send_to=foreignURL. |
boolean |
UserInfo.isGroupMember(Object groupId)
Verifies that this user is a member of groupId . |
boolean |
UserInfo.isGroupAdmin(Object groupId)
Verifies that this user is an administrator of groupId . |
boolean |
UserInfo.isAdministrationGroupMember(String module,
String sub)
Verifies that this user is a member of administration group for the given module and submodule. |
void |
ClientIdentification.assignSessionId()
Generates and assigns the session ID cookie. |
void |
ClientIdentification.assignBrowserId()
Generates and assigns browser ID cookie. |
static void |
Security.loginUser(PageContext pc,
Integer userId,
boolean forever)
|
int |
AdminFilter.filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
|
Constructors in com.arsdigita.acs that throw ACSException | |
UserInfo(String email,
String passwd)
Validates a user login attempt. |
|
UserInfo(String userId)
|
|
UserInfo(int userId)
|
|
UserInfo(ResultSet rs)
|
Uses of ACSException in com.arsdigita.acs.calendar |
Methods in com.arsdigita.acs.calendar that throw ACSException | |
static String |
CalendarProcs.calMiniCalendarWidget(String baseURL)
|
static String |
CalendarProcs.calMiniCalendarWidget(String baseURL,
String currentView)
|
static String |
CalendarProcs.calMiniCalendarWidget(String baseURL,
String currentView,
String currentDate)
|
static String |
CalendarProcs.calMiniCalendarWidget(String baseURL,
String currentView,
String currentDate,
Integer groupId)
This proc creates a mini calendar useful for navigating various calendar views. |
static String |
CalendarProcs.calMiniMonthCalendar(String currentYear,
String month)
|
static String |
CalendarProcs.calMiniMonthCalendar(String currentYear,
String month,
Integer groupId)
|
static String |
CalendarProcs.calMiniMonthCalendar(String currentYear,
String month,
Integer groupId,
String viewMode)
This proc creates a mini month calendar useful for navigating on a month calendar. |
static String |
CalendarProcs.calYearCalendar(Integer groupId,
String viewMode,
String currentYear,
String currentDate)
Generates the HTML for 12 mini calendar widgets, 3 across and 4 down. |
static String |
CalendarProcs.calendarDayView(CalendarInfo calendarInfo,
String currentDate,
Integer loggedInUserId,
Integer groupId,
String compressDayViewP,
Integer beginCalHour,
Integer endCalHour)
Generates the HTML for a day view. |
static String |
CalendarProcs.calendarDayView(CalendarInfo calendarInfo,
String currentDate,
Integer loggedInUserId,
Integer groupId,
String compressDayViewP,
Integer beginCalHour,
Integer endCalHour,
String viewMode)
|
static String |
CalendarProcs.calendarDayView(CalendarInfo calendarInfo,
String currentDate,
Integer loggedInUserId,
Integer groupId,
String compressDayViewP,
Integer beginCalHour,
Integer endCalHour,
String viewMode,
String addLink)
|
static Integer |
CalendarProcs.userCalendarFolderId(Integer userId)
Gets id of calendar's file-storage folder for specified user. |
static Integer |
CalendarProcs.calendarFolderId(Integer userId,
Integer groupId)
Gets id of calendar's file-storage folder for specified group. |
static CalendarInfo |
CalendarProcs.initializeCalendarParameters(HttpServletRequest request,
Integer viewedUserId,
UserInfo loggedInUser,
Integer groupId,
String currentView,
String currentDate,
String compressDayViewP,
String viewMode,
String action)
Initializes calinfo variable and populates it with information used on calendar pages. |
static String |
CalendarProcs.calendarViewTitle(HttpServletRequest request)
Returns view title bar (a small table with title & left & right linked arrows). |
static String |
CalendarProcs.calPrettyCurrentDate(String current_date,
Database db)
Yet another pretty date function. |
static boolean |
CalendarProcs.isWriteAccessAllowed(UserInfo user,
Integer itemId)
|
static boolean |
CalendarProcs.isWriteAccessAllowed(UserInfo user,
Integer itemId,
Integer groupId)
Replaces calendar_item_write_access_p. |
static String |
CalendarProcs.getWidgetDatetime(String name,
String value,
String granularity)
|
static String |
CalendarProcs.getWidgetDatetime(String name,
String value,
String granularity,
boolean useAmPm)
|
static String |
CalendarProcs.getWidgetDatetime(String name,
String value,
String granularity,
boolean useAmPm,
boolean showDate)
|
static String |
CalendarProcs.getWidgetDatetime(String name,
String value,
String granularity,
boolean useAmPm,
boolean showDate,
String dateTimeSep)
Yet another date/time widget! You'd think we'd have a super-duper canonical version somewhere in the ACS. |
static String |
CalendarProcs.getWidgetMonth(String name,
int defVal)
Builds a picklist of months of the year. |
static String[] |
CalendarProcs.getMonthNames()
Non-internationalized version of calendar_util_month_names_by_locale. |
static String |
CalendarProcs.formatDateTimeString(String value,
String granularity)
|
static String |
CalendarProcs.formatDateTimeString(String value,
String granularity,
boolean useAmPm)
|
static String |
CalendarProcs.formatDateTimeString(String value,
String granularity,
boolean useAmPm,
boolean showDate)
|
static String |
CalendarProcs.formatDateTimeString(String value,
String granularity,
boolean useAmPm,
boolean showDate,
String dateTimeSep)
Formats date/time See description of getWidgetDatetime |
static String |
CalendarProcs.getCategoriesWidget()
|
static String |
CalendarProcs.getCategoriesWidget(String scope,
Integer id)
|
static String |
CalendarProcs.getCategoriesWidget(String scope,
Integer id,
Vector defaultCategoryIdList)
|
static String |
CalendarProcs.getCategoriesWidget(String scope,
Integer id,
Vector defaultCategoryIdList,
String defaultReturn)
|
static String |
CalendarProcs.getCategoriesWidget(String scope,
Integer id,
Vector defaultCategoryIdList,
String defaultReturn,
int selectSize)
|
static String |
CalendarProcs.getCategoriesWidget(String scope,
Integer id,
Vector defaultCategoryIdList,
String defaultReturn,
int selectSize,
String varName)
|
static String |
CalendarProcs.transformDatetime(AdSet date,
boolean truncate)
|
static String |
CalendarProcs.transformDatetime(AdSet date,
boolean truncate,
AdSet fallbackDate)
Stolen and slightly modified from templating system fallbackDate is a quick hack added to let end_date pull some of its data from start_date if date wasn't displayed. |
static Integer |
CalendarProcs.insertItem(Integer item_id,
Integer instance_id,
String title,
SqlStatement startDate,
SqlStatement endDate,
Integer user_id,
Integer group_id,
String description,
Integer creation_user_id)
same as insertItem, defaults editable_p to true. |
static Integer |
CalendarProcs.insertItem(Integer item_id,
Integer instance_id,
String title,
SqlStatement startDate,
SqlStatement endDate,
Integer user_id,
Integer group_id,
String description,
Integer creation_user_id,
Boolean editable_p)
Inserts a new calendar item into the appropriate calendar. |
Uses of ACSException in com.arsdigita.acs.chat |
Methods in com.arsdigita.acs.chat that throw ACSException | |
static ChatRoom |
Chat.getRoomProperties(Database db,
Integer roomId)
|
static void |
Chat.postSystemNote(Database db,
String msg,
Integer userId,
Integer roomId,
String remoteAddr)
Post message to the chat room marked as a system note. |
static void |
Chat.postMessage(Database db,
String msg,
Integer userId,
Integer roomId,
String remoteAddr)
Post a normal message to the chat room. |
static void |
Chat.postPersonalMessage(Database db,
String msg,
Integer userId,
Integer recipientId,
String remoteAddr)
Post a normal message to the chat room. |
static Integer |
Chat.lastPost(Database db,
Integer roomId)
Returns chat_msg_id of most recent post in a room; used by JavaScript client to figure out whether an update to the main window is needed 5/28/2000 mbryzek added a unique index chat_msgs_room_approved_id_idx on chat_msgs(chat_room_id, approved_p, chat_msg_id) to avoid hitting the chat_msgs table at all when we're calling chat_last_post. |
static Integer[] |
Chat.lastPersonalPost(Database db,
Integer userId,
Integer chatterId)
|
Uses of ACSException in com.arsdigita.acs.db |
Methods in com.arsdigita.acs.db that throw ACSException | |
String |
Database.queryToString(String sql,
String defaultValue)
Returns a string result from a single-row, single-column SQL query. |
String |
Database.queryToString(String sql)
Returns a string result from a single-row, single-column SQL query. |
String |
Database.queryToString(String sql,
Object[] bind)
Returns a string result from a single-row, single-column SQL query. |
String |
Database.queryToString(SqlStatement st)
Returns a string result from a single-row, single-column SQL query. |
String |
Database.queryToString(SqlStatement st,
String defaultValue)
Returns a string result from a single-row, single-column SQL query. |
String |
Database.queryToString(String sql,
Object[] bind,
String defaultValue)
Returns a string result from a single-row, single-column SQL query. |
Uses of ACSException in com.arsdigita.acs.fs |
Methods in com.arsdigita.acs.fs that throw ACSException | |
int |
Download.filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
|
int |
StoredFile.getOlderVersions(Database db)
|
ContextBarWs |
StoredFile.getNavbar(Database db,
String source)
|
static boolean |
FileStorageProcs.checkRead(Integer userId,
Integer version_id)
|
static boolean |
FileStorageProcs.checkWrite(UserInfo user,
Integer version_id)
|
static String |
FileStorageProcs.guessSource(Database db,
boolean public_p,
Integer owner_id,
Integer group_id,
UserInfo local_user)
|
Uses of ACSException in com.arsdigita.acs.html |
Methods in com.arsdigita.acs.html that throw ACSException | |
void |
Table.setPageContext(PageContext pc)
Sets the JSP Page Context for the current request. |
void |
Table.addColumn(String columnId,
String headerText,
int sortInfo,
int displayInfo)
Adds a new column to the table. |
String |
Table.getHtml()
Iterates through the DataSource to generate an html table. |
String |
Table.orderByFromSortSpec()
Translates the "orderby" URL parameter into a SQL ORDER BY clause that may be inserted into a query. |
Constructors in com.arsdigita.acs.html that throw ACSException | |
DimensionalBar(PageContext pc)
|
|
Table(PageContext pc)
Public constructor |
Uses of ACSException in com.arsdigita.acs.portals |
Methods in com.arsdigita.acs.portals that throw ACSException | |
static String |
PortalsProcs.groupName(String groupId)
Returns the group name associated with groupId. |
static String |
PortalsProcs.groupName(Integer groupId)
Casts argument to string and returns with calll to groupName(String ...) |
static String |
PortalsProcs.getSuperAdminGroupId()
Returns the group_id of the portals Super Administrators group |
static UserInfo |
PortalsProcs.checkAdministratorMaybeRedirect(HttpServletRequest req,
HttpServletResponse resp,
Integer groupId)
Same as checkAdministratorMaybeRedirect(req, resp, groupId.toString(), null); |
static UserInfo |
PortalsProcs.checkAdministratorMaybeRedirect(HttpServletRequest req,
HttpServletResponse resp,
String groupId,
String redirectLocation)
Redirects to user registration unless the user is a portal administrator (role of "administrator" in the group "Super Administrators" of type "portal_group") |
static UserInfo |
PortalsProcs.checkAdministratorMaybeRedirect(HttpServletRequest req,
HttpServletResponse resp)
Same as checkAdministratorMaybeRedirect(req, resp, null, null) |
Uses of ACSException in com.arsdigita.acs.spam |
Methods in com.arsdigita.acs.spam that throw ACSException | |
static String |
Spam.sendScheduledSpamMessages()
Calls on the spam daemon to send out all spam. |
static String |
Spam.timeWidget(String column)
Returns html code fragment for time input |
static String |
Spam.dateWidget(String column)
Return html code fragment for date input |
static String |
Spam.htmlSelectValueOptions(String sql,
String option,
String value,
String selected_value)
Generate html option tags with values for an html selection widget. |
static String |
Spam.verifyDate(AdSet date)
Takes date values from an AdSet and checks that they are valid. |
static String |
Spam.postNewSpamMessage(String spam_id,
String template_p,
String from_address,
String title,
String body_plain,
String body_html,
String body_aol,
String target_users_description,
String target_users_query,
String send_date,
String creation_user,
String status)
Insert a message to be sent by the spam daemon at a scheduled time send_date. |
static String |
Spam.userClassDescription(AdSet setid)
Takes an AdSet of key/value pairs and produces a human-readable description of the class of users specified. |
static String |
Spam.userClassQuery(AdSet setid)
Takes an AdSet of key/value pairs and produces a query for the class of users specified (one user per row returned). |
static void |
Spam.checkSpamDropZone()
Look for a set of files with names specified from the daily_spam_files table. |
Uses of ACSException in com.arsdigita.acs.ug |
Methods in com.arsdigita.acs.ug that throw ACSException | |
SingleSelection |
GroupDataSource.getSupplementalGroupInfo(Database db)
Returns a list of supplemental fields and values for this group. |
int |
GroupDataSource.getMemberFieldCount(Database db)
Returns the number of additional fields collected about users in this group. |
String |
GroupTypeDataSource.getHelperTableName(Database db)
Returns the helper table name for this group type, creating it if it doesn't exist. |
static void |
UserGroups.adminGroupAddUser(Database db,
Object user_id,
String role,
String module,
String submodule,
String mapping_id,
String mapping_ip)
adds a user to an admin group in a certain role. |
int |
UserGroupFilter.filter(HttpServletRequest req,
HttpServletResponse resp,
ServletContext ctx)
Processes an incoming URL under /groups or /(group-type) and sets appropriate request attributes for the requested URL. |
Constructors in com.arsdigita.acs.ug that throw ACSException | |
SingleGroupDataSource(String module,
String submodule)
Given the module and submodule of an administration group, looks up the group_id. |
|
SingleGroupDataSource(String module)
Same as SingleGroupDataSource(module, null). |
|
GroupMember(String userId)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |