public static String formatSecSessionRqstDeleteByFinishIdx( String separator, UUID argSecUserId, Calendar argFinish) { String retval = "<RqstSecSessionDeleteByFinishIdx " + CFLibXmlUtil.formatRequiredUuid(null, "SecUserId", argSecUserId) + CFLibXmlUtil.formatOptionalTimestamp(separator, "Finish", argFinish) + " />"; return (retval); }
public static String formatSecSessionBuffAttributes( String separator, CFSecuritySecSessionBuff buff) { String retval = CFFreeSwitchXMsgSecSessionMessageFormatter.formatSecSessionPKeyAttributes(separator, buff) + CFLibXmlUtil.formatRequiredInt32(separator, "Revision", buff.getRequiredRevision()) + CFLibXmlUtil.formatRequiredUuid(separator, "SecUserId", buff.getRequiredSecUserId()) + CFLibXmlUtil.formatOptionalXmlString( separator, "SecDevName", buff.getOptionalSecDevName()) + CFLibXmlUtil.formatRequiredTimestamp(separator, "Start", buff.getRequiredStart()) + CFLibXmlUtil.formatOptionalTimestamp(separator, "Finish", buff.getOptionalFinish()) + CFLibXmlUtil.formatOptionalUuid( separator, "SecProxyId", buff.getOptionalSecProxyId()); return (retval); }