📄 securitylinkinfo.java
字号:
/*
*
* Copyright (c) 2004 SourceTap - www.sourcetap.com
*
* The contents of this file are subject to the SourceTap Public License
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sourcetap.com/license.htm
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
*/
package com.sourcetap.sfa.security;
/** used to map linkage between entityAccess and application tables
* Entity Access for some tables (Accounts/Deals) is set explicitly
* Other tables (contacts) are granted implicit access based on the access granted to parent rows (Accounts)
*/
public class SecurityLinkInfo {
public String entityName = null;
public String attributeName = null;
public boolean createEntityAccess = false;
public SecurityLinkInfo() {
}
public SecurityLinkInfo(String entityName_, String attributeName_) {
entityName = entityName_;
attributeName = attributeName_;
}
public SecurityLinkInfo(String entityName_, String attributeName_,
boolean createEntityAccess_) {
entityName = entityName_;
attributeName = attributeName_;
createEntityAccess = createEntityAccess_;
}
/**
* DOCUMENT ME!
*
* @return
*/
public String getEntityName() {
return entityName;
}
/**
* DOCUMENT ME!
*
* @return
*/
public String getAttributeName() {
return attributeName;
}
/**
* DOCUMENT ME!
*
* @return
*/
public boolean getCreateEntityAccess() {
return createEntityAccess;
}
/**
* DOCUMENT ME!
*
* @param entityName_
*/
public void setEntityName(String entityName_) {
entityName = entityName_;
}
/**
* DOCUMENT ME!
*
* @param attrbuteName_
*/
public void setAttributeName(String attrbuteName_) {
attributeName = attrbuteName_;
}
/**
* DOCUMENT ME!
*
* @param createEntityAccess_
*/
public void setCreateEntityAccess(boolean createEntityAccess_) {
createEntityAccess = createEntityAccess_;
}
/**
* DOCUMENT ME!
*
* @return
*/
public String toString() {
return entityName + "." + attributeName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -