Package org.brerp.base.model
Class MCOFRestricaoAcesso
java.lang.Object
org.compiere.model.PO
org.brerp.base.model.X_COF_RestricaoAcesso
org.brerp.base.model.MCOFRestricaoAcesso
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_RestricaoAcesso
,I_Persistent
,Evaluatee
- Author:
- batata
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.brerp.base.model.I_COF_RestricaoAcesso
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_COF_BloquearOutrosDias, COLUMNNAME_COF_Domingo, COLUMNNAME_COF_DomingoHoraFim, COLUMNNAME_COF_DomingoHoraInicio, COLUMNNAME_COF_Quarta, COLUMNNAME_COF_QuartaHoraFim, COLUMNNAME_COF_QuartaHoraInicio, COLUMNNAME_COF_Quinta, COLUMNNAME_COF_QuintaHoraFim, COLUMNNAME_COF_QuintaHoraInicio, COLUMNNAME_COF_RestricaoAcesso_ID, COLUMNNAME_COF_RestricaoAcesso_Org_ID, COLUMNNAME_COF_RestricaoAcesso_UU, COLUMNNAME_COF_Role_ID, COLUMNNAME_COF_Sabado, COLUMNNAME_COF_SabadoHoraFim, COLUMNNAME_COF_SabadoHoraInicial, COLUMNNAME_COF_Segunda, COLUMNNAME_COF_SegundaHoraFim, COLUMNNAME_COF_SegundaHoraInicio, COLUMNNAME_COF_Sexta, COLUMNNAME_COF_SextaHoraFim, COLUMNNAME_COF_SextaHoraInicio, COLUMNNAME_COF_Terca, COLUMNNAME_COF_TercaHoraFim, COLUMNNAME_COF_TercaHoraInicio, COLUMNNAME_COF_TodosOsDias, COLUMNNAME_COF_TodosOsDiasHoraFim, COLUMNNAME_COF_TodosOsDiasHoraInicio, COLUMNNAME_COF_User_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_PriorityNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMCOFRestricaoAcesso
(Properties ctx, int COF_RestricaoAcesso_ID, String trxName) MCOFRestricaoAcesso
(Properties ctx, int COF_RestricaoAcesso_ID, String trxName, String... virtualColumns) MCOFRestricaoAcesso
(Properties ctx, String COF_RestricaoAcesso_UU, String trxName) MCOFRestricaoAcesso
(Properties ctx, String COF_RestricaoAcesso_UU, String trxName, String... virtualColumns) MCOFRestricaoAcesso
(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
beforeSave
(boolean newRecord) Called before Save for Pre-Save Operationstatic void
getRestricoes
(int adUserID, int adRoleID, int adOrgID, String trxName) Methods inherited from class org.brerp.base.model.X_COF_RestricaoAcesso
get_AccessLevel, getCOF_DomingoHoraFim, getCOF_DomingoHoraInicio, getCOF_QuartaHoraFim, getCOF_QuartaHoraInicio, getCOF_QuintaHoraFim, getCOF_QuintaHoraInicio, getCOF_RestricaoAcesso_ID, getCOF_RestricaoAcesso_Org_ID, getCOF_RestricaoAcesso_UU, getCOF_Role, getCOF_Role_ID, getCOF_SabadoHoraFim, getCOF_SabadoHoraInicial, getCOF_SegundaHoraFim, getCOF_SegundaHoraInicio, getCOF_SextaHoraFim, getCOF_SextaHoraInicio, getCOF_TercaHoraFim, getCOF_TercaHoraInicio, getCOF_TodosOsDiasHoraFim, getCOF_TodosOsDiasHoraInicio, getCOF_User, getCOF_User_ID, getPriorityNo, initPO, isCOF_BloquearOutrosDias, isCOF_Domingo, isCOF_Quarta, isCOF_Quinta, isCOF_Sabado, isCOF_Segunda, isCOF_Sexta, isCOF_Terca, isCOF_TodosOsDias, setCOF_BloquearOutrosDias, setCOF_Domingo, setCOF_DomingoHoraFim, setCOF_DomingoHoraInicio, setCOF_Quarta, setCOF_QuartaHoraFim, setCOF_QuartaHoraInicio, setCOF_Quinta, setCOF_QuintaHoraFim, setCOF_QuintaHoraInicio, setCOF_RestricaoAcesso_ID, setCOF_RestricaoAcesso_Org_ID, setCOF_RestricaoAcesso_UU, setCOF_Role_ID, setCOF_Sabado, setCOF_SabadoHoraFim, setCOF_SabadoHoraInicial, setCOF_Segunda, setCOF_SegundaHoraFim, setCOF_SegundaHoraInicio, setCOF_Sexta, setCOF_SextaHoraFim, setCOF_SextaHoraInicio, setCOF_Terca, setCOF_TercaHoraFim, setCOF_TercaHoraInicio, setCOF_TodosOsDias, setCOF_TodosOsDiasHoraFim, setCOF_TodosOsDiasHoraInicio, setCOF_User_ID, setPriorityNo, toString
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.brerp.base.model.I_COF_RestricaoAcesso
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
MCOFRestricaoAcesso
- Parameters:
ctx
-COF_RestricaoAcesso_ID
-trxName
-
-
MCOFRestricaoAcesso
- Parameters:
ctx
-rs
-trxName
-
-
MCOFRestricaoAcesso
public MCOFRestricaoAcesso(Properties ctx, int COF_RestricaoAcesso_ID, String trxName, String... virtualColumns) -
MCOFRestricaoAcesso
public MCOFRestricaoAcesso(Properties ctx, String COF_RestricaoAcesso_UU, String trxName, String... virtualColumns) -
MCOFRestricaoAcesso
-
-
Method Details
-
getRestricoes
-
beforeSave
protected boolean beforeSave(boolean newRecord) Description copied from class:PO
Called before Save for Pre-Save Operation- Overrides:
beforeSave
in classPO
- Parameters:
newRecord
- new record- Returns:
- true if record can be saved
-