|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trackstudio.tools.SecuredBeanUtil
public class SecuredBeanUtil
Класс для преобразования объектов Model в их Secured Bean версии
Field Summary | |
---|---|
static int |
ACL
Тип - правило доступа |
static int |
ATTACHMENT
Тип - приложенный файл |
static int |
BOOKMARK
Тип - закладка |
static int |
CATEGORY
Тип - категория |
static int |
CURRENTFILTER
Тип - текущий фильтр |
static int |
FILTER
Тип - фильтр |
static int |
FILTERTYPE
Тип - тип фильтра |
static int |
FVALUE
Тип - параметры фильтрации |
static int |
MAILIMPORT
Тип - импорт почты |
static int |
MESSAGE
Тип - сообщение |
static int |
MSTATUS
Тип - тип сообщения |
static int |
NOTIFICATION
Тип - нотификация |
static int |
PRIORITY
Тип - приоритет |
static int |
PRSTATUS
Тип - статус |
static int |
REGISTRATION
Тип - правило регистрации |
static int |
REPORT
Тип - отчет |
static int |
RESOLUTION
Тип - резолюция |
static int |
RTYPE
Тип - тип отчета |
static int |
STATUS
Тип - состояние |
static int |
SUBSCRIPTION
Тип - подписка |
static int |
TASK
Тип - задача |
static int |
TASKFVALUE
Тап - параметры фильтрации задач |
static int |
TASKUDF
Тип - пользовательское поле для задачи |
static int |
TEMPLATE
Тип - шаблон |
static int |
TRANSITION
Тип - переход между состояниями |
static int |
UDF
Тип - пользовательское поле |
static int |
UDFLIST
Тип - список пользовательских полей |
static int |
UDFVALUE
Тип - значение пользовательского поля |
static int |
UNKNOWN
Тип - неизветный |
static int |
USER
Тип - пользователь |
static int |
USERFVALUE
Тип - параметры фильтрации для пользователей |
static int |
USERUDF
Тип - пользовательское поле для пользователя |
static int |
WORKFLOW
Тип - процесс |
static int |
WORKFLOWUDF
Тип - пользовательское поля для процесса |
Constructor Summary | |
---|---|
SecuredBeanUtil()
|
Method Summary | |
---|---|
static java.util.ArrayList |
toArrayList(SessionContext sc,
java.util.Collection modelList)
Возвращает список Secured-бинов, список создается на основе передаваемых в метод моделей. |
static java.util.ArrayList |
toArrayList(SessionContext sc,
java.util.Collection modelList,
int type)
Возвращает список Secured-бинов, список создается на основе передаваемых в метод моделей и типа создаваемого Secured-бина. |
static java.util.ArrayList |
toArrayListWithoutCanView(SessionContext sc,
java.util.Collection modelList)
Возвращает список Secured-бинов, список создается на основе передаваемых в метод моделей. |
static java.util.ArrayList |
toArrayListWithoutCanView(SessionContext sc,
java.util.Collection modelList,
int type)
Возвращает список Secured-бинов, список создается на основе передаваемых в метод моделей и типа создаваемого Secured-бина. |
static java.util.List |
toList(SessionContext sc,
java.util.Collection modelList,
int type)
Возвращает список Secured-бинов, список создается на основе передаваемых в метод моделей и типа создаваемого Secured-бина. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ACL
public static final int CATEGORY
public static final int CURRENTFILTER
public static final int FILTER
public static final int FILTERTYPE
public static final int FVALUE
public static final int MAILIMPORT
public static final int MESSAGE
public static final int MSTATUS
public static final int NOTIFICATION
public static final int PRIORITY
public static final int PRSTATUS
public static final int REGISTRATION
public static final int REPORT
public static final int RESOLUTION
public static final int RTYPE
public static final int STATUS
public static final int SUBSCRIPTION
public static final int TASK
public static final int TASKFVALUE
public static final int TASKUDF
public static final int UDF
public static final int UDFLIST
public static final int UDFVALUE
public static final int USER
public static final int USERFVALUE
public static final int USERUDF
public static final int WORKFLOW
public static final int WORKFLOWUDF
public static final int UNKNOWN
public static final int ATTACHMENT
public static final int TRANSITION
public static final int TEMPLATE
public static final int BOOKMARK
Constructor Detail |
---|
public SecuredBeanUtil()
Method Detail |
---|
public static java.util.List toList(SessionContext sc, java.util.Collection modelList, int type) throws GranException
sc
- сессия пользователяmodelList
- список моделейtype
- тип Secured-бина
GranException
- при необходимостиcom.trackstudio.model
public static java.util.ArrayList toArrayList(SessionContext sc, java.util.Collection modelList, int type) throws GranException
sc
- сессия пользователяmodelList
- список моделейtype
- тип Secured-бина
GranException
- при необходимостиcom.trackstudio.model
public static java.util.ArrayList toArrayList(SessionContext sc, java.util.Collection modelList) throws GranException
sc
- сессия пользователяmodelList
- список моделей
GranException
- при необходимостиcom.trackstudio.model
public static java.util.ArrayList toArrayListWithoutCanView(SessionContext sc, java.util.Collection modelList) throws GranException
sc
- сессия пользователяmodelList
- список моделей
GranException
- при необходимостиcom.trackstudio.model
public static java.util.ArrayList toArrayListWithoutCanView(SessionContext sc, java.util.Collection modelList, int type) throws GranException
sc
- сессия пользователяmodelList
- список моделейtype
- тип Secured-бина
GranException
- при необходимостиcom.trackstudio.model
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |