2006-12-14 22:20:13 +01:00
|
|
|
{ /* -*-javascript-*- */
|
2007-03-29 20:05:59 +02:00
|
|
|
requires = ( MAIN, MainUI, CommonUI, Contacts );
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2006-12-14 22:20:13 +01:00
|
|
|
publicResources = ();
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2006-12-14 22:20:13 +01:00
|
|
|
factories = {};
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
categories = {
|
2006-12-14 22:20:13 +01:00
|
|
|
SOGoContactFolders = {
|
|
|
|
methods = {
|
|
|
|
view = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
};
|
|
|
|
new = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "new";
|
|
|
|
};
|
|
|
|
mailer-contacts = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "selectForMailer";
|
|
|
|
};
|
2007-03-29 20:05:59 +02:00
|
|
|
contactSearch = {
|
2007-05-03 17:13:39 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactFoldersView";
|
2007-03-29 20:05:59 +02:00
|
|
|
actionName = "contactSearch";
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
updateAdditionalAddressBooks = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "updateAdditionalAddressBooks";
|
|
|
|
};
|
|
|
|
acls = {
|
|
|
|
protectedBy = "ReadAcls";
|
|
|
|
pageName = "UIxAclEditor";
|
|
|
|
};
|
|
|
|
saveAcls = {
|
|
|
|
protectedBy = "SaveAcls";
|
|
|
|
pageName = "UIxAclEditor";
|
2007-03-29 20:05:59 +02:00
|
|
|
actionName = "saveAcls";
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
2006-12-20 23:47:30 +01:00
|
|
|
checkRights = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "checkRights";
|
|
|
|
};
|
2007-03-29 20:05:59 +02:00
|
|
|
userFolders = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactsUserFolders";
|
|
|
|
};
|
2008-02-04 23:22:14 +01:00
|
|
|
dragHandlesState = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "getDragHandlesState";
|
|
|
|
};
|
|
|
|
saveDragHandleState = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactFoldersView";
|
|
|
|
actionName = "saveDragHandleState";
|
|
|
|
};
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
};
|
2006-08-05 01:03:34 +02:00
|
|
|
|
2007-05-09 21:04:07 +02:00
|
|
|
/* both following class should be "reparented" so as to only have
|
|
|
|
SOGoContactFolder here... */
|
2006-12-14 22:20:13 +01:00
|
|
|
SOGoContactGCSFolder = {
|
|
|
|
slots = {
|
|
|
|
toolbar = {
|
|
|
|
protectedBy = "View";
|
|
|
|
value = "SOGoContactFolder.toolbar";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
methods = {
|
|
|
|
view = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactsListView";
|
|
|
|
};
|
|
|
|
new = {
|
2007-04-28 00:05:17 +02:00
|
|
|
protectedBy = "Add Documents, Images, and Files";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
actionName = "new";
|
|
|
|
};
|
|
|
|
mailer-contacts = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactsListView";
|
2007-03-29 20:05:59 +02:00
|
|
|
actionName = "mailerContacts";
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
2007-04-28 00:05:17 +02:00
|
|
|
userRights = {
|
|
|
|
protectedBy = "ReadAcls";
|
|
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
|
|
};
|
|
|
|
saveUserRights = {
|
|
|
|
protectedBy = "SaveAcls";
|
|
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
|
|
actionName = "saveUserRights";
|
|
|
|
};
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
};
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2006-12-14 22:20:13 +01:00
|
|
|
SOGoContactLDAPFolder = {
|
|
|
|
slots = {
|
|
|
|
toolbar = {
|
|
|
|
protectedBy = "View";
|
|
|
|
value = "SOGoContactFolder.toolbar";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
methods = {
|
|
|
|
view = {
|
2007-05-09 21:04:07 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactsListView";
|
|
|
|
};
|
|
|
|
new = {
|
2007-05-09 21:04:07 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
actionName = "new";
|
|
|
|
};
|
|
|
|
mailer-contacts = {
|
2007-05-09 21:04:07 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactsListView";
|
|
|
|
actionName = "mailerContacts";
|
|
|
|
};
|
2007-03-29 20:05:59 +02:00
|
|
|
canAccessContent = {
|
2007-05-09 21:04:07 +02:00
|
|
|
protectedBy = "<public>";
|
2007-06-01 22:35:20 +02:00
|
|
|
actionClass = "UIxFolderActions";
|
2007-03-29 20:05:59 +02:00
|
|
|
actionName = "canAccessContent";
|
|
|
|
};
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
};
|
2006-08-09 23:37:35 +02:00
|
|
|
|
2006-12-14 22:20:13 +01:00
|
|
|
SOGoContactGCSEntry = {
|
|
|
|
methods = {
|
|
|
|
view = {
|
2007-04-28 00:05:17 +02:00
|
|
|
protectedBy = "Access Contents Information";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactView";
|
|
|
|
};
|
|
|
|
delete = {
|
2007-04-28 00:05:17 +02:00
|
|
|
protectedBy = "Delete Objects";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactView";
|
|
|
|
actionName = "delete";
|
|
|
|
};
|
|
|
|
edit = {
|
2007-11-07 16:58:43 +01:00
|
|
|
protectedBy = "Access Contents Information";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
};
|
|
|
|
save = {
|
2007-04-28 00:05:17 +02:00
|
|
|
protectedBy = "Change Images And Files";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
actionName = "save";
|
|
|
|
};
|
|
|
|
write = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
actionName = "write";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2006-08-09 23:37:35 +02:00
|
|
|
|
2007-05-09 21:04:07 +02:00
|
|
|
SOGoContactLDIFEntry = {
|
2006-12-14 22:20:13 +01:00
|
|
|
methods = {
|
|
|
|
view = {
|
2007-05-09 21:04:07 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactView";
|
|
|
|
};
|
|
|
|
edit = {
|
2007-11-09 17:40:15 +01:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
};
|
2007-12-07 00:42:56 +01:00
|
|
|
write = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "UIxContactEditor";
|
|
|
|
actionName = "write";
|
|
|
|
};
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
};
|
2006-06-15 21:34:10 +02:00
|
|
|
};
|
|
|
|
}
|
2006-12-14 22:20:13 +01:00
|
|
|
|