|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.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 |
|---|
accessLevel, CM_CONTAINERLINK_ID_AD_Reference_ID, CONTAINERTYPE_AD_Reference_ID, CONTAINERTYPE_Document, CONTAINERTYPE_ExternalURL, CONTAINERTYPE_InternalLink, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MContainer(Ctx ctx,
int CM_Container_ID,
String trxName)
Standard Constructor |
|
MContainer(Ctx 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 |
deploy(MWebProject project,
MCStage stage,
String path)
Deploy Stage into Container |
static MContainer |
get(Ctx ctx,
int CM_Container_ID,
int CM_WebProject_Id,
String trxName)
get Container |
static MContainer |
get(Ctx 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 |
getByName(Ctx ctx,
String Name,
int CM_WebProject_Id,
String trxName)
get Container by Name |
static MContainer |
getByTitle(Ctx ctx,
String Title,
int CM_WebProject_Id,
String trxName)
get Container by Title |
static MContainer[] |
getContainers(MWebProject project)
Get Containers |
static MContainer |
getDirect(Ctx 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, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MContainer(Ctx ctx,
int CM_Container_ID,
String trxName)
ctx - contextCM_Container_ID - idtrxName - transaction
public MContainer(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MContainer get(Ctx ctx,
String relURL,
int CM_WebProject_Id,
String trxName)
ctx - relURL - CM_WebProject_Id - trxName -
public static MContainer getByName(Ctx ctx,
String Name,
int CM_WebProject_Id,
String trxName)
ctx - Name - CM_WebProject_Id - trxName -
public static MContainer getByTitle(Ctx ctx,
String Title,
int CM_WebProject_Id,
String trxName)
ctx - Title - CM_WebProject_Id - trxName -
public static MContainer get(Ctx ctx,
int CM_Container_ID,
int CM_WebProject_Id,
String trxName)
ctx - CM_Container_ID - CM_WebProject_Id - trxName -
public static MContainer deploy(MWebProject project,
MCStage stage,
String path)
project - WebProjectstage - Stage to deploy frompath - Relative URL to it
public static MContainer getDirect(Ctx 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 -
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||