|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_CM_Container
org.compiere.model.MContainer
public class MContainer
Container Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_CM_Container |
|---|
CM_CONTAINERLINK_ID_AD_Reference_ID, CONTAINERTYPE_AD_Reference_ID, CONTAINERTYPE_Document, CONTAINERTYPE_ExternalURL, CONTAINERTYPE_InternalLink |
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MContainer(Properties ctx,
int CM_Container_ID,
String trxName)
Standard Constructor |
|
MContainer(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save. |
protected boolean |
beforeDelete()
Executed before Delete operation. |
static MContainer |
copy(MWebProject project,
MCStage stage,
String path)
Copy Stage into Container |
static MContainer |
get(Properties ctx,
int CM_Container_ID,
int CM_WebProject_Id,
String trxName)
get Container |
static MContainer |
get(Properties ctx,
String relURL,
int CM_WebProject_Id,
String trxName)
get Container by Relative URL |
int |
getAD_Tree_ID()
Get AD_Tree_ID |
protected MContainerElement[] |
getAllElements()
|
static MContainer[] |
getContainers(MWebProject project)
Get Containers |
static MContainer |
getDirect(Properties ctx,
int CM_Container_ID,
String trxName)
Get Container directly from DB (not cached) |
MTemplate |
getTemplate()
Get Template from Cache, or load it |
MWebProject |
getWebProject()
Get Web Project |
void |
reIndex(boolean newRecord)
reIndex |
protected int |
saveNew_getID()
SaveNew getID |
protected void |
setStage(MWebProject project,
MCStage stage,
String path)
Set/Copy Stage |
String |
toString()
String Representation |
protected void |
updateElements(MWebProject project,
MCStage stage,
String trxName)
Update Elements in Container from Stage |
protected void |
updateTTables(MWebProject project,
MCStage stage,
String trxName)
Update Elements in Container from Stage |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MContainer(Properties ctx,
int CM_Container_ID,
String trxName)
ctx - contextCM_Container_ID - idtrxName - transaction
public MContainer(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MContainer get(Properties ctx,
String relURL,
int CM_WebProject_Id,
String trxName)
ctx - relURL - CM_WebProject_Id - trxName -
public static MContainer get(Properties ctx,
int CM_Container_ID,
int CM_WebProject_Id,
String trxName)
ctx - CM_Container_ID - CM_WebProject_Id - trxName -
public static MContainer copy(MWebProject project,
MCStage stage,
String path)
project - WebProjectstage - Stage to copy frompath - Relative URL to it
public static MContainer getDirect(Properties ctx,
int CM_Container_ID,
String trxName)
ctx - contextCM_Container_ID - Container IDtrxName - transaction
public static MContainer[] getContainers(MWebProject project)
project - Project to use
public MWebProject getWebProject()
public MTemplate getTemplate()
public int getAD_Tree_ID()
protected void setStage(MWebProject project,
MCStage stage,
String path)
project - parentstage - stagepath - path
protected void updateElements(MWebProject project,
MCStage stage,
String trxName)
project - projectstage - stagetrxName - Transaction
protected void updateTTables(MWebProject project,
MCStage stage,
String trxName)
project - projectstage - stagetrxName - Transactionprotected int saveNew_getID()
saveNew_getID in class POpublic String toString()
toString in class X_CM_Container
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - insertsuccess - save success
protected MContainerElement[] getAllElements()
protected boolean beforeDelete()
PO
beforeDelete in class POprotected boolean afterDelete(boolean success)
afterDelete in class POsuccess -
public void reIndex(boolean newRecord)
newRecord -
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||