rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
new Object[] { paramObj0, paramObj1, paramObj2, paramObj3, paramObj4 });
new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
public static void deleteDiscussionMessage(HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 ...
java.lang.String topicId, java.lang.String messageId)
java.lang.String messageId)
public static void deleteMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); } ...
Object paramObj0 = topicId;
Object paramObj0 = messageId;
public static void deleteMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); } ...
if (topicId == null) {
if (messageId == null) {
public static void deleteMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); } ...
Object paramObj1 = messageId; if (messageId == null) { paramObj1 = new NullWrapper("java.lang.String"); }
public static void deleteMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); } ...
"deleteMessage", new Object[] { paramObj0, paramObj1 });
"deleteMessage", new Object[] { paramObj0 });
public static void deleteMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); } ...
HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId)
HttpPrincipal httpPrincipal, java.lang.String messageId)
public static com.liferay.portlet.messageboards.model.MBMessage getMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0...
Object paramObj0 = topicId;
Object paramObj0 = messageId;
public static com.liferay.portlet.messageboards.model.MBMessage getMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0...
if (topicId == null) {
if (messageId == null) {
public static com.liferay.portlet.messageboards.model.MBMessage getMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0...
Object paramObj1 = messageId; if (messageId == null) { paramObj1 = new NullWrapper("java.lang.String"); }
public static com.liferay.portlet.messageboards.model.MBMessage getMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0...
"getMessage", new Object[] { paramObj0, paramObj1 });
"getMessage", new Object[] { paramObj0 });
public static com.liferay.portlet.messageboards.model.MBMessage getMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0...
java.lang.String topicId, java.lang.String messageId)
java.lang.String messageId)
public static void subscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); ...
Object paramObj0 = topicId;
Object paramObj0 = messageId;
public static void subscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); ...
if (topicId == null) {
if (messageId == null) {
public static void subscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); ...
Object paramObj1 = messageId; if (messageId == null) { paramObj1 = new NullWrapper("java.lang.String"); }
public static void subscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); ...
"subscribeMessage", new Object[] { paramObj0, paramObj1 });
"subscribeMessage", new Object[] { paramObj0 });
public static void subscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String"); ...
java.lang.String topicId, java.lang.String messageId)
java.lang.String messageId)
public static void unsubscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String");...
Object paramObj0 = topicId;
Object paramObj0 = messageId;
public static void unsubscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String");...
if (topicId == null) {
if (messageId == null) {
public static void unsubscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String");...
Object paramObj1 = messageId; if (messageId == null) { paramObj1 = new NullWrapper("java.lang.String"); }
public static void unsubscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String");...
"unsubscribeMessage", new Object[] { paramObj0, paramObj1 });
"unsubscribeMessage", new Object[] { paramObj0 });
public static void unsubscribeMessage(HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { Object paramObj0 = topicId; if (topicId == null) { paramObj0 = new NullWrapper("java.lang.String");...
java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body)
java.lang.String messageId, java.lang.String subject, java.lang.String body)
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
Object paramObj3 = topicId;
Object paramObj3 = messageId;
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
if (topicId == null) {
if (messageId == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
Object paramObj4 = messageId;
Object paramObj4 = subject;
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
if (messageId == null) {
if (subject == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
Object paramObj5 = subject; if (subject == null) { paramObj5 = new NullWrapper("java.lang.String"); } Object paramObj6 = body;
Object paramObj5 = body;
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
paramObj6 = new NullWrapper("java.lang.String");
paramObj5 = new NullWrapper("java.lang.String");
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
paramObj5, paramObj6
paramObj5
public static com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage( HttpPrincipal httpPrincipal, java.lang.String groupId, java.lang.String className, java.lang.String classPK, java.lang.String topicId, java.lang.String messageId, java.lang.String subject, java.lang.String body) throws com.li...
HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files)
HttpPrincipal httpPrincipal, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files)
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
Object paramObj0 = topicId;
Object paramObj0 = messageId;
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
if (topicId == null) {
if (messageId == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
Object paramObj1 = messageId;
Object paramObj1 = categoryId;
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
if (messageId == null) {
if (categoryId == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
Object paramObj2 = categoryId;
Object paramObj2 = subject;
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
if (categoryId == null) {
if (subject == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
Object paramObj3 = subject;
Object paramObj3 = body;
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
if (subject == null) {
if (body == null) {
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
Object paramObj4 = body; if (body == null) { paramObj4 = new NullWrapper("java.lang.String"); } Object paramObj5 = files;
Object paramObj4 = files;
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
paramObj5 = new NullWrapper("java.util.List");
paramObj4 = new NullWrapper("java.util.List");
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
paramObj0, paramObj1, paramObj2, paramObj3, paramObj4, paramObj5
paramObj0, paramObj1, paramObj2, paramObj3, paramObj4
public static com.liferay.portlet.messageboards.model.MBMessage updateMessage( HttpPrincipal httpPrincipal, java.lang.String topicId, java.lang.String messageId, java.lang.String categoryId, java.lang.String subject, java.lang.String body, java.util.List files) throws com.liferay.portal.PortalException, com.lif...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public int countByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append("SELECT COUNT(*) "); query.append( "FROM ReportsEntry IN CLASS ...
query.append("companyId is null");
query.append("companyId IS NULL");
public int countByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append("SELECT COUNT(*) "); query.append( "FROM ReportsEntry IN CLASS ...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public int countByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append("SELECT COUNT(*) "); query.append( "FROM ReportsEntry IN CLASS com.ex...
query.append("userId is null");
query.append("userId IS NULL");
public int countByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append("SELECT COUNT(*) "); query.append( "FROM ReportsEntry IN CLASS com.ex...
public com.ext.portlet.reports.model.ReportsEntry create(String entryId) { ReportsEntryHBM reportsEntryHBM = new ReportsEntryHBM(); reportsEntryHBM.setNew(true); reportsEntryHBM.setPrimaryKey(entryId);
public ReportsEntry create(String entryId) { ReportsEntry reportsEntry = new ReportsEntry(); reportsEntry.setNew(true); reportsEntry.setPrimaryKey(entryId);
public com.ext.portlet.reports.model.ReportsEntry create(String entryId) { ReportsEntryHBM reportsEntryHBM = new ReportsEntryHBM(); reportsEntryHBM.setNew(true); reportsEntryHBM.setPrimaryKey(entryId); return ReportsEntryHBMUtil.model(reportsEntryHBM); }
return ReportsEntryHBMUtil.model(reportsEntryHBM);
return reportsEntry;
public com.ext.portlet.reports.model.ReportsEntry create(String entryId) { ReportsEntryHBM reportsEntryHBM = new ReportsEntryHBM(); reportsEntryHBM.setNew(true); reportsEntryHBM.setPrimaryKey(entryId); return ReportsEntryHBMUtil.model(reportsEntryHBM); }
query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM ");
query.append("FROM com.ext.portlet.reports.model.ReportsEntry ");
public List findAll() throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM "); ...
Iterator itr = q.iterate(); List list = new ArrayList();
public List findAll() throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM "); ...
while (itr.hasNext()) { ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) itr.next(); list.add(ReportsEntryHBMUtil.model(reportsEntryHBM)); } return list;
return q.list();
public List findAll() throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM "); ...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public List findByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.R...
query.append("companyId is null");
query.append("companyId IS NULL");
public List findByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.R...
Iterator itr = q.list().iterator(); List list = new ArrayList(); while (itr.hasNext()) { ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) itr.next(); list.add(ReportsEntryHBMUtil.model(reportsEntryHBM)); }
List list = q.list();
public List findByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.R...
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_First( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException {
public ReportsEntry findByCompanyId_First(String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException {
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_First( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { List list = findByCompanyId(companyId, 0, 1, obc); if (list.size() == 0) { String msg = "No ReportsEntry exists with...
return (com.ext.portlet.reports.model.ReportsEntry) list.get(0);
return (ReportsEntry) list.get(0);
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_First( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { List list = findByCompanyId(companyId, 0, 1, obc); if (list.size() == 0) { String msg = "No ReportsEntry exists with...
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_Last( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException {
public ReportsEntry findByCompanyId_Last(String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException {
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_Last( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { int count = countByCompanyId(companyId); List list = findByCompanyId(companyId, count - 1, count, obc); if (list.size() =...
return (com.ext.portlet.reports.model.ReportsEntry) list.get(0);
return (ReportsEntry) list.get(0);
public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_Last( String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { int count = countByCompanyId(companyId); List list = findByCompanyId(companyId, count - 1, count, obc); if (list.size() =...
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc)
public ReportsEntry[] findByCompanyId_PrevAndNext(String entryId, String companyId, OrderByComparator obc)
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countB...
com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId);
ReportsEntry reportsEntry = findByPrimaryKey(entryId);
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countB...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countB...
query.append("companyId is null");
query.append("companyId IS NULL");
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countB...
reportsEntry, ReportsEntryHBMUtil.getInstance()); com.ext.portlet.reports.model.ReportsEntry[] array = new com.ext.portlet.reports.model.ReportsEntry[3]; array[0] = (com.ext.portlet.reports.model.ReportsEntry) objArray[0]; array[1] = (com.ext.portlet.reports.model.ReportsEntry) objArray[1]; array[2] = (com.ext.portlet....
reportsEntry); ReportsEntry[] array = new ReportsEntry[3]; array[0] = (ReportsEntry) objArray[0]; array[1] = (ReportsEntry) objArray[1]; array[2] = (ReportsEntry) objArray[2];
public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext( String entryId, String companyId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countB...
public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey( String entryId) throws NoSuchEntryException, SystemException {
public ReportsEntry findByPrimaryKey(String entryId) throws NoSuchEntryException, SystemException {
public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey( String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class,
ReportsEntry reportsEntry = (ReportsEntry) session.get(ReportsEntry.class,
public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey( String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
if (reportsEntryHBM == null) {
if (reportsEntry == null) {
public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey( String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
return ReportsEntryHBMUtil.model(reportsEntryHBM);
return reportsEntry;
public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey( String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public List findByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Reports...
query.append("userId is null");
query.append("userId IS NULL");
public List findByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Reports...
Iterator itr = q.list().iterator(); List list = new ArrayList(); while (itr.hasNext()) { ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) itr.next(); list.add(ReportsEntryHBMUtil.model(reportsEntryHBM)); }
List list = q.list();
public List findByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Reports...
public com.ext.portlet.reports.model.ReportsEntry findByUserId_First( String userId, OrderByComparator obc)
public ReportsEntry findByUserId_First(String userId, OrderByComparator obc)
public com.ext.portlet.reports.model.ReportsEntry findByUserId_First( String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { List list = findByUserId(userId, 0, 1, obc); if (list.size() == 0) { String msg = "No ReportsEntry exists with the key "; ...
return (com.ext.portlet.reports.model.ReportsEntry) list.get(0);
return (ReportsEntry) list.get(0);
public com.ext.portlet.reports.model.ReportsEntry findByUserId_First( String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { List list = findByUserId(userId, 0, 1, obc); if (list.size() == 0) { String msg = "No ReportsEntry exists with the key "; ...
public com.ext.portlet.reports.model.ReportsEntry findByUserId_Last( String userId, OrderByComparator obc)
public ReportsEntry findByUserId_Last(String userId, OrderByComparator obc)
public com.ext.portlet.reports.model.ReportsEntry findByUserId_Last( String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { int count = countByUserId(userId); List list = findByUserId(userId, count - 1, count, obc); if (list.size() == 0) { ...
return (com.ext.portlet.reports.model.ReportsEntry) list.get(0);
return (ReportsEntry) list.get(0);
public com.ext.portlet.reports.model.ReportsEntry findByUserId_Last( String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { int count = countByUserId(userId); List list = findByUserId(userId, count - 1, count, obc); if (list.size() == 0) { ...
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc)
public ReportsEntry[] findByUserId_PrevAndNext(String entryId, String userId, OrderByComparator obc)
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI...
com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId);
ReportsEntry reportsEntry = findByPrimaryKey(entryId);
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI...
query.append("userId is null");
query.append("userId IS NULL");
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI...
reportsEntry, ReportsEntryHBMUtil.getInstance()); com.ext.portlet.reports.model.ReportsEntry[] array = new com.ext.portlet.reports.model.ReportsEntry[3]; array[0] = (com.ext.portlet.reports.model.ReportsEntry) objArray[0]; array[1] = (com.ext.portlet.reports.model.ReportsEntry) objArray[1]; array[2] = (com.ext.portlet....
reportsEntry); ReportsEntry[] array = new ReportsEntry[3]; array[0] = (ReportsEntry) objArray[0]; array[1] = (ReportsEntry) objArray[1]; array[2] = (ReportsEntry) objArray[2];
public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI...
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId)
public ReportsEntry remove(String entryId)
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class,
ReportsEntry reportsEntry = (ReportsEntry) session.get(ReportsEntry.class,
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
if (reportsEntryHBM == null) {
if (reportsEntry == null) {
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
session.delete(reportsEntryHBM);
session.delete(reportsEntry);
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
return ReportsEntryHBMUtil.model(reportsEntryHBM);
return reportsEntry;
public com.ext.portlet.reports.model.ReportsEntry remove(String entryId) throws NoSuchEntryException, SystemException { Session session = null; try { session = openSession(); ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class, ...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public void removeByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence...
query.append("companyId is null");
query.append("companyId IS NULL");
public void removeByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence...
ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) itr.next(); session.delete(reportsEntryHBM);
ReportsEntry reportsEntry = (ReportsEntry) itr.next(); session.delete(reportsEntry);
public void removeByCompanyId(String companyId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence...
"FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.ReportsEntryHBM WHERE ");
"FROM com.ext.portlet.reports.model.ReportsEntry WHERE ");
public void removeByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Repor...
query.append("userId is null");
query.append("userId IS NULL");
public void removeByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Repor...
ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) itr.next(); session.delete(reportsEntryHBM);
ReportsEntry reportsEntry = (ReportsEntry) itr.next(); session.delete(reportsEntry);
public void removeByUserId(String userId) throws SystemException { Session session = null; try { session = openSession(); StringBuffer query = new StringBuffer(); query.append( "FROM ReportsEntry IN CLASS com.ext.portlet.reports.service.persistence.Repor...
ReportsEntryHBM reportsEntryHBM = new ReportsEntryHBM(); reportsEntryHBM.setEntryId(reportsEntry.getEntryId()); reportsEntryHBM.setCompanyId(reportsEntry.getCompanyId()); reportsEntryHBM.setUserId(reportsEntry.getUserId()); reportsEntryHBM.setUserName(reportsEntry.getUserName()); reportsEntryHBM.setCreateDate(reportsEn...
ReportsEntry reportsEntryModel = new ReportsEntry(); reportsEntryModel.setEntryId(reportsEntry.getEntryId()); reportsEntryModel.setCompanyId(reportsEntry.getCompanyId()); reportsEntryModel.setUserId(reportsEntry.getUserId()); reportsEntryModel.setUserName(reportsEntry.getUserName()); reportsEntryModel.setCreateDate(rep...
public com.ext.portlet.reports.model.ReportsEntry update( com.ext.portlet.reports.model.ReportsEntry reportsEntry) throws SystemException { Session session = null; try { if (reportsEntry.isNew() || reportsEntry.isModified()) { session = openSession(); ...
ReportsEntryHBM reportsEntryHBM = (ReportsEntryHBM) session.get(ReportsEntryHBM.class,
ReportsEntry reportsEntryModel = (ReportsEntry) session.get(ReportsEntry.class,
public com.ext.portlet.reports.model.ReportsEntry update( com.ext.portlet.reports.model.ReportsEntry reportsEntry) throws SystemException { Session session = null; try { if (reportsEntry.isNew() || reportsEntry.isModified()) { session = openSession(); ...
if (reportsEntryHBM != null) { reportsEntryHBM.setCompanyId(reportsEntry.getCompanyId()); reportsEntryHBM.setUserId(reportsEntry.getUserId()); reportsEntryHBM.setUserName(reportsEntry.getUserName()); reportsEntryHBM.setCreateDate(reportsEntry.getCreateDate()); reportsEntryHBM.setModifiedDate(reportsEntry.getModifiedDat...
if (reportsEntryModel != null) { reportsEntryModel.setCompanyId(reportsEntry.getCompanyId()); reportsEntryModel.setUserId(reportsEntry.getUserId()); reportsEntryModel.setUserName(reportsEntry.getUserName()); reportsEntryModel.setCreateDate(reportsEntry.getCreateDate()); reportsEntryModel.setModifiedDate(reportsEntry.ge...
public com.ext.portlet.reports.model.ReportsEntry update( com.ext.portlet.reports.model.ReportsEntry reportsEntry) throws SystemException { Session session = null; try { if (reportsEntry.isNew() || reportsEntry.isModified()) { session = openSession(); ...
reportsEntryHBM = new ReportsEntryHBM(); reportsEntryHBM.setEntryId(reportsEntry.getEntryId()); reportsEntryHBM.setCompanyId(reportsEntry.getCompanyId()); reportsEntryHBM.setUserId(reportsEntry.getUserId()); reportsEntryHBM.setUserName(reportsEntry.getUserName()); reportsEntryHBM.setCreateDate(reportsEntry.getCreateDat...
reportsEntryModel = new ReportsEntry(); reportsEntryModel.setEntryId(reportsEntry.getEntryId()); reportsEntryModel.setCompanyId(reportsEntry.getCompanyId()); reportsEntryModel.setUserId(reportsEntry.getUserId()); reportsEntryModel.setUserName(reportsEntry.getUserName()); reportsEntryModel.setCreateDate(reportsEntry.get...
public com.ext.portlet.reports.model.ReportsEntry update( com.ext.portlet.reports.model.ReportsEntry reportsEntry) throws SystemException { Session session = null; try { if (reportsEntry.isNew() || reportsEntry.isModified()) { session = openSession(); ...
ResourceLocalServiceUtil.deleteResource( user.getCompanyId(), User.class.getName(), Resource.TYPE_CLASS, Resource.SCOPE_INDIVIDUAL, user.getPrimaryKey().toString());
public void deleteUser(String userId) throws PortalException, SystemException { userId = userId.trim().toLowerCase(); if (!GetterUtil.getBoolean(PropsUtil.get(PropsUtil.USERS_DELETE))) { throw new RequiredUserException(); } User user = UserUtil.findByPrimaryKey(userId); // Group Group group = user.getGroup();...
setModified(true);
public void setFormat(String format) { if (((format == null) && (_format != null)) || ((format != null) && (_format == null)) || ((format != null) && (_format != null) && !format.equals(_format))) { if (!XSS_ALLOW_FORMAT) { format = XSSUtil.strip(format); } _format = format; setModified(true); } ...
setModified(true);
public void setHead(boolean head) { if (head != _head) { _head = head; setModified(true); } }
if (mbDiscussion.isNew() || mbDiscussion.isModified()) { session = openSession(); if (mbDiscussion.isNew()) { MBDiscussion mbDiscussionModel = new MBDiscussion(); mbDiscussionModel.setDiscussionId(mbDiscussion.getDiscussionId()); mbDiscussionModel.setClassName(mbDiscussion.getClassName()); mbDiscussionModel.setClassPK...
session = openSession(); session.saveOrUpdate(mbDiscussion); session.flush(); mbDiscussion.setNew(false);
public com.liferay.portlet.messageboards.model.MBDiscussion update( com.liferay.portlet.messageboards.model.MBDiscussion mbDiscussion) throws SystemException { Session session = null; try { if (mbDiscussion.isNew() || mbDiscussion.isModified()) { session = openSession(); if (mbDiscussion.isNew()) { MBD...
ActionRequest req, String userId) {
HttpServletRequest req, String userId) {
public static String getUpdateUserPassword( ActionRequest req, String userId) { ActionRequestImpl reqImpl = (ActionRequestImpl)req; return getUpdateUserPassword(reqImpl.getHttpServletRequest(), userId); }
ActionRequestImpl reqImpl = (ActionRequestImpl)req;
String password = PortalUtil.getUserPassword(req);
public static String getUpdateUserPassword( ActionRequest req, String userId) { ActionRequestImpl reqImpl = (ActionRequestImpl)req; return getUpdateUserPassword(reqImpl.getHttpServletRequest(), userId); }
return getUpdateUserPassword(reqImpl.getHttpServletRequest(), userId);
if (!userId.equals(PortalUtil.getUserId(req))) { password = StringPool.BLANK; } return password;
public static String getUpdateUserPassword( ActionRequest req, String userId) { ActionRequestImpl reqImpl = (ActionRequestImpl)req; return getUpdateUserPassword(reqImpl.getHttpServletRequest(), userId); }